2025-09-13 03:45 ftp://ftp.de.debian.org/debian/pool/main/g/gvm-libs/gvm-libs_22.24.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 -j4 platform: Linux-6.12.43+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 411a3a7 (2025-09-12 16:54:23 +0200) count: 905 1009 elapsed-time: 3.9 4.3 head-timing-info: old-timing-info: head results: gvm-libs-22.24.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.24.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.24.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.24.0/base/array_tests.c:23:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/array_tests.c:40:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/base/array_tests.c:39:9: note: ret is assigned gvm-libs-22.24.0/base/array_tests.c:40:7: note: ret is overwritten gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:18: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.24.0/agent_controller/agent_controller_tests.c:32: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.24.0/agent_controller/agent_controller_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.24.0/agent_controller/agent_controller_tests.c:100: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.24.0/agent_controller/agent_controller_tests.c:106: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.24.0/agent_controller/agent_controller_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.24.0/agent_controller/agent_controller_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.24.0/agent_controller/agent_controller_tests.c:194: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.24.0/agent_controller/agent_controller_tests.c:206: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.24.0/agent_controller/agent_controller_tests.c:213: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.24.0/agent_controller/agent_controller_tests.c:246: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.24.0/agent_controller/agent_controller_tests.c:252: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.24.0/agent_controller/agent_controller_tests.c:269: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.24.0/agent_controller/agent_controller_tests.c:276: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.24.0/agent_controller/agent_controller_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.24.0/agent_controller/agent_controller_tests.c:300: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.24.0/agent_controller/agent_controller_tests.c:306: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.24.0/agent_controller/agent_controller_tests.c:320: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.24.0/agent_controller/agent_controller_tests.c:332: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.24.0/agent_controller/agent_controller_tests.c:338: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.24.0/agent_controller/agent_controller_tests.c:350: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.24.0/agent_controller/agent_controller_tests.c:362: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.24.0/agent_controller/agent_controller_tests.c:368: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.24.0/agent_controller/agent_controller_tests.c:383: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.24.0/agent_controller/agent_controller_tests.c:398: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.24.0/agent_controller/agent_controller_tests.c:404: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.24.0/agent_controller/agent_controller_tests.c:424: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.24.0/agent_controller/agent_controller_tests.c:442: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.24.0/agent_controller/agent_controller_tests.c:468: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.24.0/agent_controller/agent_controller_tests.c:475: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.24.0/agent_controller/agent_controller_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.24.0/agent_controller/agent_controller_tests.c:501: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.24.0/agent_controller/agent_controller_tests.c:519: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.24.0/agent_controller/agent_controller_tests.c:535: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.24.0/agent_controller/agent_controller_tests.c:542: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.24.0/agent_controller/agent_controller_tests.c:549: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.24.0/agent_controller/agent_controller_tests.c:565: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.24.0/agent_controller/agent_controller_tests.c:571: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.24.0/agent_controller/agent_controller_tests.c:602: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.24.0/agent_controller/agent_controller_tests.c:645: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.24.0/agent_controller/agent_controller_tests.c:665: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.24.0/agent_controller/agent_controller_tests.c:671: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.24.0/agent_controller/agent_controller_tests.c:698: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.24.0/agent_controller/agent_controller_tests.c:723: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.24.0/agent_controller/agent_controller_tests.c:748: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.24.0/agent_controller/agent_controller_tests.c:776: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.24.0/agent_controller/agent_controller_tests.c:805: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.24.0/agent_controller/agent_controller_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.24.0/agent_controller/agent_controller_tests.c:839: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.24.0/agent_controller/agent_controller_tests.c:862: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.24.0/agent_controller/agent_controller_tests.c:874: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.24.0/agent_controller/agent_controller_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.24.0/agent_controller/agent_controller_tests.c:900: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.24.0/agent_controller/agent_controller_tests.c:923: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.24.0/agent_controller/agent_controller_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.24.0/agent_controller/agent_controller_tests.c:967: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.24.0/agent_controller/agent_controller_tests.c:979: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.24.0/agent_controller/agent_controller_tests.c:993: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.24.0/agent_controller/agent_controller_tests.c:1019: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.24.0/agent_controller/agent_controller_tests.c:1047: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.24.0/agent_controller/agent_controller_tests.c:1059: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.24.0/agent_controller/agent_controller_tests.c:1067: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.24.0/agent_controller/agent_controller_tests.c:1081: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.24.0/agent_controller/agent_controller.c:74:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller.c:109:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller.c:625:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller.c:697:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller.c:763:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller.c:812:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:109:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:201:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:219:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:257:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:273:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:279:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:288:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:310:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:323:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:343:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:354:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:373:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:387:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:409:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:429:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:459:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:472:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:483:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:496:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:511:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:587:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:627:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:655:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:668:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:796:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:817:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:834:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/cvss.c:958:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/cvss.c:1414:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/cvss.c:1656:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/cvss.c:1787:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.0/agent_controller/agent_controller.c:73:11: style: Condition '!gvm_http_add_header(headers,auth->str)' is always false [knownConditionTrueFalse] gvm-libs-22.24.0/agent_controller/agent_controller.c:73:32: note: Calling function 'gvm_http_add_header' returns 1 gvm-libs-22.24.0/agent_controller/agent_controller.c:73:11: note: Condition '!gvm_http_add_header(headers,auth->str)' is always false gvm-libs-22.24.0/agent_controller/agent_controller.c:82:11: style: Condition '!gvm_http_add_header(headers,"Content-Type: application/json")' is always false [knownConditionTrueFalse] gvm-libs-22.24.0/agent_controller/agent_controller.c:82:32: note: Calling function 'gvm_http_add_header' returns 1 gvm-libs-22.24.0/agent_controller/agent_controller.c:82:11: note: Condition '!gvm_http_add_header(headers,"Content-Type: application/json")' is always false gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:1231:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:1230:9: note: ret is assigned gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:1231:7: note: ret is overwritten gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:60:54: style:inconclusive: Function 'gvm_http_request' argument 6 names different: declaration 'client_cert' definition 'cert'. [funcArgNamesDifferent] gvm-libs-22.24.0/http/httputils.h:125:54: note: Function 'gvm_http_request' argument 6 names different: declaration 'client_cert' definition 'cert'. gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:60:54: note: Function 'gvm_http_request' argument 6 names different: declaration 'client_cert' definition 'cert'. gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:60:73: style:inconclusive: Function 'gvm_http_request' argument 7 names different: declaration 'client_key' definition 'key'. [funcArgNamesDifferent] gvm-libs-22.24.0/http/httputils.h:126:32: note: Function 'gvm_http_request' argument 7 names different: declaration 'client_key' definition 'key'. gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:60:73: note: Function 'gvm_http_request' argument 7 names different: declaration 'client_key' definition 'key'. gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:61:46: style:inconclusive: Function 'gvm_http_request' argument 8 names different: declaration 'response' definition 'stream'. [funcArgNamesDifferent] gvm-libs-22.24.0/http/httputils.h:126:71: note: Function 'gvm_http_request' argument 8 names different: declaration 'response' definition 'stream'. gvm-libs-22.24.0/agent_controller/agent_controller_tests.c:61:46: note: Function 'gvm_http_request' argument 8 names different: declaration 'response' definition 'stream'. gvm-libs-22.24.0/base/hosts.c:63:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:79:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:174:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:284:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:375:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:448:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:553:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:699:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:788:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:1156:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:1811:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:1839:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:1901:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:2310:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:2376:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] gvm-libs-22.24.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.24.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.24.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.24.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.24.0/base/hosts_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.24.0/base/hosts_tests.c:60: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.24.0/base/hosts_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.24.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.24.0/base/hosts_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.24.0/base/hosts_tests.c:126: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.24.0/base/hosts_tests.c:134: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.24.0/base/hosts_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.24.0/base/hosts_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.24.0/base/hosts_tests.c:194: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.24.0/base/hosts_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.24.0/base/hosts_tests.c:252: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.24.0/base/hosts_tests.c:315: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.24.0/base/hosts_tests.c:27:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts_tests.c:199:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts_tests.c:218:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/hosts.c:1388:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.24.0/base/hosts.c:1875:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/base/hosts.c:175:5: error: Memory leak: addr_str [memleak] gvm-libs-22.24.0/base/hosts.c:554:5: error: Memory leak: addr6_str [memleak] gvm-libs-22.24.0/base/hosts.c:1787:33: style:inconclusive: Function 'gvm_host_from_str' argument 1 names different: declaration 'hosts_str' definition 'host_str'. [funcArgNamesDifferent] gvm-libs-22.24.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.24.0/base/hosts.c:1787:33: note: Function 'gvm_host_from_str' argument 1 names different: declaration 'hosts_str' definition 'host_str'. gvm-libs-22.24.0/base/hosts.c:426:14: style: Variable 'last' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/hosts.c:1475:28: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/hosts.c:1544:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/hosts.c:1836:38: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/hosts.c:1891:18: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/hosts.c:1923:11: style: Variable 'vhosts' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.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.24.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.24.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.24.0/base/cvss.c:1790:11: note: Assuming that condition 'vec==NULL' is not redundant gvm-libs-22.24.0/base/cvss.c:1789:51: note: Null pointer dereference gvm-libs-22.24.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.24.0/base/cvss.c:1797:19: note: Assuming that condition 'macrovector==NULL' is not redundant gvm-libs-22.24.0/base/cvss.c:1796:59: note: Null pointer dereference gvm-libs-22.24.0/base/hosts_tests.c:329:11: style: Variable 'removed' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/base/hosts_tests.c:325:11: note: removed is assigned gvm-libs-22.24.0/base/hosts_tests.c:329:11: note: removed is overwritten gvm-libs-22.24.0/base/hosts_tests.c:388:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/base/hosts_tests.c:387:9: note: ret is assigned gvm-libs-22.24.0/base/hosts_tests.c:388:7: note: ret is overwritten gvm-libs-22.24.0/base/hosts_tests.c:241:28: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/hosts_tests.c:241:41: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/hosts_tests.c:318:15: style: Variable 'host' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/cvss.c:561:32: style: Parameter 'cvss' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/cvss.c:607:13: style: Variable 'metric_name' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/cvss.c:608:13: style: Variable 'metric_value' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/cvss.c:983:27: style: Variable 'metric_def' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/logging.c:111:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging.c:140:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable facilitynames [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging.c:307:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging.c:454:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging.c:840:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging.c:935:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging_domain.c:101:58: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/logging_domain.c:117:56: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/logging_domain.c:151:62: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/logging_domain.c:185:67: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/logging_domain.c:220:61: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/logging_domain.c:254:63: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/logging_domain.c:288:60: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/logging_domain.c:321:65: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/logging_domain.c:355:59: style: Parameter 'log_domain' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.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.24.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.24.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.24.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.24.0/base/logging_domain_tests.c:28:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging_domain_tests.c:53:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging_domain_tests.c:119:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/base/logging_domain_tests.c:118:9: note: ret is assigned gvm-libs-22.24.0/base/logging_domain_tests.c:119:7: note: ret is overwritten gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.0/base/networking.c:37:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gvm-libs-22.24.0/base/networking.c:37:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gvm-libs-22.24.0/base/logging_tests.c:37:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging_tests.c:75:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging_tests.c:99:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_LOCAL0 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging_tests.c:136:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging_tests.c:202:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging_tests.c:248:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging_tests.c:267:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging_tests.c:303:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging.c:512:35: style: The if condition is the same as the previous if condition [duplicateCondition] gvm-libs-22.24.0/base/logging.c:462:35: note: First condition gvm-libs-22.24.0/base/logging.c:512:35: note: Second condition gvm-libs-22.24.0/base/logging.c:891:3: error: Memory leak: channel [memleak] gvm-libs-22.24.0/base/logging.c:57:18: style: Parameter 'time_fmt' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/base/logging.c:452:10: style: Variable 'log_separator' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/logging.c:455:10: style: Variable 'syslog_facility' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/logging.c:456:10: style: Variable 'syslog_ident' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/logging.c:855:15: style: Variable 'channel' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/nvti.c:313:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.0/base/nvti_tests.c:23:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/nvti_tests.c:99:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/nvti_tests.c:106:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/nvti_tests.c:116:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/nvti_tests.c:145:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/nvti.c:770:12: style: Variable 'ref' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/nvti.c:875:21: style: Variable 'severity' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.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.24.0/base/logging_tests.c:135:22: note: Assuming allocation function fails gvm-libs-22.24.0/base/logging_tests.c:135:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.24.0/base/logging_tests.c:137:12: note: Null pointer dereference gvm-libs-22.24.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.24.0/base/logging_tests.c:135:22: note: Assuming allocation function fails gvm-libs-22.24.0/base/logging_tests.c:135:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.24.0/base/logging_tests.c:145:11: note: Null pointer dereference gvm-libs-22.24.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.24.0/base/logging_tests.c:201:22: note: Assuming allocation function fails gvm-libs-22.24.0/base/logging_tests.c:201:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.24.0/base/logging_tests.c:204:12: note: Null pointer dereference gvm-libs-22.24.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.24.0/base/logging_tests.c:201:22: note: Assuming allocation function fails gvm-libs-22.24.0/base/logging_tests.c:201:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.24.0/base/logging_tests.c:210:11: note: Null pointer dereference gvm-libs-22.24.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.24.0/base/logging_tests.c:266:22: note: Assuming allocation function fails gvm-libs-22.24.0/base/logging_tests.c:266:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.24.0/base/logging_tests.c:269:12: note: Null pointer dereference gvm-libs-22.24.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.24.0/base/logging_tests.c:266:22: note: Assuming allocation function fails gvm-libs-22.24.0/base/logging_tests.c:266:22: note: Assignment 'file=fopen(config_file,"w")', assigned value is 0 gvm-libs-22.24.0/base/logging_tests.c:275:11: note: Null pointer dereference gvm-libs-22.24.0/base/pidfile.c:57:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/logging_tests.c:338:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/base/logging_tests.c:337:9: note: ret is assigned gvm-libs-22.24.0/base/logging_tests.c:338:7: note: ret is overwritten gvm-libs-22.24.0/base/prefs.c:121:10: style: Variable 'str' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/base/pwpolicy.c:200:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/pwpolicy.c:266:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/pwpolicy.c:352:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVM_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.0/base/pwpolicy_tests.c:32:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/pwpolicy_tests.c:44:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/pwpolicy_tests.c:57:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/nvti_tests.c:222:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/base/nvti_tests.c:221:9: note: ret is assigned gvm-libs-22.24.0/base/nvti_tests.c:222:7: note: ret is overwritten gvm-libs-22.24.0/base/settings.c:56:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/pwpolicy.c:394:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gvm-libs-22.24.0/base/version.c:17:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVM_LIBS_VERSION [valueFlowBailoutIncompleteVar] gvm-libs-22.24.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.24.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.24.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.24.0/base/version_tests.c:21:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVM_LIBS_VERSION [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/base/version_tests.c:37:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/base/version_tests.c:36:9: note: ret is assigned gvm-libs-22.24.0/base/version_tests.c:37:7: note: ret is overwritten gvm-libs-22.24.0/base/pwpolicy_tests.c:78:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/base/pwpolicy_tests.c:77:9: note: ret is assigned gvm-libs-22.24.0/base/pwpolicy_tests.c:78:7: note: ret is overwritten gvm-libs-22.24.0/boreas/alivedetection.c:62:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] gvm-libs-22.24.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.24.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.24.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.24.0/boreas/arp.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNET_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/arp.c:189:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPOP_REQUEST [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/arp.c:221:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNET_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/alivedetection.c:62:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/alivedetection.c:324:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/alivedetection.c:453:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/alivedetection.c:496:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/arp.c:287:11: style: The if condition is the same as the previous if condition [duplicateCondition] gvm-libs-22.24.0/boreas/arp.c:282:11: note: First condition gvm-libs-22.24.0/boreas/arp.c:287:11: note: Second condition gvm-libs-22.24.0/boreas/arp.c:222:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.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.24.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.24.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.24.0/boreas/boreas_error_tests.c:36:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/boreas/boreas_error_tests.c:35:9: note: ret is assigned gvm-libs-22.24.0/boreas/boreas_error_tests.c:36:7: note: ret is overwritten gvm-libs-22.24.0/boreas/alivedetection.c:192:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/alivedetection.c:202:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/alivedetection.c:212:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/alivedetection.c:523:25: style: Condition 'scan(alive_test)<0' is always false [knownConditionTrueFalse] gvm-libs-22.24.0/boreas/alivedetection.c:523:12: note: Calling function 'scan' returns 0 gvm-libs-22.24.0/boreas/alivedetection.c:523:25: note: Condition 'scan(alive_test)<0' is always false gvm-libs-22.24.0/boreas/alivedetection.c:118:22: style: Variable 'curr_alive' is assigned a value that is never used. [unreadVariable] gvm-libs-22.24.0/boreas/alivedetection_tests.c:36:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/boreas/alivedetection_tests.c:35:9: note: ret is assigned gvm-libs-22.24.0/boreas/alivedetection_tests.c:36:7: note: ret is overwritten gvm-libs-22.24.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.24.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.24.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.24.0/boreas/boreas_io.c:110:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/boreas_io.c:148:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/boreas_io.c:224:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/boreas_io.c:282:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/boreas_io.c:305:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/boreas_io.c:421:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/boreas_io.c:473:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/boreas_io.c:219:35: style: Parameter 'addr_str' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/boreas/boreas_io_tests.c:36:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/boreas/boreas_io_tests.c:35:9: note: ret is assigned gvm-libs-22.24.0/boreas/boreas_io_tests.c:36:7: note: ret is overwritten gvm-libs-22.24.0/boreas/cli.c:117:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/cli.c:126:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/cli.c:135:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/cli.c:143:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/cli.c:161:10: warning: Identical condition and return expression 'error', return value is always 0 [identicalConditionAfterEarlyExit] gvm-libs-22.24.0/boreas/cli.c:108:7: note: If condition 'error' is true, the function will return/exit gvm-libs-22.24.0/boreas/cli.c:161:10: note: Returning identical expression 'error' gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.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.24.0/boreas/ping.c:82:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/ping.c:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCOUTQ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/ping.c:165:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/ping.c:208:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_ECHO [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/ping.c:276:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/ping.c:319:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip6_hdr [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/ping.c:425:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/ping.c:541:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/ping.c:584:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/ping.c:108:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/ping.c:120:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/ping.c:124:15: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/ping.c:273:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/ping.c:292:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/ping.c:538:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/ping.c:581:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/ping.c:344:39: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gvm-libs-22.24.0/boreas/ping.c:344:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gvm-libs-22.24.0/boreas/ping.c:542:14: style: Condition 'dst6_p==NULL' is always false [knownConditionTrueFalse] gvm-libs-22.24.0/boreas/ping.c:585:14: style: Condition 'dst6_p==NULL' is always false [knownConditionTrueFalse] gvm-libs-22.24.0/boreas/cli_tests.c:36:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/boreas/cli_tests.c:35:9: note: ret is assigned gvm-libs-22.24.0/boreas/cli_tests.c:36:7: note: ret is overwritten gvm-libs-22.24.0/boreas/ping.c:142:41: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/boreas/ping.c:193:40: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/boreas/ping.c:314:11: style: Variable 'ports' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/boreas/ping.c:421:11: style: Variable 'ports' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/boreas/ping_tests.c:36:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/boreas/ping_tests.c:35:9: note: ret is assigned gvm-libs-22.24.0/boreas/ping_tests.c:36:7: note: ret is overwritten gvm-libs-22.24.0/boreas/ping.c:40:10: style: struct member 'v6pseudohdr::zero1' is never used. [unusedStructMember] gvm-libs-22.24.0/boreas/ping.c:41:10: style: struct member 'v6pseudohdr::zero2' is never used. [unusedStructMember] gvm-libs-22.24.0/boreas/ping.c:42:10: style: struct member 'v6pseudohdr::zero3' is never used. [unusedStructMember] gvm-libs-22.24.0/boreas/ping.c:51:10: style: struct member 'pseudohdr::zero' is never used. [unusedStructMember] gvm-libs-22.24.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.24.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.24.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.24.0/boreas/sniffer.c:61:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/sniffer.c:132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/sniffer.c:203:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/sniffer.c:234:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/sniffer.c:289:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/util.c:605:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] gvm-libs-22.24.0/boreas/sniffer.c:241:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/sniffer.c:83:13: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/boreas/sniffer.c:91:13: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/boreas/sniffer.c:119:14: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/boreas/sniffer.c:165:22: style: Variable 'arp' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/boreas/sniffer_tests.c:36:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/boreas/sniffer_tests.c:35:9: note: ret is assigned gvm-libs-22.24.0/boreas/sniffer_tests.c:36:7: note: ret is overwritten gvm-libs-22.24.0/boreas/util.c:98:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/util.c:150:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/util.c:221:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/util.c:323:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/util.c:392:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/util.c:420:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/util.c:605:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/util.c:631:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCOUTQ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.0/boreas/util_tests.c:156:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/util_tests.c:182:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/util_tests.c:208:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/gmp/gmp.c:99:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/gmp/gmp.c:146:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/gmp/gmp.c:1242:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/gmp/gmp.c:1465:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/boreas/util.c:657:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.0/boreas/util.c:87:28: style: Parameter 'interface' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/boreas/util.c:112:43: style: Variable 's' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/boreas/util.c:119:39: style: Variable 's' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/boreas/util.c:143:53: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/boreas/util.c:214:52: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/boreas/util.c:313:38: style: Parameter 'scanner' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/http/httputils.c:141:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_URL [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils.c:335:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLINFO_RESPONSE_CODE [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils.c:531:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils.c:558:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLMSG_DONE [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils.c:52: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.24.0/http/httputils.c:142:50: note: You might need to cast the function pointer here gvm-libs-22.24.0/http/httputils.c:52:28: note: Parameter 'ptr' can be declared as pointer to const gvm-libs-22.24.0/http/httputils.c:132:35: style: Parameter 'headers' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/boreas/util_tests.c:253:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/boreas/util_tests.c:252:9: note: ret is assigned gvm-libs-22.24.0/boreas/util_tests.c:253:7: note: ret is overwritten gvm-libs-22.24.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.24.0/boreas/util_tests.c:249:39: note: You might need to cast the function pointer here gvm-libs-22.24.0/boreas/util.c:143:53: note: Parameter 'dst' can be declared as pointer to const gvm-libs-22.24.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.24.0/boreas/util_tests.c:248:39: note: You might need to cast the function pointer here gvm-libs-22.24.0/boreas/util.c:214:52: note: Parameter 'dst' can be declared as pointer to const gvm-libs-22.24.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.24.0/http/httputils_test.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.24.0/http/httputils_test.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.24.0/http/httputils_test.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.24.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.24.0/http/httputils_test.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.24.0/http/httputils_test.c:60: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.24.0/http/httputils_test.c:66: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.24.0/http/httputils_test.c:73: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.24.0/http/httputils_test.c:79: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.24.0/http/httputils_test.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.24.0/http/httputils_test.c:99: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.24.0/http/httputils_test.c:106: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.24.0/http/httputils_test.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.24.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.24.0/http/httputils_test.c:134: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.24.0/http/httputils_test.c:140: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.24.0/http/httputils_test.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.24.0/http/httputils_test.c:28:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_true [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils_test.c:44:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils_test.c:53:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils_test.c:88:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils_test.c:102:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils_test.c:109:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils_test.c:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils_test.c:131:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils_test.c:143:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/http/httputils_test.c:157:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/gmp/gmp.c:1639:5: error: Memory leak: snmp [memleak] gvm-libs-22.24.0/gmp/gmp.c:1645:5: error: Memory leak: snmp [memleak] gvm-libs-22.24.0/gmp/gmp.c:1646:3: error: Memory leak: snmp [memleak] gvm-libs-22.24.0/gmp/gmp.c:425:7: error: Memory leak: opts.timezone [memleak] gvm-libs-22.24.0/gmp/gmp.c:425:7: error: Memory leak: opts.role [memleak] gvm-libs-22.24.0/gmp/gmp.c:425:7: error: Memory leak: opts.pw_warning [memleak] gvm-libs-22.24.0/gmp/gmp.c:513:7: error: Memory leak: opts.timezone [memleak] gvm-libs-22.24.0/gmp/gmp.c:513:7: error: Memory leak: opts.role [memleak] gvm-libs-22.24.0/gmp/gmp.c:513:7: error: Memory leak: opts.pw_warning [memleak] gvm-libs-22.24.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.24.0/gmp/gmp.h:281:27: note: Function 'gmp_task_status' argument 1 names different: declaration 'status_response' definition 'response'. gvm-libs-22.24.0/gmp/gmp.c:48:27: note: Function 'gmp_task_status' argument 1 names different: declaration 'status_response' definition 'response'. gvm-libs-22.24.0/gmp/gmp.c:644:17: style: Variable 'alert' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/gmp/gmp.c:663:21: style: Variable 'group' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/http/httputils_test.c:207:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/http/httputils_test.c:206:9: note: ret is assigned gvm-libs-22.24.0/http/httputils_test.c:207:7: note: ret is overwritten gvm-libs-22.24.0/openvasd/openvasd.c:236:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:301:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:386:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:474:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:544:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:631:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:671:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:869:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:913:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:1028:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:1143:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:1177:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:1198:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:1218:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:1257:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:1317:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:1499:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:1713:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cJSON_True [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:1826:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.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.24.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.24.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.24.0/openvasd/openvasd_tests.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.24.0/openvasd/openvasd_tests.c:57: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.24.0/openvasd/openvasd_tests.c:106: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.24.0/openvasd/openvasd_tests.c:139: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.24.0/openvasd/openvasd_tests.c:194: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.24.0/openvasd/openvasd_tests.c:207: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.24.0/openvasd/openvasd_tests.c:219: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.24.0/openvasd/openvasd_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.24.0/osp/osp.c:151:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/osp/osp.c:336:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/osp/osp.c:517:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/osp/osp.c:576:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/osp/osp.c:1674:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd_tests.c:32:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd_tests.c:48:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd_tests.c:214:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/openvasd/openvasd.c:202:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.24.0/openvasd/openvasd.c:221:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.24.0/openvasd/openvasd.c:794:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.24.0/openvasd/openvasd.c:1898:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.24.0/openvasd/openvasd.c:531:56: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/openvasd/openvasd.c:693:58: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/openvasd/openvasd.c:693:71: style: Parameter 'protocol' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/openvasd/openvasd.c:1367:38: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/openvasd/openvasd.c:1381:40: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/openvasd/openvasd.c:1395:40: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/openvasd/openvasd.c:1409:40: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/openvasd/openvasd.c:1423:43: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/openvasd/openvasd.c:1437:45: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/osp/osp.c:1326:3: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] gvm-libs-22.24.0/osp/osp.c:1294:12: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gvm-libs-22.24.0/osp/osp.c:1269:23: note: Assuming allocation function fails gvm-libs-22.24.0/osp/osp.c:1269:23: note: Assignment 'file=fdopen(fd,"w")', assigned value is 0 gvm-libs-22.24.0/osp/osp.c:1294:12: note: Null pointer dereference gvm-libs-22.24.0/osp/osp.c:1321:12: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gvm-libs-22.24.0/osp/osp.c:1269:23: note: Assuming allocation function fails gvm-libs-22.24.0/osp/osp.c:1269:23: note: Assignment 'file=fdopen(fd,"w")', assigned value is 0 gvm-libs-22.24.0/osp/osp.c:1321:12: note: Null pointer dereference gvm-libs-22.24.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.24.0/osp/osp.c:1269:23: note: Assuming allocation function fails gvm-libs-22.24.0/osp/osp.c:1269:23: note: Assignment 'file=fdopen(fd,"w")', assigned value is 0 gvm-libs-22.24.0/osp/osp.c:1323:11: note: Null pointer dereference gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.0/tests/test-hosts.c:66:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/tests/test-hosts.c:25:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/tests/test-hosts.c:28:20: style: Variable 'vhost' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/openvasd/openvasd_tests.c:273:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/openvasd/openvasd_tests.c:272:9: note: ret is assigned gvm-libs-22.24.0/openvasd/openvasd_tests.c:273:7: note: ret is overwritten gvm-libs-22.24.0/util/authutils.c:119:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYCTL_ANY_INITIALIZATION_P [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/authutils.c:213:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD5 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/authutils.c:252:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD5 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/authutils.c:275:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD5 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/osp/osp_tests.c:21:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/osp/osp_tests.c:26:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/authutils.c:95:31: error: Array 'authentication_methods[4]' accessed at index 999, which is out of bounds. [arrayIndexOutOfBounds] gvm-libs-22.24.0/util/authutils.c:94:17: note: Assuming that condition 'i<1000' is not redundant gvm-libs-22.24.0/util/authutils.c:95:31: note: Array index out of bounds gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.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.24.0/util/compressutils_tests.c:29:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/compressutils_tests.c:47:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/compressutils_tests.c:74:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/compressutils_tests.c:95:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/compressutils_tests.c:80:24: error: Dereferencing 'stream' after it is deallocated / released [deallocuse] gvm-libs-22.24.0/util/compressutils_tests.c:104:24: error: Dereferencing 'stream' after it is deallocated / released [deallocuse] gvm-libs-22.24.0/util/compressutils_tests.c:125:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/compressutils_tests.c:124:9: note: ret is assigned gvm-libs-22.24.0/util/compressutils_tests.c:125:7: note: ret is overwritten gvm-libs-22.24.0/util/compressutils_tests.c:65:9: style: Variable 'compressed' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/compressutils_tests.c:87:9: style: Variable 'compressed' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.0/osp/osp_tests.c:106:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/osp/osp_tests.c:105:9: note: ret is assigned gvm-libs-22.24.0/osp/osp_tests.c:106:7: note: ret is overwritten gvm-libs-22.24.0/util/fileutils.c:51:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/fileutils.c:185:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/fileutils.c:220:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/fileutils.c:294:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/fileutils.c:278:45: style: Variable 'modification_time_str' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/fileutils.c:284:9: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/gpgmeutils.c:51:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPG_ERR_SOURCE_ANY [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/gpgmeutils.c:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/gpgmeutils.c:181:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPGME_DATA_TYPE_INVALID [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/gpgmeutils.c:269:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpgme_data_type_t [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/gpgmeutils.c:318:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/gpgmeutils.c:432:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPGME_PINENTRY_MODE_CANCEL [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/gpgmeutils.c:522:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/gpgmeutils.c:646:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPGME_DATA_TYPE_PGP_KEY [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/gpgmeutils.c:679:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpgme_data_type_t [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/gpgmeutils.c:439:3: error: Memory leak: trustlist_filename [memleak] gvm-libs-22.24.0/util/gpgmeutils.c:439:3: error: Memory leak: trustlist_content [memleak] gvm-libs-22.24.0/util/gpgmeutils.c:441:3: error: Memory leak: trustlist_filename [memleak] gvm-libs-22.24.0/util/gpgmeutils.c:441:3: error: Memory leak: trustlist_content [memleak] gvm-libs-22.24.0/util/cpeutils.c:781:3: error: Mismatching allocation and deallocation: edition [mismatchAllocDealloc] gvm-libs-22.24.0/util/cpeutils.c:728:15: note: Mismatching allocation and deallocation: edition gvm-libs-22.24.0/util/cpeutils.c:781:3: note: Mismatching allocation and deallocation: edition gvm-libs-22.24.0/util/cpeutils.c:783:3: error: Mismatching allocation and deallocation: sw_edition [mismatchAllocDealloc] gvm-libs-22.24.0/util/cpeutils.c:737:22: note: Mismatching allocation and deallocation: sw_edition gvm-libs-22.24.0/util/cpeutils.c:783:3: note: Mismatching allocation and deallocation: sw_edition gvm-libs-22.24.0/util/cpeutils.c:785:3: error: Mismatching allocation and deallocation: target_sw [mismatchAllocDealloc] gvm-libs-22.24.0/util/cpeutils.c:749:21: note: Mismatching allocation and deallocation: target_sw gvm-libs-22.24.0/util/cpeutils.c:785:3: note: Mismatching allocation and deallocation: target_sw gvm-libs-22.24.0/util/cpeutils.c:787:3: error: Mismatching allocation and deallocation: target_hw [mismatchAllocDealloc] gvm-libs-22.24.0/util/cpeutils.c:761:21: note: Mismatching allocation and deallocation: target_hw gvm-libs-22.24.0/util/cpeutils.c:787:3: note: Mismatching allocation and deallocation: target_hw gvm-libs-22.24.0/util/cpeutils.c:789:3: error: Mismatching allocation and deallocation: other [mismatchAllocDealloc] gvm-libs-22.24.0/util/cpeutils.c:773:17: note: Mismatching allocation and deallocation: other gvm-libs-22.24.0/util/cpeutils.c:789:3: note: Mismatching allocation and deallocation: other gvm-libs-22.24.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.24.0/util/cpeutils.c:570:57: note: Assuming that condition 'component_end==0' is not redundant gvm-libs-22.24.0/util/cpeutils.c:568:19: note: Assignment to 'component_end=c' gvm-libs-22.24.0/util/cpeutils.c:557:19: note: component_start is assigned 'c' here. gvm-libs-22.24.0/util/cpeutils.c:560:8: note: Null pointer dereference gvm-libs-22.24.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.24.0/util/cpeutils.c:570:57: note: Assuming that condition 'component_end==0' is not redundant gvm-libs-22.24.0/util/cpeutils.c:568:19: note: Assignment to 'component_end=c' gvm-libs-22.24.0/util/cpeutils.c:564:34: note: Null pointer dereference gvm-libs-22.24.0/util/cpeutils.c:1205:13: style: Redundant assignment of 'cpe->part' to itself. [selfAssignment] gvm-libs-22.24.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.24.0/util/cpeutils.c:561:19: note: component_end is assigned gvm-libs-22.24.0/util/cpeutils.c:568:17: note: component_end is overwritten gvm-libs-22.24.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.24.0/util/cpeutils.c:837:19: note: component_end is assigned gvm-libs-22.24.0/util/cpeutils.c:851:17: note: component_end is overwritten gvm-libs-22.24.0/util/cpeutils.c:540:27: style: Variable 'component_end' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/cpeutils.c:589:9: style: Variable 'escapes' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/cpeutils.c:805:27: style: Variable 'component_end' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/cpeutils.c:1295:33: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/cpeutils.c:1295:55: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/cpeutils.c:1350:38: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/cpeutils.c:1350:60: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/cpeutils.c:1590:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/cpeutils.c:1623:9: style: Variable 'begin_substr' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/cpeutils.c:1507:15: style: Variable 'escapes' is assigned a value that is never used. [unreadVariable] gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.0/util/json_tests.c:30:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:49:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:60:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:72:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:82:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:92:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:103:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:117:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:129:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:143:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:155:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:167:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:180:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:190:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:200:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:211:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/json_tests.c:251:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/json_tests.c:250:9: note: ret is assigned gvm-libs-22.24.0/util/json_tests.c:251:7: note: ret is overwritten gvm-libs-22.24.0/util/jsonpull.c:138:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull.c:320:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cJSON_IsString [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull.c:361:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cJSON_IsNumber [valueFlowBailoutIncompleteVar] gvm-libs-22.24.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.24.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.24.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.24.0/util/jsonpull_tests.c:90: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.24.0/util/jsonpull_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.24.0/util/jsonpull_tests.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.24.0/util/jsonpull_tests.c:131: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.24.0/util/jsonpull_tests.c:144: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.24.0/util/jsonpull_tests.c:157: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.24.0/util/jsonpull_tests.c:170: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.24.0/util/jsonpull_tests.c:183: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.24.0/util/jsonpull_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.24.0/util/jsonpull_tests.c:219: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.24.0/util/jsonpull_tests.c:249: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.24.0/util/jsonpull_tests.c:264: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.24.0/util/jsonpull_tests.c:285: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.24.0/util/jsonpull_tests.c:311: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.24.0/util/jsonpull_tests.c:385: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.24.0/util/jsonpull_tests.c:468: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.24.0/util/jsonpull_tests.c:521: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.24.0/util/jsonpull_tests.c:533: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.24.0/util/jsonpull_tests.c:544: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.24.0/util/jsonpull_tests.c:554: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.24.0/util/jsonpull_tests.c:565: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.24.0/util/jsonpull_tests.c:576: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.24.0/util/jsonpull_tests.c:586: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.24.0/util/jsonpull_tests.c:596: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.24.0/util/jsonpull_tests.c:608: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.24.0/util/jsonpull_tests.c:619: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.24.0/util/jsonpull_tests.c:629: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.24.0/util/jsonpull_tests.c:641: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.24.0/util/jsonpull_tests.c:652: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.24.0/util/jsonpull_tests.c:664: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.24.0/util/jsonpull_tests.c:678: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.24.0/util/jsonpull_tests.c:692: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.24.0/util/jsonpull_tests.c:704: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.24.0/util/jsonpull_tests.c:717: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.24.0/util/jsonpull_tests.c:732: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.24.0/util/jsonpull_tests.c:745: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.24.0/util/jsonpull_tests.c:760: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.24.0/util/jsonpull_tests.c:772: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.24.0/util/jsonpull_tests.c:784: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.24.0/util/jsonpull_tests.c:797: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.24.0/util/jsonpull_tests.c:810: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.24.0/util/jsonpull_tests.c:823: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.24.0/util/jsonpull_tests.c:835: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.24.0/util/jsonpull_tests.c:847: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.24.0/util/jsonpull_tests.c:859: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.24.0/util/jsonpull_tests.c:871: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.24.0/util/jsonpull_tests.c:883: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.24.0/util/jsonpull_tests.c:896: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.24.0/util/jsonpull_tests.c:909: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.24.0/util/jsonpull_tests.c:923: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.24.0/util/jsonpull_tests.c:938: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.24.0/util/jsonpull_tests.c:952: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.24.0/util/jsonpull_tests.c:964: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.24.0/util/jsonpull_tests.c:977: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.24.0/util/jsonpull_tests.c:992: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.24.0/util/jsonpull_tests.c:1012: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.24.0/util/jsonpull_tests.c:1030: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.24.0/util/jsonpull_tests.c:1049: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.24.0/util/jsonpull_tests.c:1067: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.24.0/util/jsonpull_tests.c:1085: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.24.0/util/jsonpull_tests.c:1102: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.24.0/util/cpeutils_tests.c:316:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/cpeutils_tests.c:315:9: note: ret is assigned gvm-libs-22.24.0/util/cpeutils_tests.c:316:7: note: ret is overwritten gvm-libs-22.24.0/util/cpeutils_tests.c:25:9: style: Variable 'uri_cpe' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/cpeutils_tests.c:111:9: style: Variable 'fs_cpe' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/cpeutils_tests.c:177:9: style: Variable 'uri_cpe' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/cpeutils_tests.c:199:9: style: Variable 'fs_cpe' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/cpeutils_tests.c:260:9: style: Variable 'fs_cpe1' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/cpeutils_tests.c:260:19: style: Variable 'fs_cpe2' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.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.24.0/util/cpeutils_tests.c:311:43: note: You might need to cast the function pointer here gvm-libs-22.24.0/util/cpeutils.c:1295:33: note: Parameter 'source' can be declared as pointer to const gvm-libs-22.24.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.24.0/util/cpeutils_tests.c:311:43: note: You might need to cast the function pointer here gvm-libs-22.24.0/util/cpeutils.c:1295:55: note: Parameter 'target' can be declared as pointer to const gvm-libs-22.24.0/util/jsonpull.c:781:17: warning: Either the condition 'path_tail' is redundant or there is possible null pointer dereference: path_tail. [nullPointerRedundantCheck] gvm-libs-22.24.0/util/jsonpull.c:768:7: note: Assuming that condition 'path_tail' is not redundant gvm-libs-22.24.0/util/jsonpull.c:781:17: note: Null pointer dereference gvm-libs-22.24.0/util/jsonpull.c:86:26: style: Checking if unsigned expression 'parse_buffer_limit' is less than zero. [unsignedLessThanZero] gvm-libs-22.24.0/util/jsonpull.c:89:24: style: Checking if unsigned expression 'read_buffer_size' is less than zero. [unsignedLessThanZero] gvm-libs-22.24.0/util/jsonpull.c:190:39: style: Checking if unsigned expression 'parser->last_read_size' is less than zero. [unsignedLessThanZero] gvm-libs-22.24.0/util/jsonpull.c:152:64: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/jsonpull.c:238:56: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/jsonpull.c:572:25: style: Variable 'path_elem' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/jsonpull.c:889: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.24.0/util/jsonpull.c:913:34: note: You might need to cast the function pointer here gvm-libs-22.24.0/util/jsonpull.c:889:54: note: Parameter 'path_elem' can be declared as pointer to const gvm-libs-22.24.0/util/kb.c:29:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gvm-libs-22.24.0/util/kb.c:29:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gvm-libs-22.24.0/util/ldaputils.c:633:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.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.24.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.24.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.24.0/util/mqtt.c:170:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTCLIENT_SUCCESS [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt.c:214:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt.c:241:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTClient_createOptions_initializer [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt.c:314:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTClient_connectOptions_initializer5 [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt.c:380:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt.c:432:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt.c:452:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTClient_message_initializer [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt.c:569:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt.c:631:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTSubscribe_options_initializer [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt.c:686:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTCLIENT_SUCCESS [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt.c:754:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MQTTCLIENT_SUCCESS [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:96:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_true [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:110:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_true [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:124:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_true [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:401:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:483:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:984:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:1004:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:1022:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:1041:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:1059:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:1077:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:1095:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/jsonpull_tests.c:1112:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt_tests.c:40:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/mqtt.c:449:30: style: Parameter 'mqtt' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/mqtt_tests.c:63:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/mqtt_tests.c:62:9: note: ret is assigned gvm-libs-22.24.0/util/mqtt_tests.c:63:7: note: ret is overwritten gvm-libs-22.24.0/util/passwordbasedauthentication.c:191:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypt_data [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/passwordbasedauthentication.c:236:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypt_data [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/nvticache.c:209:9: style: Variable 'oid' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.0/util/passwordbasedauthentication.c:144:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] gvm-libs-22.24.0/util/passwordbasedauthentication.c:142:19: note: Assuming allocation function fails gvm-libs-22.24.0/util/passwordbasedauthentication.c:142:19: note: Assignment 'result=malloc(sizeof(struct PBASettings))', assigned value is 0 gvm-libs-22.24.0/util/passwordbasedauthentication.c:144:5: note: Null pointer dereference gvm-libs-22.24.0/util/passwordbasedauthentication.c:145:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] gvm-libs-22.24.0/util/passwordbasedauthentication.c:142:19: note: Assuming allocation function fails gvm-libs-22.24.0/util/passwordbasedauthentication.c:142:19: note: Assignment 'result=malloc(sizeof(struct PBASettings))', assigned value is 0 gvm-libs-22.24.0/util/passwordbasedauthentication.c:145:3: note: Null pointer dereference gvm-libs-22.24.0/util/passwordbasedauthentication.c:146:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] gvm-libs-22.24.0/util/passwordbasedauthentication.c:142:19: note: Assuming allocation function fails gvm-libs-22.24.0/util/passwordbasedauthentication.c:142:19: note: Assignment 'result=malloc(sizeof(struct PBASettings))', assigned value is 0 gvm-libs-22.24.0/util/passwordbasedauthentication.c:146:3: note: Null pointer dereference gvm-libs-22.24.0/util/passwordbasedauthentication.c:196:11: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] gvm-libs-22.24.0/util/passwordbasedauthentication.c:195:19: note: Assuming allocation function fails gvm-libs-22.24.0/util/passwordbasedauthentication.c:195:19: note: Assignment 'result=calloc(1,384)', assigned value is 0 gvm-libs-22.24.0/util/passwordbasedauthentication.c:196:11: note: Null pointer dereference gvm-libs-22.24.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.24.0/util/passwordbasedauthentication.c:223:31: note: Assuming allocation function fails gvm-libs-22.24.0/util/passwordbasedauthentication.c:223:31: note: Assignment 'invalid_hash=calloc(1,384)', assigned value is 0 gvm-libs-22.24.0/util/passwordbasedauthentication.c:224:11: note: Null pointer dereference gvm-libs-22.24.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.24.0/util/passwordbasedauthentication.c:223:31: note: Assuming allocation function fails gvm-libs-22.24.0/util/passwordbasedauthentication.c:223:31: note: Assignment 'invalid_hash=calloc(1,384)', assigned value is 0 gvm-libs-22.24.0/util/passwordbasedauthentication.c:225:11: note: Null pointer dereference gvm-libs-22.24.0/util/passwordbasedauthentication.c:240:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] gvm-libs-22.24.0/util/passwordbasedauthentication.c:238:20: note: Assuming allocation function fails gvm-libs-22.24.0/util/passwordbasedauthentication.c:238:20: note: Assignment 'tmp=calloc(1,384)', assigned value is 0 gvm-libs-22.24.0/util/passwordbasedauthentication.c:240:15: note: Null pointer dereference gvm-libs-22.24.0/util/passwordbasedauthentication.c:241:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] gvm-libs-22.24.0/util/passwordbasedauthentication.c:238:20: note: Assuming allocation function fails gvm-libs-22.24.0/util/passwordbasedauthentication.c:238:20: note: Assignment 'tmp=calloc(1,384)', assigned value is 0 gvm-libs-22.24.0/util/passwordbasedauthentication.c:241:15: note: Null pointer dereference gvm-libs-22.24.0/util/passwordbasedauthentication.c:244:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] gvm-libs-22.24.0/util/passwordbasedauthentication.c:238:20: note: Assuming allocation function fails gvm-libs-22.24.0/util/passwordbasedauthentication.c:238:20: note: Assignment 'tmp=calloc(1,384)', assigned value is 0 gvm-libs-22.24.0/util/passwordbasedauthentication.c:244:22: note: Null pointer dereference gvm-libs-22.24.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.24.0/util/passwordbasedauthentication.c:238:20: note: Assuming allocation function fails gvm-libs-22.24.0/util/passwordbasedauthentication.c:238:20: note: Assignment 'tmp=calloc(1,384)', assigned value is 0 gvm-libs-22.24.0/util/passwordbasedauthentication.c:255:19: note: Null pointer dereference gvm-libs-22.24.0/util/passwordbasedauthentication.c:199:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gvm-libs-22.24.0/util/passwordbasedauthentication.c:195:19: note: Assuming allocation function fails gvm-libs-22.24.0/util/passwordbasedauthentication.c:195:19: note: Assignment 'result=calloc(1,384)', assigned value is 0 gvm-libs-22.24.0/util/passwordbasedauthentication.c:199:16: note: Null pointer addition gvm-libs-22.24.0/util/passwordbasedauthentication.c:215:44: style:inconclusive: Function 'pba_verify_hash' argument 1 names different: declaration 'settings' definition 'setting'. [funcArgNamesDifferent] gvm-libs-22.24.0/util/passwordbasedauthentication.h:70:44: note: Function 'pba_verify_hash' argument 1 names different: declaration 'settings' definition 'setting'. gvm-libs-22.24.0/util/passwordbasedauthentication.c:215:44: note: Function 'pba_verify_hash' argument 1 names different: declaration 'settings' definition 'setting'. gvm-libs-22.24.0/util/passwordbasedauthentication.c:170:49: style: Variable 'rslt' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.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.24.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.24.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.24.0/util/radiusutils_tests.c:67:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/radiusutils_tests.c:66:9: note: ret is assigned gvm-libs-22.24.0/util/radiusutils_tests.c:67:7: note: ret is overwritten gvm-libs-22.24.0/base/cvss_tests.c:1880:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/base/cvss_tests.c:1879:9: note: ret is assigned gvm-libs-22.24.0/base/cvss_tests.c:1880:7: note: ret is overwritten gvm-libs-22.24.0/util/passwordbasedauthentication_tests.c:137:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/passwordbasedauthentication_tests.c:136:9: note: ret is assigned gvm-libs-22.24.0/util/passwordbasedauthentication_tests.c:137:7: note: ret is overwritten gvm-libs-22.24.0/util/passwordbasedauthentication_tests.c:108:9: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/serverutils.c:63:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:124:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CERT_INVALID [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:280:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:346:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CLIENT [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:536:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_AGAIN [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:611:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_INTERRUPTED [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:678:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:992:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYCTL_ENABLE_QUICK_RANDOM [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:1029:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:1093:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:1186:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:1244:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_dh_params_t [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils.c:1280:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.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.24.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.24.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.24.0/util/serverutils_tests.c:26:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_SUCCESS [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/serverutils_tests.c:47:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_PK_RSA [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/sshutils.c:90:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SSH_VERSION_INT( ... ) [preprocessorErrorDirective] gvm-libs-22.24.0/util/sshutils.c:90:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SSH_VERSION_INT( ... ) [preprocessorErrorDirective] gvm-libs-22.24.0/util/serverutils.c:539:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gvm-libs-22.24.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.24.0/util/serverutils.c:1145:47: style: Parameter 'ca_cert_file' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/serverutils.c:1145:68: style: Parameter 'cert_file' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/serverutils.c:1146:24: style: Parameter 'key_file' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/streamvalidator.c:107:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_NONE [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/streamvalidator.c:202:18: style: Variable 'actual_hash_bin' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/streamvalidator_tests.c:19: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.24.0/util/streamvalidator_tests.c:22: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.24.0/util/streamvalidator_tests.c:26: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.24.0/util/streamvalidator_tests.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.24.0/util/streamvalidator_tests.c:60: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.24.0/util/streamvalidator_tests.c:79: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.24.0/util/streamvalidator_tests.c:95: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.24.0/util/streamvalidator_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.24.0/util/streamvalidator_tests.c:127: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.24.0/util/streamvalidator_tests.c:136: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.24.0/util/streamvalidator_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.24.0/util/streamvalidator_tests.c:162: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.24.0/util/uuidutils.c:39:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/streamvalidator_tests.c:210:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/streamvalidator_tests.c:209:9: note: ret is assigned gvm-libs-22.24.0/util/streamvalidator_tests.c:210:7: note: ret is overwritten gvm-libs-22.24.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.24.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.24.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.24.0/util/serverutils_tests.c:108:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/serverutils_tests.c:107:9: note: ret is assigned gvm-libs-22.24.0/util/serverutils_tests.c:108:7: note: ret is overwritten gvm-libs-22.24.0/util/versionutils.c:358:16: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/vtparser.c:139:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/vtparser.c:160:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/vtparser.c:183:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/vtparser.c:243:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/vtparser.c:141:11: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gvm-libs-22.24.0/util/vtparser_tests.c:68: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.24.0/util/vtparser_tests.c:72: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.24.0/util/vtparser_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.24.0/util/vtparser.c:60:14: style: Variable 'severity_vector' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/vtparser_tests.c:92:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/vtparser_tests.c:127:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/vtparser_tests.c:126:9: note: ret is assigned gvm-libs-22.24.0/util/vtparser_tests.c:127:7: note: ret is overwritten gvm-libs-22.24.0/util/jsonpull_tests.c:1214:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/jsonpull_tests.c:1213:9: note: ret is assigned gvm-libs-22.24.0/util/jsonpull_tests.c:1214:7: note: ret is overwritten gvm-libs-22.24.0/util/versionutils_tests.c:87:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/versionutils_tests.c:86:9: note: ret is assigned gvm-libs-22.24.0/util/versionutils_tests.c:87:7: note: ret is overwritten gvm-libs-22.24.0/util/versionutils_tests.c:24:9: style: Variable 'version1' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/versionutils_tests.c:24:20: style: Variable 'version2' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.0/util/xmlutils.c:379:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:518:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:764:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:911:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:1045:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:1808:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:1884:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:1965:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:2003:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBXML_TEST_VERSION [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:2050:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:2211:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:2231:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:2398:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_SAX2_MAGIC [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:2881:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBXML_TEST_VERSION [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils_tests.c:123:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils_tests.c:147:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils_tests.c:271:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils_tests.c:307:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils_tests.c:358:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils_tests.c:457:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils_tests.c:482:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] gvm-libs-22.24.0/util/xmlutils.c:243:15: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] gvm-libs-22.24.0/util/xmlutils.c:241:24: note: outer condition: *values gvm-libs-22.24.0/util/xmlutils.c:243:15: note: identical inner condition: *values gvm-libs-22.24.0/util/xmlutils.c:971:27: style: Condition 'timeout>0' is always false [knownConditionTrueFalse] gvm-libs-22.24.0/util/xmlutils.c:950:27: note: Assuming that condition 'timeout>0' is not redundant gvm-libs-22.24.0/util/xmlutils.c:971:27: note: Condition 'timeout>0' is always false gvm-libs-22.24.0/util/xmlutils.c:1138:27: style: Condition 'timeout>0' is always false [knownConditionTrueFalse] gvm-libs-22.24.0/util/xmlutils.c:1111:27: note: Assuming that condition 'timeout>0' is not redundant gvm-libs-22.24.0/util/xmlutils.c:1138:27: note: Condition 'timeout>0' is always false gvm-libs-22.24.0/util/xmlutils.c:3028:46: style: Condition 'continue_read==0' is always false [knownConditionTrueFalse] gvm-libs-22.24.0/util/xmlutils.c:1546:7: error: Memory leak: xml_context [memleak] gvm-libs-22.24.0/util/xmlutils.c:1560:11: error: Memory leak: xml_context [memleak] gvm-libs-22.24.0/util/xmlutils.c:1564:7: error: Memory leak: xml_context [memleak] gvm-libs-22.24.0/util/xmlutils.c:1571:3: error: Memory leak: xml_context [memleak] gvm-libs-22.24.0/util/xmlutils.c:1702:48: style:inconclusive: Function 'print_entity_format' argument 2 names different: declaration 'indentation' definition 'indent'. [funcArgNamesDifferent] gvm-libs-22.24.0/util/xmlutils.h:98:41: note: Function 'print_entity_format' argument 2 names different: declaration 'indentation' definition 'indent'. gvm-libs-22.24.0/util/xmlutils.c:1702:48: note: Function 'print_entity_format' argument 2 names different: declaration 'indentation' definition 'indent'. gvm-libs-22.24.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.24.0/util/xmlutils.c:1524:22: note: You might need to cast the function pointer here gvm-libs-22.24.0/util/xmlutils.c:477:53: note: Parameter 'error' can be declared as pointer to const gvm-libs-22.24.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.24.0/util/xmlutils.c:1617:47: note: You might need to cast the function pointer here gvm-libs-22.24.0/util/xmlutils.c:1594:45: note: Parameter 'name' can be declared as pointer to const gvm-libs-22.24.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.24.0/util/xmlutils.c:1664:47: note: You might need to cast the function pointer here gvm-libs-22.24.0/util/xmlutils.c:1647:35: note: Parameter 'name' can be declared as pointer to const gvm-libs-22.24.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.24.0/util/xmlutils.c:1664:47: note: You might need to cast the function pointer here gvm-libs-22.24.0/util/xmlutils.c:1647:50: note: Parameter 'value' can be declared as pointer to const gvm-libs-22.24.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.24.0/util/xmlutils.c:1713:47: note: You might need to cast the function pointer here gvm-libs-22.24.0/util/xmlutils.c:1684:42: note: Parameter 'name' can be declared as pointer to const gvm-libs-22.24.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.24.0/util/xmlutils.c:1713:47: note: You might need to cast the function pointer here gvm-libs-22.24.0/util/xmlutils.c:1684:57: note: Parameter 'value' can be declared as pointer to const gvm-libs-22.24.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.24.0/util/xmlutils.c:1790:51: note: You might need to cast the function pointer here gvm-libs-22.24.0/util/xmlutils.c:1743:48: note: Parameter 'value' can be declared as pointer to const gvm-libs-22.24.0/util/xmlutils.c:1745:10: style: Variable 'value2' can be declared as pointer to const [constVariablePointer] gvm-libs-22.24.0/util/xmlutils.c:1938:34: style: Parameter 'file_path' can be declared as pointer to const [constParameterPointer] gvm-libs-22.24.0/util/xmlutils_tests.c:546:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/xmlutils_tests.c:545:9: note: ret is assigned gvm-libs-22.24.0/util/xmlutils_tests.c:546:7: note: ret is overwritten gvm-libs-22.24.0/util/xmlutils_tests.c:162:12: style: Variable 'children' is assigned a value that is never used. [unreadVariable] diff: 2.18.0 gvm-libs-22.24.0/base/networking.c:1008:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:1043:31: style: Variable 'sin_dest_p' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/base/networking.c:1129:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:1182:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:1222:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:1227:27: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.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.24.0/base/networking.c:1292:7: note: Assuming that condition '!target_addr' is not redundant gvm-libs-22.24.0/base/networking.c:1290:12: note: Null pointer dereference 2.18.0 gvm-libs-22.24.0/base/networking.c:138:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:142:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gvm-libs-22.24.0/base/networking.c:154:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gvm-libs-22.24.0/base/networking.c:213:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:227:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:251:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:266:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:286:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:303:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:305:27: style: Variable 'saddr' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/base/networking.c:347:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gvm-libs-22.24.0/base/networking.c:348:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:367:32: style: Variable 'addrin' can be declared as pointer to const [constVariablePointer] head gvm-libs-22.24.0/base/networking.c:37:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gvm-libs-22.24.0/base/networking.c:37:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gvm-libs-22.24.0/base/networking.c:394:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:397:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gvm-libs-22.24.0/base/networking.c:416:35: style: Variable 'addrin' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/base/networking.c:421:36: style: Variable 'addrin' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/base/networking.c:445:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:487:14: style: Variable 'hyphen' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/base/networking.c:524:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:69:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gvm-libs-22.24.0/base/networking.c:70:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:737:16: style: Variable 'range' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/base/networking.c:758:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:778:19: style: Variable 'addr_p' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/base/networking.c:779:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN6ADDR_ANY_INIT [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:781:23: style: Variable 'sin_p' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/base/networking.c:782:24: style: Variable 'sin6_p' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/base/networking.c:796:18: style: Condition 'addr_p==NULL' is always false [knownConditionTrueFalse] 2.18.0 gvm-libs-22.24.0/base/networking.c:832:27: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/base/networking.c:896:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking.c:89:31: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/base/networking.c:97:36: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.0/base/networking_tests.c:1100:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_STATUS_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.0/base/networking_tests.c:1125:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.0/base/networking_tests.c:1186:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/base/networking_tests.c:1221:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/base/networking_tests.c:1220:9: note: ret is assigned gvm-libs-22.24.0/base/networking_tests.c:1221:7: note: ret is overwritten 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.0/base/networking_tests.c:14:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loose_mocks [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.0/base/networking_tests.c:862:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.0/base/networking_tests.c:916:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.0/base/networking_tests.c:960:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1078:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ARRAY [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.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.24.0/util/kb.c:1095:11: note: Assuming that condition '!rep' is not redundant gvm-libs-22.24.0/util/kb.c:1086:19: note: Null pointer dereference 2.18.0 gvm-libs-22.24.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.24.0/util/kb.c:1095:11: note: Assuming that condition '!rep' is not redundant gvm-libs-22.24.0/util/kb.c:1089:19: note: Null pointer dereference 2.18.0 gvm-libs-22.24.0/util/kb.c:1143:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ARRAY [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1178:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ARRAY [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:118:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1207:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1259:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1267:15: style: Condition 'rep' is always true [knownConditionTrueFalse] 2.18.0 gvm-libs-22.24.0/util/kb.c:1295:15: style: Condition 'rep' is always true [knownConditionTrueFalse] 2.18.0 gvm-libs-22.24.0/util/kb.c:1361:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1392:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1432:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1473:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1481:11: style: Condition 'rep' is always true [knownConditionTrueFalse] 2.18.0 gvm-libs-22.24.0/util/kb.c:1523:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1552:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1588:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1638:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1708:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.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.24.0/util/kb.c:1745:15: note: Assuming that condition 'except' is not redundant gvm-libs-22.24.0/util/kb.c:1708:73: note: Null pointer dereference 2.18.0 gvm-libs-22.24.0/util/kb.c:1784:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:1819:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:193:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_STATUS [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:223:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:271:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/util/kb.c:289:12: warning: If memory allocation fails, then there is a possible null pointer dereference: host [nullPointerOutOfMemory] gvm-libs-22.24.0/util/kb.c:288:17: note: Assuming allocation function fails gvm-libs-22.24.0/util/kb.c:288:17: note: Assignment 'host=calloc(1,host_len)', assigned value is 0 gvm-libs-22.24.0/util/kb.c:289:12: note: Null pointer dereference head gvm-libs-22.24.0/util/kb.c:29:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gvm-libs-22.24.0/util/kb.c:29:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gvm-libs-22.24.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.24.0/util/kb.c:1823:7: note: Assuming that condition 'kbr' is not redundant gvm-libs-22.24.0/util/kb.c:1825:20: note: Calling function 'redis_cmd', 1st argument 'kbr' value is 0 gvm-libs-22.24.0/util/kb.c:773:26: note: Calling function 'get_redis_ctx', 1st argument 'kbr' value is 0 gvm-libs-22.24.0/util/kb.c:318:7: note: Null pointer dereference 2.18.0 gvm-libs-22.24.0/util/kb.c:324:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:341:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 gvm-libs-22.24.0/util/kb.c:363:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECONNREFUSED [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:450:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:488:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:531:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:583:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:671:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_INTEGER [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:822:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_STRING [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:86:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:885:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:914:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_STRING [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:970:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_INTEGER [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.0/util/kb.c:998:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDIS_REPLY_ARRAY [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.0/util/kb_tests.c:29:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.0/util/kb_tests.c:38:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/util/kb_tests.c:42:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] 2.18.0 gvm-libs-22.24.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] 2.18.0 gvm-libs-22.24.0/util/kb_tests.c:47:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] 2.18.0 gvm-libs-22.24.0/util/kb_tests.c:69:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gvm-libs-22.24.0/util/kb_tests.c:68:9: note: ret is assigned gvm-libs-22.24.0/util/kb_tests.c:69:7: note: ret is overwritten 2.18.0 gvm-libs-22.24.0/util/sshutils.c:47:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] head gvm-libs-22.24.0/util/sshutils.c:90:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SSH_VERSION_INT( ... ) [preprocessorErrorDirective] head gvm-libs-22.24.0/util/sshutils.c:90:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SSH_VERSION_INT( ... ) [preprocessorErrorDirective] DONE