2025-07-03 12:43 ftp://ftp.de.debian.org/debian/pool/main/g/gvm-libs/gvm-libs_22.20.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=libcurl --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 90b0e14 (2025-07-02 15:41:51 +0200) count: 854 942 elapsed-time: 3.9 4.5 head-timing-info: old-timing-info: head results: gvm-libs-22.20.0/base/array_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/array_tests.c:15:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/array_tests.c:21:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/array_tests.c:23:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/drop_privileges.c:69:17: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] gvm-libs-22.20.0/base/hosts_tests.c:13:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:16:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:22:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:29:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:39:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:50:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:70:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:84:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:94:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:116:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:124:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:146:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:155:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:184:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:192:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:205:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/hosts_tests.c:241:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_domain.c:101:58: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/logging_domain.c:117:56: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/logging_domain.c:151:62: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/logging_domain.c:185:67: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/logging_domain.c:220:61: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/logging_domain.c:254:63: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/logging_domain.c:288:60: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/logging_domain.c:321:65: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/logging_domain.c:355:59: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/logging_domain_tests.c:15:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_domain_tests.c:19:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_domain_tests.c:23:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_domain_tests.c:48:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_domain_tests.c:28:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging_domain_tests.c:53:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/cvss.c:958:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/cvss.c:1414:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/cvss.c:1656:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/cvss.c:1787:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging.c:111:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging.c:140:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable facilitynames [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging.c:307:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging.c:454:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging.c:840:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging.c:935:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:63:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:79:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:174:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:284:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:375:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:445:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:550:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:696:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:785:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:1153:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:1795:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:1823:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:1885:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:2294:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts.c:2360:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts_tests.c:24:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts_tests.c:186:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts_tests.c:195:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging_tests.c:15:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_tests.c:19:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_tests.c:23:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_tests.c:69:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_tests.c:97:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_tests.c:129:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_tests.c:195:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_tests.c:236:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_tests.c:260:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_tests.c:301:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/cvss_tests.c:13:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/cvss_tests.c:16:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/cvss_tests.c:20:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/cvss_tests.c:40:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/cvss_tests.c:51:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/cvss_tests.c:59:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/cvss_tests.c:80:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/cvss_tests.c:149:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/cvss_tests.c:185:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/cvss_tests.c:231:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/logging_tests.c:37:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging_tests.c:75:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging_tests.c:99:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_LOCAL0 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging_tests.c:136:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging_tests.c:202:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging_tests.c:248:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging_tests.c:267:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging_tests.c:303:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/logging.c:512:35: style: The if condition is the same as the previous if condition [duplicateCondition] gvm-libs-22.20.0/base/logging.c:462:35: note: First condition gvm-libs-22.20.0/base/logging.c:512:35: note: Second condition gvm-libs-22.20.0/base/logging.c:891:3: error: Memory leak: channel [memleak] gvm-libs-22.20.0/base/logging.c:57:18: style: Parameter 'time_fmt' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/logging.c:452:10: style: Variable 'log_separator' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/logging.c:455:10: style: Variable 'syslog_facility' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/logging.c:456:10: style: Variable 'syslog_ident' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/logging.c:855:15: style: Variable 'channel' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/hosts.c:1372:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.20.0/base/hosts.c:1859:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/base/hosts.c:175:5: error: Memory leak: addr_str [memleak] gvm-libs-22.20.0/base/hosts.c:551:5: error: Memory leak: addr6_str [memleak] gvm-libs-22.20.0/base/hosts.c:1771:33: style:inconclusive: Function 'gvm_host_from_str' argument 1 names different: declaration 'hosts_str' definition 'host_str'. [funcArgNamesDifferent] gvm-libs-22.20.0/base/hosts.h:168:33: note: Function 'gvm_host_from_str' argument 1 names different: declaration 'hosts_str' definition 'host_str'. gvm-libs-22.20.0/base/hosts.c:1771:33: note: Function 'gvm_host_from_str' argument 1 names different: declaration 'hosts_str' definition 'host_str'. gvm-libs-22.20.0/base/hosts.c:426:14: style: Variable 'last' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/hosts.c:1459:28: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/hosts.c:1528:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/hosts.c:1820:38: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/hosts.c:1875:18: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/hosts.c:1907:11: style: Variable 'vhosts' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/logging_tests.c:137:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gvm-libs-22.20.0/base/logging_tests.c:135:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/logging_tests.c:135:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.20.0/base/logging_tests.c:137:12: note: Null pointer dereference gvm-libs-22.20.0/base/logging_tests.c:145:11: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gvm-libs-22.20.0/base/logging_tests.c:135:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/logging_tests.c:135:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.20.0/base/logging_tests.c:145:11: note: Null pointer dereference gvm-libs-22.20.0/base/logging_tests.c:204:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gvm-libs-22.20.0/base/logging_tests.c:201:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/logging_tests.c:201:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.20.0/base/logging_tests.c:204:12: note: Null pointer dereference gvm-libs-22.20.0/base/logging_tests.c:210:11: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gvm-libs-22.20.0/base/logging_tests.c:201:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/logging_tests.c:201:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.20.0/base/logging_tests.c:210:11: note: Null pointer dereference gvm-libs-22.20.0/base/logging_tests.c:269:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gvm-libs-22.20.0/base/logging_tests.c:266:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/logging_tests.c:266:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.20.0/base/logging_tests.c:269:12: note: Null pointer dereference gvm-libs-22.20.0/base/logging_tests.c:275:11: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gvm-libs-22.20.0/base/logging_tests.c:266:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/logging_tests.c:266:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.20.0/base/logging_tests.c:275:11: note: Null pointer dereference gvm-libs-22.20.0/base/networking_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/networking_tests.c:16:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/networking_tests.c:20:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/networking_tests.c:848:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/networking_tests.c:906:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/networking_tests.c:954:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/networking_tests.c:1065:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/networking_tests.c:1117:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/networking_tests.c:1179:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/networking.c:70:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:138:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:213:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:227:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:251:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:266:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:286:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:303:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:348:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:394:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:445:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:524:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:758:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:779:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN6ADDR_ANY_INIT [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:896:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:1008:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:1129:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:1182:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:1222:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/nvti.c:313:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking_tests.c:14:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loose_mocks [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking_tests.c:862:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking_tests.c:916:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking_tests.c:960:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking_tests.c:1100:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_STATUS_NORMAL [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking_tests.c:1125:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking_tests.c:1186:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/hosts_tests.c:254:11: style: Variable 'removed' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.20.0/base/hosts_tests.c:250:11: note: removed is assigned gvm-libs-22.20.0/base/hosts_tests.c:254:11: note: removed is overwritten gvm-libs-22.20.0/base/hosts_tests.c:208:15: style: Variable 'host' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/hosts_tests.c:244:15: style: Variable 'host' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/nvti_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:15:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:21:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:28:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:47:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:63:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:78:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:93:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:104:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:109:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:123:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:151:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:165:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:178:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/nvti_tests.c:23:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/nvti_tests.c:99:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/nvti_tests.c:106:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/nvti_tests.c:116:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/nvti_tests.c:145:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/nvti.c:770:12: style: Variable 'ref' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/nvti.c:875:21: style: Variable 'severity' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/cvss.c:606:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gvm-libs-22.20.0/base/cvss.c:617:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gvm-libs-22.20.0/base/pidfile.c:57:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/cvss.c:1789:51: warning: Either the condition 'vec==NULL' is redundant or there is possible null pointer dereference: vec. [nullPointerRedundantCheck] gvm-libs-22.20.0/base/cvss.c:1790:11: note: Assuming that condition 'vec==NULL' is not redundant gvm-libs-22.20.0/base/cvss.c:1789:51: note: Null pointer dereference gvm-libs-22.20.0/base/cvss.c:1796:59: warning: Either the condition 'macrovector==NULL' is redundant or there is possible null pointer dereference: macrovector. [nullPointerRedundantCheck] gvm-libs-22.20.0/base/cvss.c:1797:19: note: Assuming that condition 'macrovector==NULL' is not redundant gvm-libs-22.20.0/base/cvss.c:1796:59: note: Null pointer dereference gvm-libs-22.20.0/base/cvss.c:561:32: style: Parameter 'cvss' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/base/cvss.c:607:13: style: Variable 'metric_name' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/cvss.c:608:13: style: Variable 'metric_value' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/cvss.c:983:27: style: Variable 'metric_def' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/prefs.c:121:10: style: Variable 'str' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/pwpolicy.c:200:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/pwpolicy.c:266:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/pwpolicy.c:352:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVM_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/pwpolicy_tests.c:15:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/pwpolicy_tests.c:19:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/pwpolicy_tests.c:25:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/pwpolicy_tests.c:37:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/pwpolicy_tests.c:50:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/settings.c:56:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/pwpolicy_tests.c:32:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/pwpolicy_tests.c:44:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/pwpolicy_tests.c:57:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:69:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gvm-libs-22.20.0/base/networking.c:142:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gvm-libs-22.20.0/base/networking.c:154:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gvm-libs-22.20.0/base/networking.c:347:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gvm-libs-22.20.0/base/networking.c:397:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gvm-libs-22.20.0/base/version.c:17:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVM_LIBS_VERSION [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/networking.c:796:18: style: Condition 'addr_p==NULL' is always false [knownConditionTrueFalse] gvm-libs-22.20.0/base/networking.c:1290:12: warning: Either the condition '!target_addr' is redundant or there is possible null pointer dereference: target_addr. [nullPointerRedundantCheck] gvm-libs-22.20.0/base/networking.c:1292:7: note: Assuming that condition '!target_addr' is not redundant gvm-libs-22.20.0/base/networking.c:1290:12: note: Null pointer dereference gvm-libs-22.20.0/base/networking.c:89:31: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:97:36: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:305:27: style: Variable 'saddr' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:367:32: style: Variable 'addrin' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:416:35: style: Variable 'addrin' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:421:36: style: Variable 'addrin' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:487:14: style: Variable 'hyphen' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:737:16: style: Variable 'range' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:778:19: style: Variable 'addr_p' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:781:23: style: Variable 'sin_p' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:782:24: style: Variable 'sin6_p' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:832:27: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:1043:31: style: Variable 'sin_dest_p' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/networking.c:1227:27: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/base/version_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/version_tests.c:15:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/version_tests.c:19:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/base/version_tests.c:21:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVM_LIBS_VERSION [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/base/pwpolicy.c:394:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gvm-libs-22.20.0/boreas/alivedetection.c:62:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] gvm-libs-22.20.0/boreas/alivedetection_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/alivedetection_tests.c:15:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/alivedetection_tests.c:19:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/arp.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNET_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/arp.c:189:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPOP_REQUEST [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/arp.c:221:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNET_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/arp.c:287:11: style: The if condition is the same as the previous if condition [duplicateCondition] gvm-libs-22.20.0/boreas/arp.c:282:11: note: First condition gvm-libs-22.20.0/boreas/arp.c:287:11: note: Second condition gvm-libs-22.20.0/boreas/arp.c:222:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/boreas/alivedetection.c:62:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/alivedetection.c:324:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/alivedetection.c:453:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/alivedetection.c:496:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/boreas_error_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/boreas_error_tests.c:15:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/boreas_error_tests.c:19:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/boreas_io.c:110:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/boreas_io.c:148:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/boreas_io.c:224:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/boreas_io.c:282:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/boreas_io.c:305:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/boreas_io.c:421:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/boreas_io.c:473:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/boreas_io_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/boreas_io_tests.c:15:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/boreas_io_tests.c:19:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/boreas_io.c:219:35: style: Parameter 'addr_str' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/boreas/cli_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/cli_tests.c:15:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/cli_tests.c:19:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/cli.c:117:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/cli.c:126:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/cli.c:135:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/cli.c:143:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/cli.c:161:10: warning: Identical condition and return expression 'error', return value is always 0 [identicalConditionAfterEarlyExit] gvm-libs-22.20.0/boreas/cli.c:108:7: note: If condition 'error' is true, the function will return/exit gvm-libs-22.20.0/boreas/cli.c:161:10: note: Returning identical expression 'error' gvm-libs-22.20.0/boreas/alivedetection.c:192:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/alivedetection.c:202:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/alivedetection.c:212:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/alivedetection.c:523:25: style: Condition 'scan(alive_test)<0' is always false [knownConditionTrueFalse] gvm-libs-22.20.0/boreas/alivedetection.c:523:12: note: Calling function 'scan' returns 0 gvm-libs-22.20.0/boreas/alivedetection.c:523:25: note: Condition 'scan(alive_test)<0' is always false gvm-libs-22.20.0/boreas/alivedetection.c:118:22: style: Variable 'curr_alive' is assigned a value that is never used. [unreadVariable] gvm-libs-22.20.0/boreas/ping_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/ping_tests.c:15:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/ping_tests.c:19:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/sniffer_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/sniffer_tests.c:15:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/sniffer_tests.c:19:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/sniffer.c:61:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/sniffer.c:132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/sniffer.c:203:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/sniffer.c:234:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/sniffer.c:289:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/ping.c:82:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/ping.c:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCOUTQ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/ping.c:165:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/ping.c:208:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_ECHO [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/ping.c:276:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/ping.c:319:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip6_hdr [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/ping.c:425:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/ping.c:541:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/ping.c:584:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/sniffer.c:241:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/sniffer.c:83:13: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/boreas/sniffer.c:91:13: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/boreas/sniffer.c:119:14: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/boreas/sniffer.c:165:22: style: Variable 'arp' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/boreas/util.c:605:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] gvm-libs-22.20.0/boreas/util_tests.c:13:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/util_tests.c:16:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/util_tests.c:70:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/util_tests.c:80:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/util_tests.c:93:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/util_tests.c:125:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/util_tests.c:146:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/util_tests.c:171:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/util_tests.c:197:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/boreas/util.c:98:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/util.c:150:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/util.c:221:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/util.c:323:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/util.c:392:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/util.c:420:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/util.c:605:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/util.c:631:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCOUTQ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/util_tests.c:156:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/util_tests.c:182:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/util_tests.c:208:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/boreas/util.c:657:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/util.c:87:28: style: Parameter 'interface' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/boreas/util.c:112:43: style: Variable 's' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/boreas/util.c:119:39: style: Variable 's' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/boreas/util.c:143:53: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/boreas/util.c:214:52: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/boreas/util.c:313:38: style: Parameter 'scanner' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/boreas/util.c:143:53: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'get_source_addr_v6' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/boreas/util_tests.c:248:39: note: You might need to cast the function pointer here gvm-libs-22.20.0/boreas/util.c:143:53: note: Parameter 'dst' can be declared as pointer to const gvm-libs-22.20.0/boreas/util.c:214:52: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'get_source_addr_v4' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/boreas/util_tests.c:247:39: note: You might need to cast the function pointer here gvm-libs-22.20.0/boreas/util.c:214:52: note: Parameter 'dst' can be declared as pointer to const gvm-libs-22.20.0/boreas/ping.c:108:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/ping.c:120:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/ping.c:124:15: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/ping.c:273:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/ping.c:292:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/ping.c:538:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/ping.c:581:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/boreas/ping.c:344:39: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gvm-libs-22.20.0/boreas/ping.c:344:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gvm-libs-22.20.0/boreas/ping.c:542:14: style: Condition 'dst6_p==NULL' is always false [knownConditionTrueFalse] gvm-libs-22.20.0/boreas/ping.c:585:14: style: Condition 'dst6_p==NULL' is always false [knownConditionTrueFalse] gvm-libs-22.20.0/boreas/ping.c:142:41: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/boreas/ping.c:193:40: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/boreas/ping.c:314:11: style: Variable 'ports' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/boreas/ping.c:421:11: style: Variable 'ports' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/http/httputils.c:135:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_URL [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils.c:314:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLINFO_RESPONSE_CODE [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils.c:504:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils.c:531:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLMSG_DONE [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/gmp/gmp.c:99:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/gmp/gmp.c:146:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/gmp/gmp.c:1242:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/gmp/gmp.c:1465:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils.c:51:28: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'store_response_data' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/http/httputils.c:136:50: note: You might need to cast the function pointer here gvm-libs-22.20.0/http/httputils.c:51:28: note: Parameter 'ptr' can be declared as pointer to const gvm-libs-22.20.0/http/httputils.c:127:58: style: Parameter 'headers' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/http/httputils_test.c:13:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:18:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:23:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:36:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:41:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:48:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:58:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:63:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:69:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:74:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:87:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:92:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:98:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:107:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:118:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:123:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:128:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:141:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/http/httputils_test.c:29:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_true [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils_test.c:43:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils_test.c:51:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils_test.c:82:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils_test.c:94:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils_test.c:100:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils_test.c:109:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils_test.c:120:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils_test.c:130:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/http/httputils_test.c:143:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:233:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:302:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:385:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:469:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:538:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:623:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:664:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:855:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:899:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:1016:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:1130:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:1164:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:1185:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:1205:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:1245:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:1305:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:1487:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:1701:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cJSON_True [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:1814:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd_tests.c:15:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/openvasd/openvasd_tests.c:19:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/openvasd/openvasd_tests.c:25:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/openvasd/openvasd_tests.c:74:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/gmp/gmp.c:1639:5: error: Memory leak: snmp [memleak] gvm-libs-22.20.0/gmp/gmp.c:1645:5: error: Memory leak: snmp [memleak] gvm-libs-22.20.0/gmp/gmp.c:1646:3: error: Memory leak: snmp [memleak] gvm-libs-22.20.0/gmp/gmp.c:425:7: error: Memory leak: opts.timezone [memleak] gvm-libs-22.20.0/gmp/gmp.c:425:7: error: Memory leak: opts.role [memleak] gvm-libs-22.20.0/gmp/gmp.c:425:7: error: Memory leak: opts.pw_warning [memleak] gvm-libs-22.20.0/gmp/gmp.c:513:7: error: Memory leak: opts.timezone [memleak] gvm-libs-22.20.0/gmp/gmp.c:513:7: error: Memory leak: opts.role [memleak] gvm-libs-22.20.0/gmp/gmp.c:513:7: error: Memory leak: opts.pw_warning [memleak] gvm-libs-22.20.0/gmp/gmp.c:48:27: style:inconclusive: Function 'gmp_task_status' argument 1 names different: declaration 'status_response' definition 'response'. [funcArgNamesDifferent] gvm-libs-22.20.0/gmp/gmp.h:281:27: note: Function 'gmp_task_status' argument 1 names different: declaration 'status_response' definition 'response'. gvm-libs-22.20.0/gmp/gmp.c:48:27: note: Function 'gmp_task_status' argument 1 names different: declaration 'status_response' definition 'response'. gvm-libs-22.20.0/gmp/gmp.c:644:17: style: Variable 'alert' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/gmp/gmp.c:663:21: style: Variable 'group' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/boreas/ping.c:40:10: style: struct member 'v6pseudohdr::zero1' is never used. [unusedStructMember] gvm-libs-22.20.0/boreas/ping.c:41:10: style: struct member 'v6pseudohdr::zero2' is never used. [unusedStructMember] gvm-libs-22.20.0/boreas/ping.c:42:10: style: struct member 'v6pseudohdr::zero3' is never used. [unusedStructMember] gvm-libs-22.20.0/boreas/ping.c:51:10: style: struct member 'pseudohdr::zero' is never used. [unusedStructMember] gvm-libs-22.20.0/openvasd/vtparser_tests.c:67:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/openvasd/vtparser_tests.c:71:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/openvasd/vtparser_tests.c:82:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/openvasd/vtparser.c:158:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/vtparser.c:180:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/vtparser.c:203:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/vtparser.c:259:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/vtparser_tests.c:90:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/vtparser.c:160:11: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.20.0/openvasd/vtparser.c:81:14: style: Variable 'severity_vector' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/openvasd/openvasd.c:199:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.20.0/openvasd/openvasd.c:218:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.20.0/openvasd/openvasd.c:782:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.20.0/openvasd/openvasd.c:1886:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.20.0/openvasd/openvasd.c:668:3: error: Memory leak: response [memleak] gvm-libs-22.20.0/openvasd/openvasd.c:1236:3: error: Memory leak: response [memleak] gvm-libs-22.20.0/openvasd/openvasd.c:620:7: error: Null pointer dereference: response [nullPointer] gvm-libs-22.20.0/openvasd/openvasd.c:608:30: note: Assignment 'response=NULL', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:620:7: note: Null pointer dereference gvm-libs-22.20.0/openvasd/openvasd.c:621:7: error: Null pointer dereference: response [nullPointer] gvm-libs-22.20.0/openvasd/openvasd.c:608:30: note: Assignment 'response=NULL', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:621:7: note: Null pointer dereference gvm-libs-22.20.0/openvasd/openvasd.c:1127:7: error: Null pointer dereference: response [nullPointer] gvm-libs-22.20.0/openvasd/openvasd.c:1115:30: note: Assignment 'response=NULL', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:1127:7: note: Null pointer dereference gvm-libs-22.20.0/openvasd/openvasd.c:1128:7: error: Null pointer dereference: response [nullPointer] gvm-libs-22.20.0/openvasd/openvasd.c:1115:30: note: Assignment 'response=NULL', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:1128:7: note: Null pointer dereference gvm-libs-22.20.0/tests/test-hosts.c:66:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/osp/osp.c:151:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/osp/osp.c:336:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/osp/osp.c:517:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/osp/osp.c:576:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/osp/osp.c:1674:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/openvasd/openvasd.c:524:56: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/openvasd/openvasd.c:1355:38: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/openvasd/openvasd.c:1369:40: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/openvasd/openvasd.c:1383:40: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/openvasd/openvasd.c:1397:40: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/openvasd/openvasd.c:1411:43: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/openvasd/openvasd.c:1425:45: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/tests/test-hosts.c:25:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/tests/test-hosts.c:28:20: style: Variable 'vhost' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/osp/osp_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/osp/osp_tests.c:15:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/osp/osp_tests.c:19:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/osp/osp_tests.c:24:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/osp/osp_tests.c:29:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/osp/osp_tests.c:35:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/osp/osp_tests.c:40:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/osp/osp_tests.c:56:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/authutils.c:119:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYCTL_ANY_INITIALIZATION_P [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/authutils.c:213:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD5 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/authutils.c:252:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD5 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/authutils.c:275:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD5 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/authutils.c:95:31: error: Array 'authentication_methods[4]' accessed at index 999, which is out of bounds. [arrayIndexOutOfBounds] gvm-libs-22.20.0/util/authutils.c:94:17: note: Assuming that condition 'i<1000' is not redundant gvm-libs-22.20.0/util/authutils.c:95:31: note: Array index out of bounds gvm-libs-22.20.0/util/compressutils_tests.c:13:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/compressutils_tests.c:17:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/compressutils_tests.c:21:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/compressutils_tests.c:39:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/compressutils_tests.c:61:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/compressutils_tests.c:83:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/compressutils_tests.c:29:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/compressutils_tests.c:47:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/compressutils_tests.c:74:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/compressutils_tests.c:95:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/osp/osp_tests.c:21:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/osp/osp_tests.c:26:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/compressutils_tests.c:80:24: error: Dereferencing 'stream' after it is deallocated / released [deallocuse] gvm-libs-22.20.0/util/compressutils_tests.c:104:24: error: Dereferencing 'stream' after it is deallocated / released [deallocuse] gvm-libs-22.20.0/util/compressutils_tests.c:65:9: style: Variable 'compressed' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/compressutils_tests.c:87:9: style: Variable 'compressed' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/cpeutils_tests.c:16:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/cpeutils_tests.c:22:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/cpeutils_tests.c:108:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/cpeutils_tests.c:135:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/cpeutils_tests.c:154:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/cpeutils_tests.c:175:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/cpeutils_tests.c:197:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/cpeutils_tests.c:257:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/cpeutils_tests.c:284:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/fileutils.c:51:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/fileutils.c:185:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/fileutils.c:220:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/fileutils.c:294:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/fileutils.c:278:45: style: Variable 'modification_time_str' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/fileutils.c:284:9: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/osp/osp.c:1326:3: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] gvm-libs-22.20.0/osp/osp.c:379:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] gvm-libs-22.20.0/osp/osp.c:377:7: note: outer condition: self_test_error_msg gvm-libs-22.20.0/osp/osp.c:379:11: note: identical inner condition: self_test_error_msg gvm-libs-22.20.0/osp/osp.c:389:12: warning: Either the condition 'self_test_error_msg' is redundant or there is possible null pointer dereference: self_test_error_msg. [nullPointerRedundantCheck] gvm-libs-22.20.0/osp/osp.c:379:11: note: Assuming that condition 'self_test_error_msg' is not redundant gvm-libs-22.20.0/osp/osp.c:389:12: note: Null pointer dereference gvm-libs-22.20.0/osp/osp.c:1294:12: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gvm-libs-22.20.0/osp/osp.c:1269:23: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1269:23: note: Assignment 'file=fdopen(fd,"w")', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1294:12: note: Null pointer dereference gvm-libs-22.20.0/osp/osp.c:1321:12: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gvm-libs-22.20.0/osp/osp.c:1269:23: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1269:23: note: Assignment 'file=fdopen(fd,"w")', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1321:12: note: Null pointer dereference gvm-libs-22.20.0/osp/osp.c:1323:11: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gvm-libs-22.20.0/osp/osp.c:1269:23: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1269:23: note: Assignment 'file=fdopen(fd,"w")', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1323:11: note: Null pointer dereference gvm-libs-22.20.0/util/gpgmeutils.c:51:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPG_ERR_SOURCE_ANY [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/gpgmeutils.c:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/gpgmeutils.c:181:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPGME_DATA_TYPE_INVALID [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/gpgmeutils.c:269:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpgme_data_type_t [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/gpgmeutils.c:318:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/gpgmeutils.c:432:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPGME_PINENTRY_MODE_CANCEL [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/gpgmeutils.c:522:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/gpgmeutils.c:646:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPGME_DATA_TYPE_PGP_KEY [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/gpgmeutils.c:679:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpgme_data_type_t [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/gpgmeutils.c:439:3: error: Memory leak: trustlist_filename [memleak] gvm-libs-22.20.0/util/gpgmeutils.c:439:3: error: Memory leak: trustlist_content [memleak] gvm-libs-22.20.0/util/gpgmeutils.c:441:3: error: Memory leak: trustlist_filename [memleak] gvm-libs-22.20.0/util/gpgmeutils.c:441:3: error: Memory leak: trustlist_content [memleak] gvm-libs-22.20.0/util/json_tests.c:13:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:16:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:22:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:43:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:54:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:67:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:77:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:87:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:97:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:111:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:123:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:137:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:149:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:161:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:175:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:185:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:195:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:205:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/json_tests.c:30:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:49:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:60:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:72:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:82:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:92:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:103:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:117:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:129:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:143:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:155:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:167:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:180:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:190:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:200:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/json_tests.c:211:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull.c:138:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull.c:320:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cJSON_IsString [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull.c:361:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cJSON_IsNumber [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:14:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:17:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:76:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:89:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:103:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:117:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:130:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:143:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:156:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:169:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:182:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:197:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:218:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:248:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:263:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:284:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:310:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:384:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:467:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:520:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:532:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:543:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:553:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:564:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:575:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:585:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:595:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:607:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:618:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:628:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:640:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:651:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:663:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:677:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:691:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:703:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:716:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:731:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:744:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:759:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:771:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:783:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:796:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:809:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:822:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:834:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:846:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:858:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:870:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:882:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:895:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:908:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:922:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:937:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:951:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:963:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:976:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:990:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:1009:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:1026:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:1044:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:1061:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:1078:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull_tests.c:1094:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/cpeutils.c:781:3: error: Mismatching allocation and deallocation: edition [mismatchAllocDealloc] gvm-libs-22.20.0/util/cpeutils.c:728:15: note: Mismatching allocation and deallocation: edition gvm-libs-22.20.0/util/cpeutils.c:781:3: note: Mismatching allocation and deallocation: edition gvm-libs-22.20.0/util/cpeutils.c:783:3: error: Mismatching allocation and deallocation: sw_edition [mismatchAllocDealloc] gvm-libs-22.20.0/util/cpeutils.c:737:22: note: Mismatching allocation and deallocation: sw_edition gvm-libs-22.20.0/util/cpeutils.c:783:3: note: Mismatching allocation and deallocation: sw_edition gvm-libs-22.20.0/util/cpeutils.c:785:3: error: Mismatching allocation and deallocation: target_sw [mismatchAllocDealloc] gvm-libs-22.20.0/util/cpeutils.c:749:21: note: Mismatching allocation and deallocation: target_sw gvm-libs-22.20.0/util/cpeutils.c:785:3: note: Mismatching allocation and deallocation: target_sw gvm-libs-22.20.0/util/cpeutils.c:787:3: error: Mismatching allocation and deallocation: target_hw [mismatchAllocDealloc] gvm-libs-22.20.0/util/cpeutils.c:761:21: note: Mismatching allocation and deallocation: target_hw gvm-libs-22.20.0/util/cpeutils.c:787:3: note: Mismatching allocation and deallocation: target_hw gvm-libs-22.20.0/util/cpeutils.c:789:3: error: Mismatching allocation and deallocation: other [mismatchAllocDealloc] gvm-libs-22.20.0/util/cpeutils.c:773:17: note: Mismatching allocation and deallocation: other gvm-libs-22.20.0/util/cpeutils.c:789:3: note: Mismatching allocation and deallocation: other gvm-libs-22.20.0/util/cpeutils.c:560:8: warning: Either the condition 'component_end==0' is redundant or there is possible null pointer dereference: component_start. [nullPointerRedundantCheck] gvm-libs-22.20.0/util/cpeutils.c:570:57: note: Assuming that condition 'component_end==0' is not redundant gvm-libs-22.20.0/util/cpeutils.c:568:19: note: Assignment to 'component_end=c' gvm-libs-22.20.0/util/cpeutils.c:557:19: note: component_start is assigned 'c' here. gvm-libs-22.20.0/util/cpeutils.c:560:8: note: Null pointer dereference gvm-libs-22.20.0/util/cpeutils.c:564:34: warning: Either the condition 'component_end==0' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] gvm-libs-22.20.0/util/cpeutils.c:570:57: note: Assuming that condition 'component_end==0' is not redundant gvm-libs-22.20.0/util/cpeutils.c:568:19: note: Assignment to 'component_end=c' gvm-libs-22.20.0/util/cpeutils.c:564:34: note: Null pointer dereference gvm-libs-22.20.0/util/cpeutils.c:1205:13: style: Redundant assignment of 'cpe->part' to itself. [selfAssignment] gvm-libs-22.20.0/util/cpeutils.c:568:17: style: Variable 'component_end' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.20.0/util/cpeutils.c:561:19: note: component_end is assigned gvm-libs-22.20.0/util/cpeutils.c:568:17: note: component_end is overwritten gvm-libs-22.20.0/util/cpeutils.c:851:17: style: Variable 'component_end' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.20.0/util/cpeutils.c:837:19: note: component_end is assigned gvm-libs-22.20.0/util/cpeutils.c:851:17: note: component_end is overwritten gvm-libs-22.20.0/util/cpeutils_tests.c:25:9: style: Variable 'uri_cpe' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils_tests.c:111:9: style: Variable 'fs_cpe' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils_tests.c:177:9: style: Variable 'uri_cpe' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils_tests.c:199:9: style: Variable 'fs_cpe' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils_tests.c:260:9: style: Variable 'fs_cpe1' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils_tests.c:260:19: style: Variable 'fs_cpe2' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils.c:540:27: style: Variable 'component_end' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils.c:589:9: style: Variable 'escapes' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils.c:805:27: style: Variable 'component_end' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils.c:1295:33: style: Parameter 'source' can be declared as pointer to const. However it seems that 'cpe_struct_match' is a callback function, if 'source' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/util/cpeutils_tests.c:310:43: note: You might need to cast the function pointer here gvm-libs-22.20.0/util/cpeutils.c:1295:33: note: Parameter 'source' can be declared as pointer to const gvm-libs-22.20.0/util/cpeutils.c:1295:55: style: Parameter 'target' can be declared as pointer to const. However it seems that 'cpe_struct_match' is a callback function, if 'target' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/util/cpeutils_tests.c:310:43: note: You might need to cast the function pointer here gvm-libs-22.20.0/util/cpeutils.c:1295:55: note: Parameter 'target' can be declared as pointer to const gvm-libs-22.20.0/util/cpeutils.c:1350:38: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/cpeutils.c:1350:60: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/cpeutils.c:1590:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils.c:1623:9: style: Variable 'begin_substr' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/cpeutils.c:1507:15: style: Variable 'escapes' is assigned a value that is never used. [unreadVariable] gvm-libs-22.20.0/util/kb.c:86:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:118:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:193:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_STATUS [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:223:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:324:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:363:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECONNREFUSED [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:450:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:488:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:531:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:583:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:671:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_INTEGER [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:822:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_STRING [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:885:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:914:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_STRING [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:970:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_INTEGER [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:998:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ARRAY [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1078:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ARRAY [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1143:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ARRAY [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1178:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ARRAY [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1207:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1259:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1361:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1392:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1432:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1473:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1523:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1552:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1588:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1638:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1708:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1784:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb.c:1819:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/kb_tests.c:17:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/kb_tests.c:21:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/kb_tests.c:27:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/kb_tests.c:36:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/kb_tests.c:45:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/jsonpull.c:779:17: warning: Either the condition 'path_tail' is redundant or there is possible null pointer dereference: path_tail. [nullPointerRedundantCheck] gvm-libs-22.20.0/util/jsonpull.c:766:7: note: Assuming that condition 'path_tail' is not redundant gvm-libs-22.20.0/util/jsonpull.c:779:17: note: Null pointer dereference gvm-libs-22.20.0/util/jsonpull.c:86:26: style: Checking if unsigned expression 'parse_buffer_limit' is less than zero. [unsignedLessThanZero] gvm-libs-22.20.0/util/jsonpull.c:89:24: style: Checking if unsigned expression 'read_buffer_size' is less than zero. [unsignedLessThanZero] gvm-libs-22.20.0/util/jsonpull.c:190:39: style: Checking if unsigned expression 'parser->last_read_size' is less than zero. [unsignedLessThanZero] gvm-libs-22.20.0/util/jsonpull.c:152:64: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/jsonpull.c:238:56: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/jsonpull.c:572:25: style: Variable 'path_elem' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/jsonpull.c:881:54: style: Parameter 'path_elem' can be declared as pointer to const. However it seems that 'gvm_json_path_string_add_elem' is a callback function, if 'path_elem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/util/jsonpull.c:905:34: note: You might need to cast the function pointer here gvm-libs-22.20.0/util/jsonpull.c:881:54: note: Parameter 'path_elem' can be declared as pointer to const gvm-libs-22.20.0/util/cpeutils.c:1295:33: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/cpeutils.c:1295:55: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/ldaputils.c:633:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt_tests.c:21:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/mqtt_tests.c:25:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/mqtt_tests.c:31:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/kb_tests.c:42:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:170:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTCLIENT_SUCCESS [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:214:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:241:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTClient_createOptions_initializer [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:314:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTClient_connectOptions_initializer5 [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:380:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:432:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:452:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTClient_message_initializer [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:95:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_true [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:569:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:109:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_true [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:631:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTSubscribe_options_initializer [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:123:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_true [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:686:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTCLIENT_SUCCESS [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:400:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:754:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTCLIENT_SUCCESS [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:482:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:983:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:1002:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:1019:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:1037:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:1054:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:1071:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:1088:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/jsonpull_tests.c:1104:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt_tests.c:40:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/mqtt.c:449:30: style: Parameter 'mqtt' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/passwordbasedauthentication.c:191:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypt_data [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/passwordbasedauthentication.c:236:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypt_data [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/passwordbasedauthentication.c:144:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:142:19: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:142:19: note: Assignment 'result=malloc(sizeof(struct PBASettings))', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:144:5: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication.c:145:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:142:19: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:142:19: note: Assignment 'result=malloc(sizeof(struct PBASettings))', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:145:3: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication.c:146:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:142:19: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:142:19: note: Assignment 'result=malloc(sizeof(struct PBASettings))', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:146:3: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication.c:196:11: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:195:19: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:195:19: note: Assignment 'result=calloc(1,384)', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:196:11: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication.c:224:11: warning: If memory allocation fails, then there is a possible null pointer dereference: invalid_hash [nullPointerOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:223:31: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:223:31: note: Assignment 'invalid_hash=calloc(1,384)', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:224:11: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication.c:225:11: warning: If memory allocation fails, then there is a possible null pointer dereference: invalid_hash [nullPointerOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:223:31: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:223:31: note: Assignment 'invalid_hash=calloc(1,384)', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:225:11: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication.c:240:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:238:20: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:238:20: note: Assignment 'tmp=calloc(1,384)', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:240:15: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication.c:241:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:238:20: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:238:20: note: Assignment 'tmp=calloc(1,384)', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:241:15: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication.c:244:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:238:20: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:238:20: note: Assignment 'tmp=calloc(1,384)', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:244:22: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication.c:255:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:238:20: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:238:20: note: Assignment 'tmp=calloc(1,384)', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:255:19: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication.c:199:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:195:19: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:195:19: note: Assignment 'result=calloc(1,384)', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:199:16: note: Null pointer addition gvm-libs-22.20.0/util/passwordbasedauthentication.c:215:44: style:inconclusive: Function 'pba_verify_hash' argument 1 names different: declaration 'settings' definition 'setting'. [funcArgNamesDifferent] gvm-libs-22.20.0/util/passwordbasedauthentication.h:70:44: note: Function 'pba_verify_hash' argument 1 names different: declaration 'settings' definition 'setting'. gvm-libs-22.20.0/util/passwordbasedauthentication.c:215:44: note: Function 'pba_verify_hash' argument 1 names different: declaration 'settings' definition 'setting'. gvm-libs-22.20.0/util/passwordbasedauthentication.c:170:49: style: Variable 'rslt' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/kb.c:1267:15: style: Condition 'rep' is always true [knownConditionTrueFalse] gvm-libs-22.20.0/util/kb.c:1295:15: style: Condition 'rep' is always true [knownConditionTrueFalse] gvm-libs-22.20.0/util/kb.c:1481:11: style: Condition 'rep' is always true [knownConditionTrueFalse] gvm-libs-22.20.0/util/kb.c:341:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gvm-libs-22.20.0/util/nvticache.c:209:9: style: Variable 'oid' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:13:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/kb.c:289:12: warning: If memory allocation fails, then there is a possible null pointer dereference: host [nullPointerOutOfMemory] gvm-libs-22.20.0/util/kb.c:288:17: note: Assuming allocation function fails gvm-libs-22.20.0/util/kb.c:288:17: note: Assignment 'host=calloc(1,host_len)', assigned value is 0 gvm-libs-22.20.0/util/kb.c:289:12: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:16:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/kb.c:318:7: warning:inconclusive: Either the condition 'kbr' is redundant or there is possible null pointer dereference: kbr. [nullPointerRedundantCheck] gvm-libs-22.20.0/util/kb.c:1823:7: note: Assuming that condition 'kbr' is not redundant gvm-libs-22.20.0/util/kb.c:1825:20: note: Calling function 'redis_cmd', 1st argument 'kbr' value is 0 gvm-libs-22.20.0/util/kb.c:773:26: note: Calling function 'get_redis_ctx', 1st argument 'kbr' value is 0 gvm-libs-22.20.0/util/kb.c:318:7: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:20:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:25:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:29:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:37:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/kb.c:1086:19: warning: Either the condition '!rep' is redundant or there is possible null pointer dereference: rep. [nullPointerRedundantCheck] gvm-libs-22.20.0/util/kb.c:1095:11: note: Assuming that condition '!rep' is not redundant gvm-libs-22.20.0/util/kb.c:1086:19: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:49:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/kb.c:1089:19: warning: Either the condition '!rep' is redundant or there is possible null pointer dereference: rep. [nullPointerRedundantCheck] gvm-libs-22.20.0/util/kb.c:1095:11: note: Assuming that condition '!rep' is not redundant gvm-libs-22.20.0/util/kb.c:1089:19: note: Null pointer dereference gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:64:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:74:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:85:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:105:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/kb.c:1708:73: warning: Either the condition 'except' is redundant or there is possible null pointer dereference: except. [nullPointerRedundantCheck] gvm-libs-22.20.0/util/kb.c:1745:15: note: Assuming that condition 'except' is not redundant gvm-libs-22.20.0/util/kb.c:1708:73: note: Null pointer dereference gvm-libs-22.20.0/util/kb.c:271:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/radiusutils_tests.c:15:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/radiusutils_tests.c:19:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/radiusutils_tests.c:42:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/serverutils_tests.c:15:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/serverutils_tests.c:19:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/serverutils_tests.c:31:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/kb_tests.c:29:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/kb_tests.c:38:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/kb_tests.c:47:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/serverutils.c:63:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:124:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CERT_INVALID [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:280:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:346:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CLIENT [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:536:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_AGAIN [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:611:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_INTERRUPTED [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:678:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:992:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYCTL_ENABLE_QUICK_RANDOM [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:1029:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:1093:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:1186:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:1244:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_dh_params_t [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils.c:1280:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/sshutils.c:47:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/passwordbasedauthentication_tests.c:108:9: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/serverutils_tests.c:26:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_SUCCESS [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/serverutils_tests.c:47:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_PK_RSA [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/uuidutils.c:39:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/versionutils_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/versionutils_tests.c:16:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/versionutils_tests.c:22:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/versionutils.c:358:16: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/versionutils_tests.c:24:9: style: Variable 'version1' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/versionutils_tests.c:24:20: style: Variable 'version2' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/serverutils.c:539:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.20.0/util/serverutils.c:539:21: warning: Invalid usleep() argument nr 1. The value is 5000000 but the valid values are '0:999999'. [invalidFunctionArg] gvm-libs-22.20.0/util/serverutils.c:1145:47: style: Parameter 'ca_cert_file' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/serverutils.c:1145:68: style: Parameter 'cert_file' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/serverutils.c:1146:24: style: Parameter 'key_file' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/xmlutils_tests.c:12:1: portability: Omitted return type of function 'BeforeEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:15:1: portability: Omitted return type of function 'AfterEach' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:21:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:38:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:52:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:69:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:87:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:132:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:167:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:184:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:198:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:215:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:235:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:278:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:313:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:367:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:445:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:472:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils_tests.c:488:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gvm-libs-22.20.0/util/xmlutils.c:379:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:518:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:764:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:911:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:1045:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:1808:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:1884:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:1965:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:2003:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBXML_TEST_VERSION [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:2050:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:2211:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:2231:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:2398:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_SAX2_MAGIC [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:2881:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBXML_TEST_VERSION [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils_tests.c:123:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils_tests.c:147:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils_tests.c:271:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils_tests.c:307:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils_tests.c:358:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils_tests.c:457:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils_tests.c:482:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.20.0/util/xmlutils.c:243:15: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] gvm-libs-22.20.0/util/xmlutils.c:241:24: note: outer condition: *values gvm-libs-22.20.0/util/xmlutils.c:243:15: note: identical inner condition: *values gvm-libs-22.20.0/util/xmlutils.c:971:27: style: Condition 'timeout>0' is always false [knownConditionTrueFalse] gvm-libs-22.20.0/util/xmlutils.c:950:27: note: Assuming that condition 'timeout>0' is not redundant gvm-libs-22.20.0/util/xmlutils.c:971:27: note: Condition 'timeout>0' is always false gvm-libs-22.20.0/util/xmlutils.c:1138:27: style: Condition 'timeout>0' is always false [knownConditionTrueFalse] gvm-libs-22.20.0/util/xmlutils.c:1111:27: note: Assuming that condition 'timeout>0' is not redundant gvm-libs-22.20.0/util/xmlutils.c:1138:27: note: Condition 'timeout>0' is always false gvm-libs-22.20.0/util/xmlutils.c:3028:46: style: Condition 'continue_read==0' is always false [knownConditionTrueFalse] gvm-libs-22.20.0/util/xmlutils.c:1546:7: error: Memory leak: xml_context [memleak] gvm-libs-22.20.0/util/xmlutils.c:1560:11: error: Memory leak: xml_context [memleak] gvm-libs-22.20.0/util/xmlutils.c:1564:7: error: Memory leak: xml_context [memleak] gvm-libs-22.20.0/util/xmlutils.c:1571:3: error: Memory leak: xml_context [memleak] gvm-libs-22.20.0/util/xmlutils.c:1702:48: style:inconclusive: Function 'print_entity_format' argument 2 names different: declaration 'indentation' definition 'indent'. [funcArgNamesDifferent] gvm-libs-22.20.0/util/xmlutils.h:98:41: note: Function 'print_entity_format' argument 2 names different: declaration 'indentation' definition 'indent'. gvm-libs-22.20.0/util/xmlutils.c:1702:48: note: Function 'print_entity_format' argument 2 names different: declaration 'indentation' definition 'indent'. gvm-libs-22.20.0/util/xmlutils.c:477:53: style: Parameter 'error' can be declared as pointer to const. However it seems that 'handle_error' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/util/xmlutils.c:1524:22: note: You might need to cast the function pointer here gvm-libs-22.20.0/util/xmlutils.c:477:53: note: Parameter 'error' can be declared as pointer to const gvm-libs-22.20.0/util/xmlutils.c:1594:45: style: Parameter 'name' can be declared as pointer to const. However it seems that 'foreach_print_attribute_to_string' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/util/xmlutils.c:1617:47: note: You might need to cast the function pointer here gvm-libs-22.20.0/util/xmlutils.c:1594:45: note: Parameter 'name' can be declared as pointer to const gvm-libs-22.20.0/util/xmlutils.c:1647:35: style: Parameter 'name' can be declared as pointer to const. However it seems that 'foreach_print_attribute' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/util/xmlutils.c:1664:47: note: You might need to cast the function pointer here gvm-libs-22.20.0/util/xmlutils.c:1647:35: note: Parameter 'name' can be declared as pointer to const gvm-libs-22.20.0/util/xmlutils.c:1647:50: style: Parameter 'value' can be declared as pointer to const. However it seems that 'foreach_print_attribute' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/util/xmlutils.c:1664:47: note: You might need to cast the function pointer here gvm-libs-22.20.0/util/xmlutils.c:1647:50: note: Parameter 'value' can be declared as pointer to const gvm-libs-22.20.0/util/xmlutils.c:1684:42: style: Parameter 'name' can be declared as pointer to const. However it seems that 'foreach_print_attribute_format' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/util/xmlutils.c:1713:47: note: You might need to cast the function pointer here gvm-libs-22.20.0/util/xmlutils.c:1684:42: note: Parameter 'name' can be declared as pointer to const gvm-libs-22.20.0/util/xmlutils.c:1684:57: style: Parameter 'value' can be declared as pointer to const. However it seems that 'foreach_print_attribute_format' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/util/xmlutils.c:1713:47: note: You might need to cast the function pointer here gvm-libs-22.20.0/util/xmlutils.c:1684:57: note: Parameter 'value' can be declared as pointer to const gvm-libs-22.20.0/util/xmlutils.c:1743:48: style: Parameter 'value' can be declared as pointer to const. However it seems that 'compare_find_attribute' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvm-libs-22.20.0/util/xmlutils.c:1790:51: note: You might need to cast the function pointer here gvm-libs-22.20.0/util/xmlutils.c:1743:48: note: Parameter 'value' can be declared as pointer to const gvm-libs-22.20.0/util/xmlutils.c:1745:10: style: Variable 'value2' can be declared as pointer to const [constVariablePointer] gvm-libs-22.20.0/util/xmlutils.c:1938:34: style: Parameter 'file_path' can be declared as pointer to const [constParameterPointer] gvm-libs-22.20.0/util/xmlutils_tests.c:162:12: style: Variable 'children' is assigned a value that is never used. [unreadVariable] diff: 2.17.0 gvm-libs-22.20.0/base/cvss.c:1209:7: warning: If memory allocation fails, then there is a possible null pointer dereference: eq1_next_lower_macro [nullPointerOutOfMemory] gvm-libs-22.20.0/base/cvss.c:1208:46: note: Assuming allocation function fails gvm-libs-22.20.0/base/cvss.c:1208:46: note: Assignment 'eq1_next_lower_macro=g_strdup(macrovector)', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:1209:7: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/cvss.c:1221:7: warning: If memory allocation fails, then there is a possible null pointer dereference: eq2_next_lower_macro [nullPointerOutOfMemory] gvm-libs-22.20.0/base/cvss.c:1220:46: note: Assuming allocation function fails gvm-libs-22.20.0/base/cvss.c:1220:46: note: Assignment 'eq2_next_lower_macro=g_strdup(macrovector)', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:1221:7: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/cvss.c:1232:7: warning: If memory allocation fails, then there is a possible null pointer dereference: eq3eq6_next_lower_macro [nullPointerOutOfMemory] gvm-libs-22.20.0/base/cvss.c:1231:49: note: Assuming allocation function fails gvm-libs-22.20.0/base/cvss.c:1231:49: note: Assignment 'eq3eq6_next_lower_macro=g_strdup(macrovector)', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:1232:7: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/cvss.c:1240:7: warning: If memory allocation fails, then there is a possible null pointer dereference: eq3eq6_next_lower_macro [nullPointerOutOfMemory] gvm-libs-22.20.0/base/cvss.c:1239:49: note: Assuming allocation function fails gvm-libs-22.20.0/base/cvss.c:1239:49: note: Assignment 'eq3eq6_next_lower_macro=g_strdup(macrovector)', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:1240:7: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/cvss.c:1248:7: warning: If memory allocation fails, then there is a possible null pointer dereference: eq3eq6_next_lower_macro_left [nullPointerOutOfMemory] gvm-libs-22.20.0/base/cvss.c:1247:54: note: Assuming allocation function fails gvm-libs-22.20.0/base/cvss.c:1247:54: note: Assignment 'eq3eq6_next_lower_macro_left=g_strdup(macrovector)', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:1248:7: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/cvss.c:1250:7: warning: If memory allocation fails, then there is a possible null pointer dereference: eq3eq6_next_lower_macro_right [nullPointerOutOfMemory] gvm-libs-22.20.0/base/cvss.c:1249:55: note: Assuming allocation function fails gvm-libs-22.20.0/base/cvss.c:1249:55: note: Assignment 'eq3eq6_next_lower_macro_right=g_strdup(macrovector)', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:1250:7: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/cvss.c:1272:7: warning: If memory allocation fails, then there is a possible null pointer dereference: eq4_next_lower_macro [nullPointerOutOfMemory] gvm-libs-22.20.0/base/cvss.c:1271:46: note: Assuming allocation function fails gvm-libs-22.20.0/base/cvss.c:1271:46: note: Assignment 'eq4_next_lower_macro=g_strdup(macrovector)', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:1272:7: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/cvss.c:1284:7: warning: If memory allocation fails, then there is a possible null pointer dereference: eq5_next_lower_macro [nullPointerOutOfMemory] gvm-libs-22.20.0/base/cvss.c:1283:46: note: Assuming allocation function fails gvm-libs-22.20.0/base/cvss.c:1283:46: note: Assignment 'eq5_next_lower_macro=g_strdup(macrovector)', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:1284:7: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/cvss.c:721:11: warning: If memory allocation fails, then there is a possible null pointer dereference: point [nullPointerOutOfMemory] gvm-libs-22.20.0/base/cvss.c:719:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/cvss.c:719:22: note: Assignment 'split=g_strsplit(cvss_str,"/",0)', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:720:11: note: Assignment 'point=split', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:721:11: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/cvss.c:943:20: warning: If memory allocation fails, then there is a possible null pointer dereference: split_cvss_point [nullPointerOutOfMemory] gvm-libs-22.20.0/base/cvss.c:941:31: note: Assuming allocation function fails gvm-libs-22.20.0/base/cvss.c:941:31: note: Assignment 'split_cvss_str=g_strsplit(cvss_str,"/",-1)', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:942:22: note: Assignment 'split_cvss_point=split_cvss_str', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:943:20: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/cvss.c:952:33: warning: If memory allocation fails, then there is a possible null pointer dereference: split_component [nullPointerOutOfMemory] gvm-libs-22.20.0/base/cvss.c:951:44: note: Assuming allocation function fails gvm-libs-22.20.0/base/cvss.c:951:44: note: Assignment 'split_component=g_strsplit(*split_cvss_point,":",2)', assigned value is 0 gvm-libs-22.20.0/base/cvss.c:952:33: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:1124:11: warning: If memory allocation fails, then there is a possible null pointer dereference: host_element [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:1120:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:1120:22: note: Assignment 'split=g_strsplit(hosts->orig_str,",",0)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:1123:18: note: Assignment 'host_element=split', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:1124:11: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:166:17: warning: If memory allocation fails, then there is a possible null pointer dereference: addr_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:165:23: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:165:23: note: Assignment 'addr_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:166:17: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:235:24: warning: If memory allocation fails, then there is a possible null pointer dereference: first_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:234:24: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:234:24: note: Assignment 'first_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:235:24: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:273:22: warning: If memory allocation fails, then there is a possible null pointer dereference: first_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:272:24: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:272:24: note: Assignment 'first_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:273:22: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:310:21: warning: If memory allocation fails, then there is a possible null pointer dereference: ip_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:309:21: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:309:21: note: Assignment 'ip_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:310:21: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:362:22: warning: If memory allocation fails, then there is a possible null pointer dereference: first_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:361:24: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:361:24: note: Assignment 'first_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:362:22: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:406:7: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:405:19: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:405:19: note: Assignment 'copy=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:406:7: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:411:15: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:405:19: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:405:19: note: Assignment 'copy=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:411:15: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:424:8: warning: If memory allocation fails, then there is a possible null pointer dereference: point [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:419:30: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:419:17: note: Assignment 'point=split=g_strsplit(copy,".",0)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:424:8: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:473:23: warning: If memory allocation fails, then there is a possible null pointer dereference: addr6_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:472:24: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:472:24: note: Assignment 'addr6_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:473:23: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:542:17: warning: If memory allocation fails, then there is a possible null pointer dereference: addr6_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:541:24: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:541:24: note: Assignment 'addr6_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:542:17: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:647:24: warning: If memory allocation fails, then there is a possible null pointer dereference: first_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:646:24: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:646:24: note: Assignment 'first_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:647:24: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:685:22: warning: If memory allocation fails, then there is a possible null pointer dereference: first_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:684:24: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:684:24: note: Assignment 'first_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:685:22: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:721:21: warning: If memory allocation fails, then there is a possible null pointer dereference: ip_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:720:21: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:720:21: note: Assignment 'ip_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:721:21: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:774:22: warning: If memory allocation fails, then there is a possible null pointer dereference: first_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:773:24: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:773:24: note: Assignment 'first_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:774:22: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/hosts.c:97:23: warning: If memory allocation fails, then there is a possible null pointer dereference: addr_str [nullPointerOutOfMemory] gvm-libs-22.20.0/base/hosts.c:96:23: note: Assuming allocation function fails gvm-libs-22.20.0/base/hosts.c:96:23: note: Assignment 'addr_str=g_strdup(str)', assigned value is 0 gvm-libs-22.20.0/base/hosts.c:97:23: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/logging.c:612:63: warning: If memory allocation fails, then there is a possible null pointer dereference: prepend_tmp1 [nullPointerOutOfMemory] gvm-libs-22.20.0/base/logging.c:607:39: note: Assuming allocation function fails gvm-libs-22.20.0/base/logging.c:607:39: note: Assignment 'prepend_tmp1=g_strdup("")', assigned value is 0 gvm-libs-22.20.0/base/logging.c:612:63: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/logging.c:693:44: warning: If memory allocation fails, then there is a possible null pointer dereference: prepend [nullPointerOutOfMemory] gvm-libs-22.20.0/base/logging.c:648:33: note: Assuming allocation function fails gvm-libs-22.20.0/base/logging.c:648:33: note: Assignment 'prepend=g_strdup_printf("RECURSION%s%s",log_separator,prepend_buf)', assigned value is 0 gvm-libs-22.20.0/base/logging.c:693:44: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/logging.c:757:31: warning: If memory allocation fails, then there is a possible null pointer dereference: message_aux [nullPointerOutOfMemory] gvm-libs-22.20.0/base/logging.c:753:35: note: Assuming allocation function fails gvm-libs-22.20.0/base/logging.c:753:35: note: Assignment 'message_aux2=g_strdup(message)', assigned value is 0 gvm-libs-22.20.0/base/logging.c:754:25: note: Assignment 'message_aux=message_aux2', assigned value is 0 gvm-libs-22.20.0/base/logging.c:757:31: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/networking.c:474:11: warning: If memory allocation fails, then there is a possible null pointer dereference: range [nullPointerOutOfMemory] gvm-libs-22.20.0/base/networking.c:473:34: note: Assuming allocation function fails gvm-libs-22.20.0/base/networking.c:473:23: note: Assignment 'range=range_start=g_strdup(port_range)', assigned value is 0 gvm-libs-22.20.0/base/networking.c:474:11: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/networking.c:485:11: warning: If memory allocation fails, then there is a possible null pointer dereference: point [nullPointerOutOfMemory] gvm-libs-22.20.0/base/networking.c:481:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/networking.c:481:22: note: Assignment 'split=g_strsplit(range_start,",",0)', assigned value is 0 gvm-libs-22.20.0/base/networking.c:483:11: note: Assignment 'point=split', assigned value is 0 gvm-libs-22.20.0/base/networking.c:485:11: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/networking.c:638:11: warning: If memory allocation fails, then there is a possible null pointer dereference: point [nullPointerOutOfMemory] gvm-libs-22.20.0/base/networking.c:634:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/networking.c:634:22: note: Assignment 'split=g_strsplit(range_start,",",0)', assigned value is 0 gvm-libs-22.20.0/base/networking.c:636:11: note: Assignment 'point=split', assigned value is 0 gvm-libs-22.20.0/base/networking.c:638:11: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/networking.c:941:23: warning: If memory allocation fails, then there is a possible null pointer dereference: items_in_line [nullPointerOutOfMemory] gvm-libs-22.20.0/base/networking.c:939:34: note: Assuming allocation function fails gvm-libs-22.20.0/base/networking.c:939:34: note: Assignment 'items_in_line=g_strsplit(line,"\t",-1)', assigned value is 0 gvm-libs-22.20.0/base/networking.c:941:23: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/networking.c:950:30: warning: If memory allocation fails, then there is a possible null pointer dereference: items_in_line [nullPointerOutOfMemory] gvm-libs-22.20.0/base/networking.c:939:34: note: Assuming allocation function fails gvm-libs-22.20.0/base/networking.c:939:34: note: Assignment 'items_in_line=g_strsplit(line,"\t",-1)', assigned value is 0 gvm-libs-22.20.0/base/networking.c:943:14: note: Assuming condition is false gvm-libs-22.20.0/base/networking.c:950:30: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/networking.c:952:24: warning: If memory allocation fails, then there is a possible null pointer dereference: interface [nullPointerOutOfMemory] gvm-libs-22.20.0/base/networking.c:950:29: note: Assuming allocation function fails gvm-libs-22.20.0/base/networking.c:950:29: note: Assignment 'interface=g_strndup(items_in_line[0],64)', assigned value is 0 gvm-libs-22.20.0/base/networking.c:952:24: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/nvti.c:1981:23: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] gvm-libs-22.20.0/base/nvti.c:1979:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/nvti.c:1979:22: note: Assignment 'split=g_strsplit(ref_ids,",",0)', assigned value is 0 gvm-libs-22.20.0/base/nvti.c:1981:15: note: Assignment 'item=split', assigned value is 0 gvm-libs-22.20.0/base/nvti.c:1981:23: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/nvti.c:2000:15: warning: If memory allocation fails, then there is a possible null pointer dereference: split2 [nullPointerOutOfMemory] gvm-libs-22.20.0/base/nvti.c:1999:31: note: Assuming allocation function fails gvm-libs-22.20.0/base/nvti.c:1999:31: note: Assignment 'split2=g_strsplit(id,":",2)', assigned value is 0 gvm-libs-22.20.0/base/nvti.c:2000:15: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/nvti.c:992:11: warning: If memory allocation fails, then there is a possible null pointer dereference: point [nullPointerOutOfMemory] gvm-libs-22.20.0/base/nvti.c:989:22: note: Assuming allocation function fails gvm-libs-22.20.0/base/nvti.c:989:22: note: Assignment 'split=g_strsplit(n->tag,"|",0)', assigned value is 0 gvm-libs-22.20.0/base/nvti.c:990:11: note: Assignment 'point=split', assigned value is 0 gvm-libs-22.20.0/base/nvti.c:992:11: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/base/pwpolicy.c:234:28: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] gvm-libs-22.20.0/base/pwpolicy_tests.c:55:19: note: Assuming allocation function fails gvm-libs-22.20.0/base/pwpolicy_tests.c:55:19: note: Assignment 'line=g_strdup("# password")', assigned value is 0 gvm-libs-22.20.0/base/pwpolicy_tests.c:56:31: note: Calling function 'parse_pattern_line', 1st argument 'line' value is 0 gvm-libs-22.20.0/base/pwpolicy.c:234:28: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/boreas/alivedetection.c:229:61: error: Allocation with g_strdup, g_hash_table_add doesn't release it. [leakNoVarFunctionCall] 2.17.0 gvm-libs-22.20.0/boreas/alivedetection.c:96:61: error: Allocation with g_strdup, g_hash_table_add doesn't release it. [leakNoVarFunctionCall] head gvm-libs-22.20.0/boreas/ping.c:344:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] 2.17.0 gvm-libs-22.20.0/boreas/sniffer.c:177:53: error: Allocation with g_strdup, g_hash_table_add doesn't release it. [leakNoVarFunctionCall] 2.17.0 gvm-libs-22.20.0/gmp/gmp.c:645:35: warning: If memory allocation fails, then there is a possible null pointer dereference: alerts [nullPointerOutOfMemory] gvm-libs-22.20.0/gmp/gmp.c:641:29: note: Assuming allocation function fails gvm-libs-22.20.0/gmp/gmp.c:641:29: note: Assignment 'alerts=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/gmp/gmp.c:645:35: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/gmp/gmp.c:668:24: warning: If memory allocation fails, then there is a possible null pointer dereference: observers [nullPointerOutOfMemory] gvm-libs-22.20.0/gmp/gmp.c:653:32: note: Assuming allocation function fails gvm-libs-22.20.0/gmp/gmp.c:653:32: note: Assignment 'observers=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/gmp/gmp.c:668:24: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:1134:51: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:1119:23: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:1119:23: note: Assignment 'path=g_string_new("/scans")', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:1134:51: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:1643:19: warning: If memory allocation fails, then there is a possible null pointer dereference: hosts_list [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:1642:35: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:1642:35: note: Assignment 'hosts_list=g_strsplit(target->hosts,",",0)', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:1643:19: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:1646:39: warning: If memory allocation fails, then there is a possible null pointer dereference: hosts_list [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:1642:35: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:1642:35: note: Assignment 'hosts_list=g_strsplit(target->hosts,",",0)', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:1646:39: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:1657:23: warning: If memory allocation fails, then there is a possible null pointer dereference: exclude_hosts_list [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:1656:47: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:1656:47: note: Assignment 'exclude_hosts_list=g_strsplit(target->exclude_hosts,",",0)', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:1657:23: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:1660:51: warning: If memory allocation fails, then there is a possible null pointer dereference: exclude_hosts_list [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:1656:47: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:1656:47: note: Assignment 'exclude_hosts_list=g_strsplit(target->exclude_hosts,",",0)', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:1660:51: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:1672:23: warning: If memory allocation fails, then there is a possible null pointer dereference: finished_hosts_list [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:1671:48: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:1671:48: note: Assignment 'finished_hosts_list=g_strsplit(target->finished_hosts,",",0)', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:1672:23: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:1675:52: warning: If memory allocation fails, then there is a possible null pointer dereference: finished_hosts_list [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:1671:48: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:1671:48: note: Assignment 'finished_hosts_list=g_strsplit(target->finished_hosts,",",0)', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:1675:52: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:230:24: warning: If memory allocation fails, then there is a possible null pointer dereference: xapikey [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:229:39: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:229:39: note: Assignment 'xapikey=g_string_new("X-API-KEY: ")', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:230:24: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:232:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xapikey [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:229:39: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:229:39: note: Assignment 'xapikey=g_string_new("X-API-KEY: ")', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:232:42: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:280:70: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:1234:27: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:1234:27: note: Assignment 'query=g_strdup_printf("/health/performance?start=%d&end=%d&titles=%s",opts.start,opts.end,opts.titles)', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:1236:48: note: Calling function 'openvasd_send_request', 3rd argument 'query' value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:273:7: note: Assuming condition is false gvm-libs-22.20.0/openvasd/openvasd.c:280:70: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:374:70: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:373:23: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:373:23: note: Assignment 'path=g_string_new("/vts?information=1")', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:374:70: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:504:48: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:503:23: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:503:23: note: Assignment 'path=g_string_new("/vts?information=1")', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:504:48: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:585:49: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:568:23: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:568:23: note: Assignment 'path=g_string_new("/scans")', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:585:49: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:627:49: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:612:23: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:612:23: note: Assignment 'path=g_string_new("/scans")', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:627:49: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:668:48: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:647:23: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:647:23: note: Assignment 'path=g_string_new("/scans")', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:668:48: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/openvasd/openvasd.c:903:48: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gvm-libs-22.20.0/openvasd/openvasd.c:886:23: note: Assuming allocation function fails gvm-libs-22.20.0/openvasd/openvasd.c:886:23: note: Assignment 'path=g_string_new("/scans")', assigned value is 0 gvm-libs-22.20.0/openvasd/openvasd.c:903:48: note: Null pointer dereference head gvm-libs-22.20.0/openvasd/vtparser.c:81:14: style: Variable 'severity_vector' can be declared as pointer to const [constVariablePointer] 2.17.0 gvm-libs-22.20.0/osp/osp.c:1272:20: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assignment 'xml=g_string_sized_new(10240)', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1272:20: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/osp/osp.c:1275:20: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assignment 'xml=g_string_sized_new(10240)', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1275:20: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/osp/osp.c:1277:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assignment 'xml=g_string_sized_new(10240)', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1277:20: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/osp/osp.c:1279:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assignment 'xml=g_string_sized_new(10240)', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1279:20: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/osp/osp.c:1289:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assignment 'xml=g_string_sized_new(10240)', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1289:20: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/osp/osp.c:1291:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assignment 'xml=g_string_sized_new(10240)', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1291:20: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/osp/osp.c:1294:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1271:28: note: Assignment 'xml=g_string_sized_new(10240)', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1294:24: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/osp/osp.c:1318:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] gvm-libs-22.20.0/osp/osp.c:1298:22: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1298:22: note: Assignment 'xml=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1318:20: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/osp/osp.c:1319:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] gvm-libs-22.20.0/osp/osp.c:1298:22: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1298:22: note: Assignment 'xml=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1319:20: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/osp/osp.c:1321:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] gvm-libs-22.20.0/osp/osp.c:1298:22: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp.c:1298:22: note: Assignment 'xml=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/osp/osp.c:1321:24: note: Null pointer dereference head gvm-libs-22.20.0/osp/osp.c:1326:3: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] 2.17.0 gvm-libs-22.20.0/osp/osp_tests.c:82:16: warning: If memory allocation fails, then there is a possible null pointer dereference: target_xml [nullPointerOutOfMemory] gvm-libs-22.20.0/osp/osp_tests.c:65:35: note: Assuming allocation function fails gvm-libs-22.20.0/osp/osp_tests.c:65:35: note: Assignment 'target_xml=g_string_sized_new(10240)', assigned value is 0 gvm-libs-22.20.0/osp/osp_tests.c:82:16: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/authutils.c:224:62: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: seed_pass [nullPointerOutOfMemory] gvm-libs-22.20.0/util/authutils.c:223:27: note: Assuming allocation function fails gvm-libs-22.20.0/util/authutils.c:223:27: note: Assignment 'seed_pass=g_strconcat(seed_hex,password,NULL)', assigned value is 0 gvm-libs-22.20.0/util/authutils.c:224:62: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/authutils.c:298:62: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: seed_pass [nullPointerOutOfMemory] gvm-libs-22.20.0/util/authutils.c:296:27: note: Assuming allocation function fails gvm-libs-22.20.0/util/authutils.c:296:27: note: Assignment 'seed_pass=g_strconcat(*seed_hex,password,NULL)', assigned value is 0 gvm-libs-22.20.0/util/authutils.c:298:62: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/cpeutils.c:1024:28: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] gvm-libs-22.20.0/util/cpeutils.c:1021:28: note: Assuming allocation function fails gvm-libs-22.20.0/util/cpeutils.c:1021:28: note: Assignment 'tmp_component=g_strdup(component)', assigned value is 0 gvm-libs-22.20.0/util/cpeutils.c:1024:12: note: Assignment 'c=tmp_component', assigned value is 0 gvm-libs-22.20.0/util/cpeutils.c:1024:28: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/cpeutils.c:1629:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: sub_str [nullPointerOutOfMemory] gvm-libs-22.20.0/util/cpeutils.c:1505:26: note: Assuming allocation function fails gvm-libs-22.20.0/util/cpeutils.c:1505:26: note: Assignment 'sub_source=g_strndup(source+start,end-start)', assigned value is 0 gvm-libs-22.20.0/util/cpeutils.c:1512:33: note: Calling function 'index_of', 2nd argument 'sub_source' value is 0 gvm-libs-22.20.0/util/cpeutils.c:1625:14: note: Assuming condition is false gvm-libs-22.20.0/util/cpeutils.c:1629:33: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/cpeutils.c:611:11: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] gvm-libs-22.20.0/util/cpeutils.c:607:28: note: Assuming allocation function fails gvm-libs-22.20.0/util/cpeutils.c:607:28: note: Assignment 'tmp_component=g_strdup(component)', assigned value is 0 gvm-libs-22.20.0/util/cpeutils.c:610:13: note: Assignment 'c=tmp_component', assigned value is 0 gvm-libs-22.20.0/util/cpeutils.c:611:11: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/cpeutils.c:913:28: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] gvm-libs-22.20.0/util/cpeutils.c:909:37: note: Assuming allocation function fails gvm-libs-22.20.0/util/cpeutils.c:909:19: note: Assignment 'tmp_component=(char*)g_strdup(component)', assigned value is 0 gvm-libs-22.20.0/util/cpeutils.c:913:12: note: Assignment 'c=tmp_component', assigned value is 0 gvm-libs-22.20.0/util/cpeutils.c:913:28: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/gpgmeutils.c:205:17: warning: If memory allocation fails, then there is a possible null pointer dereference: expected_buffer [nullPointerOutOfMemory] gvm-libs-22.20.0/util/gpgmeutils.c:199:51: note: Assuming allocation function fails gvm-libs-22.20.0/util/gpgmeutils.c:199:51: note: Assignment 'expected_buffer=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/util/gpgmeutils.c:205:17: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/gpgmeutils.c:210:32: warning: If memory allocation fails, then there is a possible null pointer dereference: expected_buffer [nullPointerOutOfMemory] gvm-libs-22.20.0/util/gpgmeutils.c:199:51: note: Assuming allocation function fails gvm-libs-22.20.0/util/gpgmeutils.c:199:51: note: Assignment 'expected_buffer=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/util/gpgmeutils.c:210:32: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/nvticache.c:516:15: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] gvm-libs-22.20.0/util/nvticache.c:514:33: note: Assuming allocation function fails gvm-libs-22.20.0/util/nvticache.c:514:33: note: Assignment 'array=g_strsplit(element->v_str,"|||",-1)', assigned value is 0 gvm-libs-22.20.0/util/nvticache.c:516:15: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/nvticache.c:517:16: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] gvm-libs-22.20.0/util/nvticache.c:514:33: note: Assuming allocation function fails gvm-libs-22.20.0/util/nvticache.c:514:33: note: Assignment 'array=g_strsplit(element->v_str,"|||",-1)', assigned value is 0 gvm-libs-22.20.0/util/nvticache.c:517:16: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/nvticache.c:518:31: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] gvm-libs-22.20.0/util/nvticache.c:514:33: note: Assuming allocation function fails gvm-libs-22.20.0/util/nvticache.c:514:33: note: Assignment 'array=g_strsplit(element->v_str,"|||",-1)', assigned value is 0 gvm-libs-22.20.0/util/nvticache.c:518:31: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:199:16: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:195:19: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:195:19: note: Assignment 'result=calloc(1,384)', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:199:16: note: Null pointer addition head gvm-libs-22.20.0/util/passwordbasedauthentication.c:199:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gvm-libs-22.20.0/util/passwordbasedauthentication.c:195:19: note: Assuming allocation function fails gvm-libs-22.20.0/util/passwordbasedauthentication.c:195:19: note: Assignment 'result=calloc(1,384)', assigned value is 0 gvm-libs-22.20.0/util/passwordbasedauthentication.c:199:16: note: Null pointer addition 2.17.0 gvm-libs-22.20.0/util/versionutils.c:195:11: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] gvm-libs-22.20.0/util/versionutils.c:191:18: note: Assuming allocation function fails gvm-libs-22.20.0/util/versionutils.c:191:18: note: Assignment 'ver=g_strdup(version)', assigned value is 0 gvm-libs-22.20.0/util/versionutils.c:194:13: note: Assignment 'c=ver', assigned value is 0 gvm-libs-22.20.0/util/versionutils.c:195:11: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/xmlutils.c:2089:27: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] gvm-libs-22.20.0/util/xmlutils_tests.c:268:29: note: Assuming allocation function fails gvm-libs-22.20.0/util/xmlutils_tests.c:268:29: note: Assignment 'generator_name=g_strdup("generator")', assigned value is 0 gvm-libs-22.20.0/util/xmlutils_tests.c:269:39: note: Calling function 'element_child', 2nd argument 'generator_name' value is 0 gvm-libs-22.20.0/util/xmlutils.c:2086:7: note: Assuming condition is false gvm-libs-22.20.0/util/xmlutils.c:2089:27: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/xmlutils.c:2284:27: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assuming allocation function fails gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assignment 'str=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/util/xmlutils_tests.c:499:37: note: Calling function 'print_element_to_string', 2nd argument 'str' value is 0 gvm-libs-22.20.0/util/xmlutils.c:2284:27: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/xmlutils.c:2294:31: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assuming allocation function fails gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assignment 'str=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/util/xmlutils_tests.c:499:37: note: Calling function 'print_element_to_string', 2nd argument 'str' value is 0 gvm-libs-22.20.0/util/xmlutils.c:2294:31: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/xmlutils.c:2303:27: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assuming allocation function fails gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assignment 'str=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/util/xmlutils_tests.c:499:37: note: Calling function 'print_element_to_string', 2nd argument 'str' value is 0 gvm-libs-22.20.0/util/xmlutils.c:2303:27: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/xmlutils.c:2308:27: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assuming allocation function fails gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assignment 'str=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/util/xmlutils_tests.c:499:37: note: Calling function 'print_element_to_string', 2nd argument 'str' value is 0 gvm-libs-22.20.0/util/xmlutils.c:2308:27: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/xmlutils.c:2318:27: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assuming allocation function fails gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assignment 'str=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/util/xmlutils_tests.c:499:37: note: Calling function 'print_element_to_string', 2nd argument 'str' value is 0 gvm-libs-22.20.0/util/xmlutils.c:2318:27: note: Null pointer dereference 2.17.0 gvm-libs-22.20.0/util/xmlutils_tests.c:500:16: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assuming allocation function fails gvm-libs-22.20.0/util/xmlutils_tests.c:496:22: note: Assignment 'str=g_string_new("")', assigned value is 0 gvm-libs-22.20.0/util/xmlutils_tests.c:500:16: note: Null pointer dereference DONE