2025-05-06 22:15 ftp://ftp.de.debian.org/debian/pool/main/o/openvas-scanner/openvas-scanner_23.17.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=libcurl --library=bsd --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8e656e5 (2025-05-06 23:42:00 +0200) count: 1067 1119 elapsed-time: 8.3 8.6 head-timing-info: old-timing-info: head results: openvas-scanner-23.17.0/misc/heartbeat.c:47:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIVE_TEST_TCP_ACK_SERVICE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/bpf_share.c:41:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/ftp_funcs.c:112:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/ftp_funcs.c:111:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/ftp_funcs.c:112:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/ftp_funcs.c:17:28: style: Parameter 'username' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/ftp_funcs.c:17:44: style: Parameter 'passwd' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/ftp_funcs.c:106:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/ftp_funcs.c:107:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/bpf_share.c:26:36: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/bpf_share.c:28:9: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/bpf_share.c:119:52: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/ipc.c:140:29: style:inconclusive: Function 'ipc_init' argument 1 names different: declaration 'protocol' definition 'type'. [funcArgNamesDifferent] openvas-scanner-23.17.0/misc/ipc.h:83:29: note: Function 'ipc_init' argument 1 names different: declaration 'protocol' definition 'type'. openvas-scanner-23.17.0/misc/ipc.c:140:29: note: Function 'ipc_init' argument 1 names different: declaration 'protocol' definition 'type'. openvas-scanner-23.17.0/misc/ipc.c:175:70: style:inconclusive: Function 'ipc_exec_as_process' argument 2 names different: declaration 'exec_context' definition 'exec_ctx'. [funcArgNamesDifferent] openvas-scanner-23.17.0/misc/ipc.h:80:46: note: Function 'ipc_exec_as_process' argument 2 names different: declaration 'exec_context' definition 'exec_ctx'. openvas-scanner-23.17.0/misc/ipc.c:175:70: note: Function 'ipc_exec_as_process' argument 2 names different: declaration 'exec_context' definition 'exec_ctx'. openvas-scanner-23.17.0/misc/ipc.c:248:24: style:inconclusive: Function 'ipc_contexts_init' argument 1 names different: declaration 'len' definition 'cap'. [funcArgNamesDifferent] openvas-scanner-23.17.0/misc/ipc.h:86:24: note: Function 'ipc_contexts_init' argument 1 names different: declaration 'len' definition 'cap'. openvas-scanner-23.17.0/misc/ipc.c:248:24: note: Function 'ipc_contexts_init' argument 1 names different: declaration 'len' definition 'cap'. openvas-scanner-23.17.0/misc/ipc.c:274:65: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/ipc_openvas_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] openvas-scanner-23.17.0/misc/ipc_openvas_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] openvas-scanner-23.17.0/misc/ipc_openvas_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] openvas-scanner-23.17.0/misc/ipc_openvas_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] openvas-scanner-23.17.0/misc/ipc_openvas_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] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:101:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] openvas-scanner-23.17.0/misc/ipc_pipe.c:55:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/ipc_openvas.c:371:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/ipc_openvas.c:499:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/ipc_pipe.c:85:42: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:31:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:56:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:96:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:147:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:27:3: error: Memory leak: data_s [memleak] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:35:3: error: Memory leak: data_r [memleak] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:52:3: error: Memory leak: data_s [memleak] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:60:3: error: Memory leak: data_r [memleak] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:95:3: error: Memory leak: data_r [memleak] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:27:10: style: Variable 'data_s' is reassigned a value before the old one has been used. [redundantAssignment] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:26:10: note: data_s is assigned openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:27:10: note: data_s is overwritten openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:35:10: style: Variable 'data_r' is reassigned a value before the old one has been used. [redundantAssignment] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:34:10: note: data_r is assigned openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:35:10: note: data_r is overwritten openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:52:10: style: Variable 'data_s' is reassigned a value before the old one has been used. [redundantAssignment] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:51:10: note: data_s is assigned openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:52:10: note: data_s is overwritten openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:60:10: style: Variable 'data_r' is reassigned a value before the old one has been used. [redundantAssignment] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:59:10: note: data_r is assigned openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:60:10: note: data_r is overwritten openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:95:10: style: Variable 'data_r' is reassigned a value before the old one has been used. [redundantAssignment] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:94:10: note: data_r is assigned openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:95:10: note: data_r is overwritten openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:126:18: style: Variable 'data_r' is reassigned a value before the old one has been used. [redundantAssignment] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:125:18: note: data_r is assigned openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:126:18: note: data_r is overwritten openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:23:10: style: Variable 'ua' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:47:10: style: Variable 'hn' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:48:10: style: Variable 'hns' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:74:8: style: Variable 'json_fake' can be declared as const array [constVariable] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:108:8: style: Variable 'json_fake' can be declared as const array [constVariable] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:104:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/misc/ipc_openvas_tests.c:124:15: style: Variable 'len' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/misc/openvas-krb5.c:341:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_NAME [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/openvas-krb5.c:399:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CREDENTIAL [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/openvas-krb5.c:410:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CREDENTIAL [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/openvas-krb5.c:451:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_NAME [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/openvas-krb5.c:532:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_EMPTY_BUFFER [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/openvas-krb5.c:573:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_BUFFER_SET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:129:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr32 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:188:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:219:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:359:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:437:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFCONF [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:500:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:648:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr32 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:740:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:928:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr32 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:1209:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:1282:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:1340:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:127:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:138:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:168:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:179:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:264:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:288:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:305:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:431:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:482:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:554:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:589:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CLIENT [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:722:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:747:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:906:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CRT_X509 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:970:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_MAX_SESSION_ID [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:1092:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:1222:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:1256:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:1475:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:1611:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:1648:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:1710:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:1803:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:1901:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:1932:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:2009:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6addr_any [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:2093:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:2222:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:2241:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/network.c:2261:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSOCK [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/openvas-krb5.c:591:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *out [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/openvas-krb5.c:590:17: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/openvas-krb5.c:590:17: note: Assignment '*out=calloc(1,sizeof(struct OKrb5Slice))', assigned value is 0 openvas-scanner-23.17.0/misc/openvas-krb5.c:591:4: note: Null pointer dereference openvas-scanner-23.17.0/misc/openvas-krb5.c:615:7: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/openvas-krb5.c:615:7: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/openvas-krb5.c:615:7: note: Assignment 'result=calloc(1,strlen("success")+1)', assigned value is 0 openvas-scanner-23.17.0/misc/openvas-krb5.c:615:7: note: Null pointer dereference openvas-scanner-23.17.0/misc/openvas-krb5.c:617:7: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/openvas-krb5.c:617:7: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/openvas-krb5.c:617:7: note: Assignment 'result=calloc(1,strlen("krb5.conf not found")+1)', assigned value is 0 openvas-scanner-23.17.0/misc/openvas-krb5.c:617:7: note: Null pointer dereference openvas-scanner-23.17.0/misc/openvas-krb5.c:619:7: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/openvas-krb5.c:619:7: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/openvas-krb5.c:619:7: note: Assignment 'result=calloc(1,strlen("krb5.conf not created")+1)', assigned value is 0 openvas-scanner-23.17.0/misc/openvas-krb5.c:619:7: note: Null pointer dereference openvas-scanner-23.17.0/misc/openvas-krb5.c:621:7: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/openvas-krb5.c:621:7: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/openvas-krb5.c:621:7: note: Assignment 'result=calloc(1,strlen("tmp krb5.conf not created")+1)', assigned value is 0 openvas-scanner-23.17.0/misc/openvas-krb5.c:621:7: note: Null pointer dereference openvas-scanner-23.17.0/misc/openvas-krb5.c:623:7: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/openvas-krb5.c:623:7: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/openvas-krb5.c:623:7: note: Assignment 'result=calloc(1,strlen("tmp krb5.conf not moved")+1)', assigned value is 0 openvas-scanner-23.17.0/misc/openvas-krb5.c:623:7: note: Null pointer dereference openvas-scanner-23.17.0/misc/openvas-krb5.c:625:7: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/openvas-krb5.c:625:7: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/openvas-krb5.c:625:7: note: Assignment 'result=calloc(1,strlen("realm not found")+1)', assigned value is 0 openvas-scanner-23.17.0/misc/openvas-krb5.c:625:7: note: Null pointer dereference openvas-scanner-23.17.0/misc/openvas-krb5.c:627:7: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/openvas-krb5.c:627:7: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/openvas-krb5.c:627:7: note: Assignment 'result=calloc(1,strlen("expected null")+1)', assigned value is 0 openvas-scanner-23.17.0/misc/openvas-krb5.c:627:7: note: Null pointer dereference openvas-scanner-23.17.0/misc/openvas-krb5.c:629:7: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/openvas-krb5.c:629:7: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/openvas-krb5.c:629:7: note: Assignment 'result=calloc(1,strlen("expected not null")+1)', assigned value is 0 openvas-scanner-23.17.0/misc/openvas-krb5.c:629:7: note: Null pointer dereference openvas-scanner-23.17.0/misc/openvas-krb5.c:631:7: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/openvas-krb5.c:631:7: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/openvas-krb5.c:631:7: note: Assignment 'result=calloc(1,strlen("unable to write")+1)', assigned value is 0 openvas-scanner-23.17.0/misc/openvas-krb5.c:631:7: note: Null pointer dereference openvas-scanner-23.17.0/misc/openvas-krb5.c:633:7: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/openvas-krb5.c:633:7: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/openvas-krb5.c:633:7: note: Assignment 'result=calloc(1,strlen("no memory")+1)', assigned value is 0 openvas-scanner-23.17.0/misc/openvas-krb5.c:633:7: note: Null pointer dereference openvas-scanner-23.17.0/misc/openvas-krb5.c:254:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/pcap_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] openvas-scanner-23.17.0/misc/pcap_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] openvas-scanner-23.17.0/misc/pcap_tests.c:71:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] openvas-scanner-23.17.0/misc/pcap_tests.c:99:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] openvas-scanner-23.17.0/misc/pcap_tests.c:122:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] openvas-scanner-23.17.0/misc/pcap_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] openvas-scanner-23.17.0/misc/pcap_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] openvas-scanner-23.17.0/misc/pcap_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] openvas-scanner-23.17.0/misc/pcap_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] openvas-scanner-23.17.0/misc/pcap_tests.c:251:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] openvas-scanner-23.17.0/misc/pcap_tests.c:15:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loose_mocks [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap_tests.c:82:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap_tests.c:110:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_not_null [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap_tests.c:125:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap_tests.c:133:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable learning_mocks [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap_tests.c:164:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap_tests.c:187:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap_tests.c:220:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap_tests.c:247:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap.c:1000:39: warning: Either the condition 'best_match!=-1' is redundant or the array 'myroutes[1024]' is accessed at index -1, which is out of bounds. [negativeIndex] openvas-scanner-23.17.0/misc/pcap.c:1003:22: note: Assuming that condition 'best_match!=-1' is not redundant openvas-scanner-23.17.0/misc/pcap.c:1000:39: note: Negative array index openvas-scanner-23.17.0/misc/pcap.c:1002:17: warning: Either the condition 'best_match!=-1' is redundant or the array 'myroutes[1024]' is accessed at index -1, which is out of bounds. [negativeIndex] openvas-scanner-23.17.0/misc/pcap.c:1003:22: note: Assuming that condition 'best_match!=-1' is not redundant openvas-scanner-23.17.0/misc/pcap.c:1002:17: note: Negative array index openvas-scanner-23.17.0/misc/pcap.c:1002:44: warning: Either the condition 'best_match!=-1' is redundant or the array 'myroutes[1024]' is accessed at index -1, which is out of bounds. [negativeIndex] openvas-scanner-23.17.0/misc/pcap.c:1003:22: note: Assuming that condition 'best_match!=-1' is not redundant openvas-scanner-23.17.0/misc/pcap.c:1002:44: note: Negative array index openvas-scanner-23.17.0/misc/pcap.c:428:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/pcap.c:507:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/pcap.c:517:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/pcap.c:544:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/pcap.c:557:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/pcap.c:624:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:637:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:654:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:674:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:754:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:776:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:787:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:805:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:809:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/pcap.c:810:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:1017:23: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] openvas-scanner-23.17.0/misc/pcap.c:1117:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:1130:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:1141:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:1159:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] openvas-scanner-23.17.0/misc/pcap.c:122:42: style: Condition '(ifs=v6_getinterfaces(&ifaces))==NULL' is always false [knownConditionTrueFalse] openvas-scanner-23.17.0/misc/pcap.c:183:7: style: Condition '!mydevs' is always false [knownConditionTrueFalse] openvas-scanner-23.17.0/misc/pcap.c:948:15: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] openvas-scanner-23.17.0/misc/pcap.c:997:7: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] openvas-scanner-23.17.0/misc/pcap.c:1002:56: warning: Either the condition 'myroutes[best_match].dev!=NULL' is redundant or there is possible null pointer dereference: myroutes[best_match].dev. [nullPointerRedundantCheck] openvas-scanner-23.17.0/misc/pcap.c:990:44: note: Assuming that condition 'myroutes[best_match].dev!=NULL' is not redundant openvas-scanner-23.17.0/misc/pcap.c:1002:56: note: Null pointer dereference openvas-scanner-23.17.0/misc/pcap.c:207:52: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/pcap.c:209:26: style: Variable 'mydevs' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/pcap.c:341:24: style: Variable 's6addr' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/pcap.c:423:23: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/pcap.c:741:9: style: Variable 'token' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/pcap.c:1014:27: style: Variable 'myhostent' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/pcap.c:1292:20: style: Variable 'addr_aux' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/pcap.c:1017:38: error: Uninitialized variable: myname [uninitvar] openvas-scanner-23.17.0/misc/pcap.c:63:26: style: struct member 'myroute::dev' is never used. [unusedStructMember] openvas-scanner-23.17.0/misc/pcap.c:65:17: style: struct member 'myroute::mask' is never used. [unusedStructMember] openvas-scanner-23.17.0/misc/pcap.c:66:17: style: struct member 'myroute::dest' is never used. [unusedStructMember] openvas-scanner-23.17.0/misc/pcap.c:67:17: style: struct member 'myroute::metric' is never used. [unusedStructMember] openvas-scanner-23.17.0/misc/network.c:243:7: portability: Undefined behaviour, when 'fd-1000000' is -1000000 the pointer arithmetic 'connections+(fd-1000000)' is out of bounds. [pointerOutOfBoundsCond] openvas-scanner-23.17.0/misc/network.c:241:35: note: Assuming that condition '(fd=get_connection_fd())<0' is not redundant openvas-scanner-23.17.0/misc/network.c:243:7: note: Pointer arithmetic overflow openvas-scanner-23.17.0/misc/network.c:1103:8: portability: Undefined behaviour, when 'fd-1000000' is -1000000 the pointer arithmetic 'connections+(fd-1000000)' is out of bounds. [pointerOutOfBoundsCond] openvas-scanner-23.17.0/misc/network.c:1098:35: note: Assuming that condition '(fd=get_connection_fd())<0' is not redundant openvas-scanner-23.17.0/misc/network.c:1103:8: note: Pointer arithmetic overflow openvas-scanner-23.17.0/misc/network.c:161:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/network.c:218:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/network.c:274:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/network.c:1900:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/network.c:1909:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/network.c:2013:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/network.c:2022:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/misc/network.c:1422:39: style: Condition 'l2>=max_len' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/misc/network.c:1410:14: note: l2 is assigned 'max_len>fp->bufcnt?fp->bufcnt:max_len' here. openvas-scanner-23.17.0/misc/network.c:1422:39: note: Condition 'l2>=max_len' is always true openvas-scanner-23.17.0/misc/network.c:1066:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] openvas-scanner-23.17.0/misc/network.c:1951:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] openvas-scanner-23.17.0/misc/network.c:1958:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] openvas-scanner-23.17.0/misc/network.c:1971:15: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] openvas-scanner-23.17.0/misc/network.c:1972:15: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] openvas-scanner-23.17.0/misc/network.c:1978:15: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] openvas-scanner-23.17.0/misc/network.c:234:34: style:inconclusive: Function 'openvas_register_connection' argument 1 names different: declaration 's' definition 'soc'. [funcArgNamesDifferent] openvas-scanner-23.17.0/misc/network.h:126:34: note: Function 'openvas_register_connection' argument 1 names different: declaration 's' definition 'soc'. openvas-scanner-23.17.0/misc/network.c:234:34: note: Function 'openvas_register_connection' argument 1 names different: declaration 's' definition 'soc'. openvas-scanner-23.17.0/misc/network.c:1583:40: style:inconclusive: Function 'write_stream_connection' argument 2 names different: declaration 'buf' definition 'buf0'. [funcArgNamesDifferent] openvas-scanner-23.17.0/misc/network.h:88:37: note: Function 'write_stream_connection' argument 2 names different: declaration 'buf' definition 'buf0'. openvas-scanner-23.17.0/misc/network.c:1583:40: note: Function 'write_stream_connection' argument 2 names different: declaration 'buf' definition 'buf0'. openvas-scanner-23.17.0/misc/network.c:134:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/network.c:326:17: style: Parameter 'txt' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/network.c:359:23: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/network.c:379:23: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/network.c:1056:9: style: Variable 'hostname' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/network.c:1707:23: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/network.c:1791:31: style: Parameter 'paddr' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/network.c:2160:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/network.c:2218:9: style: Variable 'buf0' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/network.c:2258:23: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/network.c:2276:12: style: Variable 'aa' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/network.c:2277:12: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/network.c:2299:13: style: Variable 'q' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/network.c:1938:7: warning: Uninitialized variable: ret [uninitvar] openvas-scanner-23.17.0/misc/network.c:1930:16: note: Assuming condition is false openvas-scanner-23.17.0/misc/network.c:1938:7: note: Uninitialized variable: ret openvas-scanner-23.17.0/misc/network.c:1974:26: error: Uninitialized variable: host_port_ip_str [uninitvar] openvas-scanner-23.17.0/misc/plugutils.c:90:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_PROTOCOL_UDP [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/plugutils.c:111:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_PROTOCOL_UDP [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/plugutils.c:178:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/plugutils.c:444:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/plugutils.c:632:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/plugutils.c:819:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nvtpref_free [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/plugutils.c:1112:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/plugutils.c:1141:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KB_TYPE_INT [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/scanneraux.c:30:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] openvas-scanner-23.17.0/misc/plugutils.c:855:52: error: Invalid g_file_open_tmp() argument nr 2. A nul-terminated string is required. [invalidFunctionArgStr] openvas-scanner-23.17.0/misc/plugutils.c:488:17: style: Condition 'result==0' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/misc/plugutils.c:487:43: note: Calling function 'check_kb_inconsistency_log' returns 0 openvas-scanner-23.17.0/misc/plugutils.c:487:43: note: Assignment 'result=check_kb_inconsistency_log()', assigned value is 0 openvas-scanner-23.17.0/misc/plugutils.c:488:17: note: Condition 'result==0' is always true openvas-scanner-23.17.0/misc/plugutils.c:513:17: style: Condition 'result==0' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/misc/plugutils.c:512:43: note: Calling function 'check_kb_inconsistency_log' returns 0 openvas-scanner-23.17.0/misc/plugutils.c:512:43: note: Assignment 'result=check_kb_inconsistency_log()', assigned value is 0 openvas-scanner-23.17.0/misc/plugutils.c:513:17: note: Condition 'result==0' is always true openvas-scanner-23.17.0/misc/plugutils.c:539:17: style: Condition 'result==0' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/misc/plugutils.c:538:43: note: Calling function 'check_kb_inconsistency_log' returns 0 openvas-scanner-23.17.0/misc/plugutils.c:538:43: note: Assignment 'result=check_kb_inconsistency_log()', assigned value is 0 openvas-scanner-23.17.0/misc/plugutils.c:539:17: note: Condition 'result==0' is always true openvas-scanner-23.17.0/misc/plugutils.c:563:17: style: Condition 'result==0' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/misc/plugutils.c:562:43: note: Calling function 'check_kb_inconsistency_log' returns 0 openvas-scanner-23.17.0/misc/plugutils.c:562:43: note: Assignment 'result=check_kb_inconsistency_log()', assigned value is 0 openvas-scanner-23.17.0/misc/plugutils.c:563:17: note: Condition 'result==0' is always true openvas-scanner-23.17.0/misc/plugutils.c:587:17: style: Condition 'result==0' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/misc/plugutils.c:586:43: note: Calling function 'check_kb_inconsistency_log' returns 0 openvas-scanner-23.17.0/misc/plugutils.c:586:43: note: Assignment 'result=check_kb_inconsistency_log()', assigned value is 0 openvas-scanner-23.17.0/misc/plugutils.c:587:17: note: Condition 'result==0' is always true openvas-scanner-23.17.0/misc/plugutils.c:611:17: style: Condition 'result==0' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/misc/plugutils.c:610:43: note: Calling function 'check_kb_inconsistency_log' returns 0 openvas-scanner-23.17.0/misc/plugutils.c:610:43: note: Assignment 'result=check_kb_inconsistency_log()', assigned value is 0 openvas-scanner-23.17.0/misc/plugutils.c:611:17: note: Condition 'result==0' is always true openvas-scanner-23.17.0/misc/plugutils.c:58:10: style: Variable 'old' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/plugutils.c:75:68: style: Parameter 'proto' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/plugutils.c:100:54: style: Parameter 'proto' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/plugutils.c:166:11: style: Variable 'vhosts' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/plugutils.c:174:20: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/plugutils.c:244:11: style: Variable 'vhosts' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/plugutils.c:322:40: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/plugutils.c:928:10: style: Variable 'filesize_str' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/plugutils.c:1061:35: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/plugutils.c:1135:36: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/plugutils.c:1235:19: style: Variable 'res' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/plugutils.c:1247:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/plugutils.c:1316:53: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/plugutils.c:1316:65: style: Parameter 'itemfname' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/misc/table_driven_lsc_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] openvas-scanner-23.17.0/misc/table_driven_lsc_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] openvas-scanner-23.17.0/misc/table_driven_lsc_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] openvas-scanner-23.17.0/misc/table_driven_lsc_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] openvas-scanner-23.17.0/misc/table_driven_lsc.c:155:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc.c:230:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc.c:344:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc.c:369:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLUPART_URL [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc.c:567:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc.c:652:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_t [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc.c:738:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc.c:846:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc.c:866:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc.c:918:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc.c:1077:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc.c:1147:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/pcap_tests.c:124:10: style: Variable 'interface' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/pcap_tests.c:162:10: style: Variable 'interface' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/pcap_tests.c:248:27: warning: Uninitialized variable: dest [uninitvar] openvas-scanner-23.17.0/misc/pcap_tests.c:274:34: note: Calling function 'apply_ipv6_mask', 2nd argument '&dest' value is openvas-scanner-23.17.0/misc/pcap_tests.c:248:27: note: Uninitialized variable: dest openvas-scanner-23.17.0/misc/pcap_tests.c:174:13: style: Variable 'interface' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/misc/table_driven_lsc.c:605:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] openvas-scanner-23.17.0/misc/table_driven_lsc.c:621:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] openvas-scanner-23.17.0/misc/table_driven_lsc.c:920:44: error: Allocation with g_strdup, curl_easy_setopt doesn't release it. [leakNoVarFunctionCall] openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:41: warning: Either the condition 'start' is redundant or there is possible null pointer dereference: start. [nullPointerRedundantCheck] openvas-scanner-23.17.0/misc/table_driven_lsc.c:782:15: note: Assuming that condition 'start' is not redundant openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:41: note: Null pointer dereference openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:48: warning: Either the condition 'stop' is redundant or there is possible null pointer dereference: stop. [nullPointerRedundantCheck] openvas-scanner-23.17.0/misc/table_driven_lsc.c:782:24: note: Assuming that condition 'stop' is not redundant openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:48: note: Null pointer dereference openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:49: warning: Either the condition 'version' is redundant or there is possible null pointer dereference: version. [nullPointerRedundantCheck] openvas-scanner-23.17.0/misc/table_driven_lsc.c:788:20: note: Assuming that condition 'version' is not redundant openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:49: note: Null pointer dereference openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:58: warning: Either the condition 'specifier' is redundant or there is possible null pointer dereference: specifier. [nullPointerRedundantCheck] openvas-scanner-23.17.0/misc/table_driven_lsc.c:788:31: note: Assuming that condition 'specifier' is not redundant openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:58: note: Null pointer dereference openvas-scanner-23.17.0/misc/table_driven_lsc.c:858:29: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'response_callback_fn' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] openvas-scanner-23.17.0/misc/table_driven_lsc.c:950:50: note: You might need to cast the function pointer here openvas-scanner-23.17.0/misc/table_driven_lsc.c:858:29: note: Parameter 'ptr' can be declared as pointer to const openvas-scanner-23.17.0/misc/table_driven_lsc.c:1031:9: style: Variable 'body' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/user_agent.c:68:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVAS_MISC_VERSION [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/misc/table_driven_lsc_tests.c:54:9: style: Variable 'pkglist' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/misc/table_driven_lsc_tests.c:55:9: style: Variable 'json' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/capture_packet.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/capture_packet.c:221:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/charcnv.c:362:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/charcnv.c:552:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/capture_packet.c:100:9: style: Variable 'frame' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/capture_packet.c:314:23: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/exec.c:1557:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/exec.c:1640:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/genrand.c:90:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/genrand.c:128:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/genrand.c:207:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/charcnv.c:406:19: style: Condition 'i_len>=2' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/nasl/charcnv.c:404:19: note: Assuming that condition 'i_len<2' is not redundant openvas-scanner-23.17.0/nasl/charcnv.c:406:19: note: Condition 'i_len>=2' is always true openvas-scanner-23.17.0/nasl/charcnv.c:147:7: warning: If memory allocation fails, then there is a possible null pointer dereference: valid_table_ntlmssp [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/charcnv.c:144:35: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/charcnv.c:144:25: note: Assignment 'valid_table_ntlmssp=(uint8_t*)malloc(0x10000)', assigned value is 0 openvas-scanner-23.17.0/nasl/charcnv.c:147:7: note: Null pointer dereference openvas-scanner-23.17.0/nasl/charcnv.c:495:30: style:inconclusive: Function 'convert_string_ntlmssp' argument 7 names different: declaration 'allow_badcharcnv' definition 'allow_bad_conv'. [funcArgNamesDifferent] openvas-scanner-23.17.0/nasl/charcnv.c:71:30: note: Function 'convert_string_ntlmssp' argument 7 names different: declaration 'allow_badcharcnv' definition 'allow_bad_conv'. openvas-scanner-23.17.0/nasl/charcnv.c:495:30: note: Function 'convert_string_ntlmssp' argument 7 names different: declaration 'allow_badcharcnv' definition 'allow_bad_conv'. openvas-scanner-23.17.0/nasl/charcnv.c:156:63: error: Uninitialized variable: c [uninitvar] openvas-scanner-23.17.0/nasl/charcnv.c:170:17: error: Uninitialized variable: *((((unsigned char*)(&c))[0]=((unsigned char*)(src))[0],((unsigned char*)(&c))[1]=((unsigned char*)(src))[1],&c)) [uninitvar] openvas-scanner-23.17.0/nasl/hmacmd5.c:82:17: style: Parameter 'key' can be declared as const array [constParameter] openvas-scanner-23.17.0/nasl/hmacmd5.c:82:33: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/iconv.c:75:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/iconv.c:109:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/iconv.c:240:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/iconv.c:158:7: error: Mismatching allocation and deallocation: ret [mismatchAllocDealloc] openvas-scanner-23.17.0/nasl/iconv.c:106:9: note: Mismatching allocation and deallocation: ret openvas-scanner-23.17.0/nasl/iconv.c:158:7: note: Mismatching allocation and deallocation: ret openvas-scanner-23.17.0/nasl/iconv.c:57:14: style: Variable 'bufp' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/exec.c:1647:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/exec.c:1711:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/exec.c:1716:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/exec.c:94:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] openvas-scanner-23.17.0/nasl/exec.c:93:25: note: outer condition: warn openvas-scanner-23.17.0/nasl/exec.c:94:13: note: identical inner condition: warn openvas-scanner-23.17.0/nasl/exec.c:154:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/exec.c:775:45: style: Variable 'p' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/exec.c:776:9: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/exec.c:776:14: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/exec.c:778:14: style: Variable 'pf' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/exec.c:1617:14: style: Variable 'pf' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/md4.c:63:27: style: Parameter 'M' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl-lint.c:165:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl-lint.c:97:11: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] openvas-scanner-23.17.0/nasl/md5.c:55:29: style:inconclusive: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] openvas-scanner-23.17.0/nasl/md5.h:59:29: note: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. openvas-scanner-23.17.0/nasl/md5.c:55:29: note: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. openvas-scanner-23.17.0/nasl/md5.c:71:31: style:inconclusive: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] openvas-scanner-23.17.0/nasl/md5.h:61:31: note: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. openvas-scanner-23.17.0/nasl/md5.c:71:31: note: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. openvas-scanner-23.17.0/nasl/md5.c:123:56: style:inconclusive: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] openvas-scanner-23.17.0/nasl/md5.h:63:56: note: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. openvas-scanner-23.17.0/nasl/md5.c:123:56: note: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. openvas-scanner-23.17.0/nasl/nasl.c:55:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl.c:123:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYCTL_ANY_INITIALIZATION_P [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl.c:168:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/lint.c:193:7: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] openvas-scanner-23.17.0/nasl/lint.c:388:20: warning: Either the condition 'st!=NULL' is redundant or there is possible null pointer dereference: st. [nullPointerRedundantCheck] openvas-scanner-23.17.0/nasl/lint.c:389:10: note: Assuming that condition 'st!=NULL' is not redundant openvas-scanner-23.17.0/nasl/lint.c:388:20: note: Null pointer dereference openvas-scanner-23.17.0/nasl/lint.c:793:13: warning: Either the condition 'st' is redundant or there is possible null pointer dereference: st. [nullPointerRedundantCheck] openvas-scanner-23.17.0/nasl/lint.c:779:7: note: Assuming that condition 'st' is not redundant openvas-scanner-23.17.0/nasl/lint.c:793:13: note: Null pointer dereference openvas-scanner-23.17.0/nasl/lint.c:429:30: style:inconclusive: Function 'nasl_lint_feature_flags' argument 1 names different: declaration 'flags' definition 'flag'. [funcArgNamesDifferent] openvas-scanner-23.17.0/nasl/lint.h:20:30: note: Function 'nasl_lint_feature_flags' argument 1 names different: declaration 'flags' definition 'flag'. openvas-scanner-23.17.0/nasl/lint.c:429:30: note: Function 'nasl_lint_feature_flags' argument 1 names different: declaration 'flags' definition 'flag'. openvas-scanner-23.17.0/nasl/lint.c:105:14: style: Variable 'lala' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/lint.c:118:49: style: Parameter 'finfo' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/lint.c:169:44: style: Parameter 'value' can be declared as pointer to const. However it seems that 'check_called_files' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] openvas-scanner-23.17.0/nasl/lint.c:865:49: note: You might need to cast the function pointer here openvas-scanner-23.17.0/nasl/lint.c:169:44: note: Parameter 'value' can be declared as pointer to const openvas-scanner-23.17.0/nasl/lint.c:317:44: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/lint.c:408:14: style: Variable 'element' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/lint.c:409:11: style: Variable 'current' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/lint.c:444:14: style: Variable 'pf' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/lint.c:691:14: style: Variable 'pf' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/lint.c:777:14: style: Variable 'st_aux' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:167:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:234:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:381:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcphdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:401:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:418:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:434:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:449:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:497:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcphdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:525:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_SYN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:607:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_SYN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:697:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:348:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:1070:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:481:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:486:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:487:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:532:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:613:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:377:14: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:400:18: style: Variable 'tcp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:416:18: style: Variable 'tcp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:432:18: style: Variable 'tcp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:525:9: style: Variable 'pkt' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:572:21: style: Variable 'rst' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:602:61: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:603:64: style: Parameter 'rtt' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:607:9: style: Variable 'pkt' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:651:21: style: Variable 'rst' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:497:15: style: Variable 'pkt' is not assigned a value. [unassignedVariable] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:619:18: style: Variable 'rtt_tv.tv_usec' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:623:21: style: Variable 'rtt_tv.tv_sec' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_builtin_synscan.c:624:22: style: Variable 'rtt_tv.tv_usec' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:182:11: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:416:15: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:417:15: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:232:33: style: Redundant condition: The condition 'p[1]' is redundant since 'p[1] == ':'' is sufficient. [redundantCondition] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:235:38: style: Redundant condition: The condition 'p[1]' is redundant since 'p[1] == ':'' is sufficient. [redundantCondition] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:128:18: style: Condition 'std_port(port)' is always false [knownConditionTrueFalse] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:128:18: note: Calling function 'std_port' returns 0 openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:128:18: note: Condition 'std_port(port)' is always false openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:1076:9: error: Resource leak: devnull_fd [resourceLeak] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:1106:20: style: The comparison 'max_sys_fd <= 0' is always true. [knownConditionTrueFalse] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:1064:68: note: 'max_sys_fd' is assigned value '0' here. openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:1106:20: note: The comparison 'max_sys_fd <= 0' is always true. openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:1061:15: style: Checking if unsigned expression 'timeout' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:150:20: style: Variable 'proto' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:1054:20: style: Variable 'p_addr' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:990:35: style: Variable 'crtt_sd' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_builtin_openvas_tcp_scanner.c:990:53: style: Variable 'crtt_emax' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_cmd_exec.c:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_cmd_exec.c:123:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_cmd_exec.c:319:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_cmd_exec.c:422:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_cmd_exec.c:488:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_cmd_exec.c:523:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_cmd_exec.c:563:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_cmd_exec.c:602:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypt_helper.c:26:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_MD5 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypt_helper.c:40:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_SHA1 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypt_helper.c:54:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_SHA256 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypt_helper.c:71:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_SHA384 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypt_helper.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPG_ERR_MISSING_KEY [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypt_helper.c:139:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPG_ERR_NO_ERROR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypt_helper.c:181:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypt_helper.c:181:21: style: Variable 'iv' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_cmd_exec.c:66:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_cmd_exec.c:419:17: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_cmd_exec.c:546:9: style: Variable 'content' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto.c:115:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD2 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:121:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD4 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:127:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD5 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:133:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_SHA1 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:139:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_SHA256 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:145:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_SHA512 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:151:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_RMD160 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:162:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_CIPHER_MODE_ECB [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:196:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_CIPHER_DES [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:215:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD2 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:221:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD5 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:227:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_SHA1 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:233:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_SHA384 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:239:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_RMD160 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:491:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_SHA512 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:497:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_SHA256 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:503:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MAC_CMAC_AES [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:509:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MAC_GMAC_AES [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:705:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD4 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:197:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_USG [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:259:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_USG [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:333:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_STRONG_RANDOM [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:385:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:680:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_USG [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1029:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1212:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPG_ERR_BAD_SIGNATURE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1316:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_USG [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1582:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1627:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1804:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_CIPHER_ARCFOUR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1939:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_CIPHER_ARCFOUR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:2145:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MAC_HMAC_SHA256 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_crypto.c:534:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_crypto.c:535:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_crypto.c:536:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_crypto.c:678:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_crypto.c:726:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_crypto.c:272:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto.c:272:15: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto.c:439:9: style: Variable 'secret' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto.c:439:18: style: Variable 'seed' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto.c:439:25: style: Variable 'label' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto.c:646:12: style: Variable 'encrypted_session_key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto.c:663:9: style: Variable 'password' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto.c:713:9: style: Variable 'pass' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto.c:744:9: style: Variable 'src' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto.c:789:9: style: Variable 'src_user' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto.c:789:20: style: Variable 'src_domain' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1547:22: style: Checking if unsigned expression 'keylen' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1622:24: style: Checking if unsigned expression 'datalen' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1767:35: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:2130:22: style: Checking if unsigned expression 'keylen' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:2130:49: style: Checking if unsigned expression 'labellen' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:2131:21: style: Checking if unsigned expression 'contextlen' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:94:38: style: Parameter 'cipher_elem' can be declared as pointer to const. However it seems that 'find_cipher_hd' is a callback function, if 'cipher_elem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:171:48: note: You might need to cast the function pointer here openvas-scanner-23.17.0/nasl/nasl_crypto2.c:94:38: note: Parameter 'cipher_elem' can be declared as pointer to const openvas-scanner-23.17.0/nasl/nasl_crypto2.c:94:56: style: Parameter 'id' can be declared as pointer to const. However it seems that 'find_cipher_hd' is a callback function, if 'id' is declared with const you might also need to cast function pointer(s). [constParameterCallback] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:171:48: note: You might need to cast the function pointer here openvas-scanner-23.17.0/nasl/nasl_crypto2.c:94:56: note: Parameter 'id' can be declared as pointer to const openvas-scanner-23.17.0/nasl/nasl_crypto2.c:132:24: style: Variable 'hd' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:718:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1613:18: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1698:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1698:16: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:1698:22: style: Variable 'iv' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:2115:24: style: Variable 'label' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_crypto2.c:2115:32: style: Variable 'context' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_debug.c:56:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_debug.c:116:9: style: Variable 'script_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_debug.c:179:9: style: Variable 'script_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:88:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_PACKET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:112:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msghdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:152:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_P_ALL [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:239:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_ADDR_LEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:284:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:330:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:371:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:398:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:446:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_ADDR_LEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:479:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:163:7: error: Resource leak: soc [resourceLeak] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:416:7: error: Resource leak: sock [resourceLeak] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:319:11: style: Variable 'frame' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:365:11: style: Variable 'frame' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:389:38: style: Parameter 'ip_address' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:480:10: style: Variable 'mac_broadcast_addr' can be declared as const array [constVariable] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:543:28: style: Variable 'answer_aux' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_http.c:47:25: style: Parameter 'method' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_http.c:47:39: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_http.c:47:63: style: Parameter 'httpver' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_http.c:68:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_host.c:122:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_host.c:162:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_host.c:192:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_host.c:380:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_host.c:547:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_http2.c:100:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_http2.c:147:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_http2.c:175:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_http2.c:195:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_http2.c:220:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_http2.c:282:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_http2.c:456:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_http2.c:506:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_http2.c:287:24: error: Array 'handle_table[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds] openvas-scanner-23.17.0/nasl/nasl_http2.c:276:35: note: Assuming that condition 'table_slot<10' is not redundant openvas-scanner-23.17.0/nasl/nasl_http2.c:287:24: note: Array index out of bounds openvas-scanner-23.17.0/nasl/nasl_http2.c:462:31: error: Array 'handle_table[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds] openvas-scanner-23.17.0/nasl/nasl_http2.c:450:35: note: Assuming that condition 'table_slot<10' is not redundant openvas-scanner-23.17.0/nasl/nasl_http2.c:462:31: note: Array index out of bounds openvas-scanner-23.17.0/nasl/nasl_http2.c:510:24: error: Array 'handle_table[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds] openvas-scanner-23.17.0/nasl/nasl_http2.c:500:35: note: Assuming that condition 'table_slot<10' is not redundant openvas-scanner-23.17.0/nasl/nasl_http2.c:510:24: note: Array index out of bounds openvas-scanner-23.17.0/nasl/nasl_http2.c:350:52: error: Allocation with g_strdup, curl_easy_setopt doesn't release it. [leakNoVarFunctionCall] openvas-scanner-23.17.0/nasl/nasl_http2.c:187:29: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'response_callback_fn' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] openvas-scanner-23.17.0/nasl/nasl_http2.c:356:52: note: You might need to cast the function pointer here openvas-scanner-23.17.0/nasl/nasl_http2.c:187:29: note: Parameter 'ptr' can be declared as pointer to const openvas-scanner-23.17.0/nasl/nasl_http2.c:211:27: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'header_callback_fn' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] openvas-scanner-23.17.0/nasl/nasl_http2.c:360:53: note: You might need to cast the function pointer here openvas-scanner-23.17.0/nasl/nasl_http2.c:211:27: note: Parameter 'buffer' can be declared as pointer to const openvas-scanner-23.17.0/nasl/nasl_http2.c:255:9: style: Variable 'item' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_http2.c:256:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_http2.c:258:9: style: Variable 'schema' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_http2.c:260:9: style: Variable 'hostname' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_host.c:512:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] openvas-scanner-23.17.0/nasl/nasl_host.c:547:17: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] openvas-scanner-23.17.0/nasl/nasl_host.c:54:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_host.c:117:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_host.c:118:9: style: Variable 'source' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_init.c:569:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVASLIB_VERSION [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_init.c:52:16: style: struct member 'init_func::c_code' is never used. [unusedStructMember] openvas-scanner-23.17.0/nasl/nasl_krb5.c:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_krb5.c:161:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_krb5.c:183:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_krb5.c:176:9: style: Variable 'kdc' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_krb5.c:87:7: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] openvas-scanner-23.17.0/nasl/nasl_krb5.c:122:7: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] openvas-scanner-23.17.0/nasl/nasl_lex_ctxt.c:52:22: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:657:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:703:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:752:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:773:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KB_TYPE_INT [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:60:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:113:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:477:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:149:36: style: Redundant condition: The condition 'n <= 0' is redundant since 'n != 3' is sufficient. [redundantCondition] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:798:11: style: Condition 'tcp<0' is always false [knownConditionTrueFalse] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:796:9: note: Assignment 'tcp=(gsize)(tcp_str)', assigned value is greater than -1 openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:798:11: note: Condition 'tcp<0' is always false openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:907:13: style: Condition '*p==1' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:903:13: note: Assignment 'w=0x0001', assigned value is 1 openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:907:13: note: Condition '*p==1' is always true openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:792:12: style: Checking if unsigned expression 'port' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:826:15: style: Checking if unsigned expression 'datalen' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:851:15: style: Checking if unsigned expression 'datalen' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:299:53: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:299:65: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:360:19: style: Variable 'a2' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:471:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:537:18: style: Variable 'u' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:575:9: style: Variable 'f' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:576:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:844:29: style: Variable 'headerformat' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:904:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:127:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:270:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:336:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:580:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcphdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:779:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:818:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1006:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1066:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1325:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_FIN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1464:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable udphdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1566:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable udphdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1634:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable udphdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1738:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1804:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmp [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2058:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2240:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2342:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2492:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:140:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip6_hdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:305:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:339:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:416:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:558:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcphdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:752:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:791:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:957:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcphdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1043:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCP_MSS_DESIRED [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1274:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_FIN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1408:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable udphdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1500:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable udphdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1565:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable udphdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1667:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip6_hdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1779:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_router_solicit [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1999:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2073:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmp6_hdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2146:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2180:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip6_hdr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2341:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:161:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:317:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:387:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:393:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:394:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:395:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:400:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:405:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:583:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:610:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:621:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:627:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:630:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:632:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:712:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:964:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:984:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1002:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1008:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1011:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1012:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1477:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1480:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1491:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1497:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1499:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1502:15: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1590:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1641:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1646:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1669:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1696:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1702:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1704:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1707:15: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1807:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1827:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1990:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2020:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2103:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2116:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2150:13: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2156:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2162:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2250:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2364:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2371:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2431:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2436:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2449:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2454:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2513:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2520:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2580:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2585:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2597:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2602:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1392:15: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:397:8: style: Redundant initialization for 'zero'. The initialized value is overwritten before it is read. [redundantInitialization] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:370:13: note: zero is initialized openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:397:8: note: zero is overwritten openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:111:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:186:14: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:304:14: style: Variable 'o_pkt' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:362:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:440:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:558:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:655:14: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:805:14: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:807:18: style: Variable 'tcp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:936:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1049:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1311:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1315:13: style: Variable 'c' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1458:13: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1549:14: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1551:18: style: Variable 'udphdr' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1624:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1679:17: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1740:13: style: Variable 'c' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1785:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1856:16: style: Variable 'icmp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1863:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1934:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1935:20: style: Variable 'icmp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:1976:14: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2019:17: style: Variable 'ptmp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2075:7: style: Variable 'ports' can be declared as const array [constVariable] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2422:26: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2441:31: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2572:26: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2590:31: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2221:23: style: Variable 'allow_broadcast' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2343:13: style: Variable 'is_ip' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_packet_forgery.c:2493:13: style: Variable 'is_ip' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:169:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:310:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:426:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:432:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:433:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:434:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:439:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:444:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:561:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:579:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:586:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:592:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:595:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:597:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:684:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:924:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:945:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:957:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:963:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:966:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:968:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1413:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1421:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1429:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1435:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1437:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1440:15: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1523:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1573:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1578:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1600:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1622:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1626:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1630:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1633:15: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1757:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1769:15: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1896:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1918:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1924:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1925:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1927:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2126:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2153:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2229:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2244:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2268:13: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2276:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2282:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2370:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2383:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:550:12: style: The statement 'if (ipsz!=40) ipsz=40' is logically equivalent to 'ipsz=40'. [duplicateConditionalAssign] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:551:10: note: Assignment 'ipsz=40' openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:550:12: note: Condition 'ipsz!=40' is redundant openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2247:56: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2247:61: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1342:15: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:945:10: warning: Either the condition 'data!=NULL' is redundant or there is possible null pointer dereference: data. [nullPointerRedundantCheck] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:967:16: note: Assuming that condition 'data!=NULL' is not redundant openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:945:10: note: Null pointer dereference openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1199:43: warning: Either the condition 'data!=NULL' is redundant or there is possible null pointer dereference: data. [nullPointerRedundantCheck] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1225:12: note: Assuming that condition 'data!=NULL' is not redundant openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1199:43: note: Null pointer dereference openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2247:61: style: Same expression on both sides of '|' because 'fl' and 'tc' represent the same value. [duplicateExpression] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2246:44: note: 'fl' is assigned value '0' here. openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2246:36: note: 'tc' is assigned value '0' here. openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2247:61: note: Same expression on both sides of '|' because 'fl' and 'tc' represent the same value. openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:436:8: style: Redundant initialization for 'zero'. The initialized value is overwritten before it is read. [redundantInitialization] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:407:13: note: zero is initialized openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:436:8: note: zero is overwritten openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:122:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:125:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:197:19: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:297:19: style: Variable 'o_pkt' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:301:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:343:23: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:399:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:533:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:535:19: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:621:19: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:778:19: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:780:18: style: Variable 'tcp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:901:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1006:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1258:23: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1262:13: style: Variable 'c' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1398:19: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1402:13: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1485:18: style: Variable 'udphdr' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1555:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1609:17: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1669:13: style: Variable 'c' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1728:19: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1986:21: style: Variable 'icmp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2061:13: style: Variable 'c' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2062:23: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2112:19: style: Variable 'ip6' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2122:13: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2152:17: style: Variable 'ptmp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2200:7: style: Variable 'ports' can be declared as const array [constVariable] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:1253:19: style: Variable 'options_len' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2342:23: style: Variable 'allow_multicast' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:100:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NVTPREF_TIMEOUT_ID [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:454:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:681:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KB_TYPE_INT [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:729:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KB_TYPE_INT [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:978:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1096:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_signature.c:66:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPGME_SIGSUM_VALID [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_signature.c:106:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVAS_GPG_BASE_DIR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_signature.c:105:10: style: Variable 'endpos' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:679:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:354:11: error: Memory leak: splits [memleak] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:51:19: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:283:9: style: Variable 'dep' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:497:9: style: Variable 'pref' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:631:27: style: Parameter 'lexic' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:861:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:920:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:957:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1091:10: style: Variable 'pkg_list' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1092:10: style: Variable 'os_version' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1133:19: style: Variable 'ports' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:349:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_snmp.c:431:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_smb.c:452:22: style: Condition 'bytes>0' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/nasl/nasl_smb.c:450:11: note: Assuming that condition '!bytes' is not redundant openvas-scanner-23.17.0/nasl/nasl_smb.c:452:22: note: Condition 'bytes>0' is always true openvas-scanner-23.17.0/nasl/nasl_smb.c:52:9: style: Variable 'version' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:83:9: style: Variable 'username' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:84:9: style: Variable 'password' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:85:9: style: Variable 'share' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:166:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:181:9: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:209:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:224:9: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:252:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:267:9: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:295:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:310:9: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:353:3: style: Variable 'username' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:354:3: style: Variable 'password' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:355:3: style: Variable 'realm' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_smb.c:356:3: style: Variable 'kdc' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_snmp.c:427:22: style: Condition 'bytes>0' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/nasl/nasl_snmp.c:425:11: note: Assuming that condition '!bytes' is not redundant openvas-scanner-23.17.0/nasl/nasl_snmp.c:427:22: note: Condition 'bytes>0' is always true openvas-scanner-23.17.0/nasl/nasl_snmp.c:790:7: style: Condition 'privproto' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/nasl/nasl_socket.c:63:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:80:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:246:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:397:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:403:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:543:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:781:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:923:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFMTU [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:986:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:1034:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:1075:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:1142:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:1172:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:1425:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CRT_X509 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:1533:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CRT_X509 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:159:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KB_TYPE_INT [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:230:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:652:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_AUTH_SUCCESS [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:748:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_OPTIONS_USER [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:874:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_AUTH_METHOD_PASSWORD [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:1048:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_AUTH_METHOD_INTERACTIVE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:1164:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_AUTH_INFO [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:1232:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_ERROR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:1412:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_ERROR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:1624:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_AUTH_METHOD_NONE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:1777:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_ERROR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:1820:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_ERROR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:2018:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_ERROR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_ssh.c:2084:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_ERROR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_socket.c:130:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] openvas-scanner-23.17.0/nasl/nasl_socket.c:252:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_socket.c:261:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_socket.c:305:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_socket.c:314:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_socket.c:540:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_socket.c:557:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_socket.c:182:22: style: Variable 'data_record' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_socket.c:756:16: style: Variable 'resend_data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_socket.c:914:9: style: Variable 'device' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_socket.c:773:14: style: Variable 'tv.tv_usec' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_socket.c:968:11: style: Variable 'mtu' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:463:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:528:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:746:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:866:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_tree.c:46:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_tree.c:228:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_var.c:66:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_var.c:155:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_var.c:804:8: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_var.c:1262:8: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_var.c:199:31: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_var.c:557:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_var.c:763:15: style: Variable 't' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_var.c:997:19: style: Variable 'u' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_var.c:1150:19: style: Variable 'v' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:241:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:742:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:743:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:767:9: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1123:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1050:10: style: Condition 'i1<=sz1' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1028:10: note: Assuming that condition 'i1>=sz1' is not redundant openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1050:10: note: Condition 'i1<=sz1' is always true openvas-scanner-23.17.0/nasl/nasl_text_utils.c:266:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:342:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:369:18: style: Variable 'val' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:388:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:412:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:672:9: style: Variable 'pattern' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:673:9: style: Variable 'replace' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1008:14: style: Variable 's2' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1066:9: style: Variable 'pattern' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1067:9: style: Variable 'string' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1092:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1092:19: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1221:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1282:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1283:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1287:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1323:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1325:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1327:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1359:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1359:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1359:17: style: Variable 'r' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:1359:25: style: Variable 'c' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:963:38: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] openvas-scanner-23.17.0/nasl/nasl_wmi.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_wmi.c:81:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/ntlmssp.c:19:31: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/ntlmssp.c:19:43: style: Parameter 'domain' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/ntlmssp.c:19:57: style: Parameter 'address_list' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/ntlmssp.c:20:53: style: Parameter 'challenge_data' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/ntlmssp.c:30:30: style: Parameter 'password' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/ntlmssp.c:61:29: style: Parameter 'password' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/ntlmssp.c:85:36: style: Parameter 'session_key' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:46:20: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:67:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:78:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:96:9: style: Variable 'version' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:136:3: style: Variable 'username' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:137:3: style: Variable 'password' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:139:3: style: Variable 'options' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:223:9: style: Variable 'query' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:280:3: style: Variable 'username' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:281:3: style: Variable 'password' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:282:3: style: Variable 'options' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:340:9: style: Variable 'query' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:393:3: style: Variable 'username' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:394:3: style: Variable 'password' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:395:3: style: Variable 'options' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:456:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:457:9: style: Variable 'key_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:501:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:544:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:587:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:588:9: style: Variable 'val_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:632:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:633:9: style: Variable 'val_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:680:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:681:9: style: Variable 'val_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:725:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:726:9: style: Variable 'val_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:770:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:771:9: style: Variable 'val_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:815:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:816:9: style: Variable 'val_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:865:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:866:9: style: Variable 'val_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:915:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:916:9: style: Variable 'val_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:918:9: style: Variable 'val' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:957:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:958:9: style: Variable 'val_name' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:960:9: style: Variable 'val' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:997:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_wmi.c:1036:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/smb_crypt.c:133:27: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/smb_crypt.c:152:26: style: Parameter 'in1' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/smb_crypt.c:152:37: style: Parameter 'in2' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/smb_crypt.c:160:34: style: Parameter 'in1' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/smb_crypt.c:160:45: style: Parameter 'in2' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/smb_crypt.c:302:15: style: Parameter 'p14' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/smb_crypt.c:304:9: style: Variable 'sp8' can be declared as const array [constVariable] openvas-scanner-23.17.0/nasl/smb_crypt.c:406:60: style: Parameter 'c8' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/smb_crypt2.c:53:59: style:inconclusive: Function 'SMBOWFencrypt_ntv2_ntlmssp' argument 2 names different: declaration 'srv_chal' definition 'srv_chal_data'. [funcArgNamesDifferent] openvas-scanner-23.17.0/nasl/smb_crypt.h:69:61: note: Function 'SMBOWFencrypt_ntv2_ntlmssp' argument 2 names different: declaration 'srv_chal' definition 'srv_chal_data'. openvas-scanner-23.17.0/nasl/smb_crypt2.c:53:59: note: Function 'SMBOWFencrypt_ntv2_ntlmssp' argument 2 names different: declaration 'srv_chal' definition 'srv_chal_data'. openvas-scanner-23.17.0/nasl/smb_crypt2.c:54:60: style:inconclusive: Function 'SMBOWFencrypt_ntv2_ntlmssp' argument 4 names different: declaration 'cli_chal' definition 'cli_chal_data'. [funcArgNamesDifferent] openvas-scanner-23.17.0/nasl/smb_crypt.h:70:62: note: Function 'SMBOWFencrypt_ntv2_ntlmssp' argument 4 names different: declaration 'cli_chal' definition 'cli_chal_data'. openvas-scanner-23.17.0/nasl/smb_crypt2.c:54:60: note: Function 'SMBOWFencrypt_ntv2_ntlmssp' argument 4 names different: declaration 'cli_chal' definition 'cli_chal_data'. openvas-scanner-23.17.0/nasl/smb_signing.c:23:43: style: Parameter 'mac_key' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/smb_signing.c:54:24: error: Uninitialized variable: sequence_buf [uninitvar] openvas-scanner-23.17.0/rust/crates/nasl-c-lib/c/cryptographic/gcrypt_mac.c:25:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPG_ERR_MISSING_KEY [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/rust/crates/nasl-c-lib/c/cryptographic/gcrypt_mac.c:54:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MAC_GMAC_AES [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/attack_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] openvas-scanner-23.17.0/src/attack_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] openvas-scanner-23.17.0/src/attack_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] openvas-scanner-23.17.0/src/attack_tests.c:55:1: portability: Omitted return type of function 'Ensure' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] openvas-scanner-23.17.0/src/attack_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] openvas-scanner-23.17.0/src/attack.c:306:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/attack.c:341:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/attack.c:359:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/attack.c:457:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/attack.c:563:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/attack.c:762:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/attack.c:841:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/attack.c:1150:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ESRCH [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/attack.c:1333:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/attack.c:256:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] openvas-scanner-23.17.0/src/attack.c:677:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] openvas-scanner-23.17.0/src/attack.c:675:23: style: Condition 'plugin!=NULL' is always true [knownConditionTrueFalse] openvas-scanner-23.17.0/src/attack.c:100:4: warning: Either the condition 'main_kb' is redundant or there is possible null pointer dereference: main_kb. [nullPointerRedundantCheck] openvas-scanner-23.17.0/src/attack.c:101:7: note: Assuming that condition 'main_kb' is not redundant openvas-scanner-23.17.0/src/attack.c:100:4: note: Null pointer dereference openvas-scanner-23.17.0/src/attack.c:135:24: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/attack.c:205:39: style: Parameter 'ip_str' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/attack.c:302:20: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/src/attack.c:317:37: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/attack.c:457:22: style: Variable 'error' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/src/attack.c:717:24: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/attack.c:809:39: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/attack.c:422:15: style: Variable 'len' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/src/attack.c:432:17: style: Variable 'len' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/src/debug_utils.c:28:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVAS_VERSION [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/hosts.c:227:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/hosts.c:292:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/hosts.c:74:3: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] openvas-scanner-23.17.0/src/hosts.c:259:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] openvas-scanner-23.17.0/src/hosts.c:64:31: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/hosts.c:64:41: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/hosts.c:131:18: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/hosts.c:192:31: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/nasl_plugins.c:85:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/nasl_plugins.c:122:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/nasl_plugins.c:190:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/nasl_plugins.c:150:3: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] openvas-scanner-23.17.0/src/openvas.c:280:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVAS_SYSCONF_DIR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/openvas.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYCTL_ANY_INITIALIZATION_P [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/openvas.c:340:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVAS_VERSION [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/openvas.c:439:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/openvas.c:511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/openvas.c:536:7: error: Memory leak: option_context [memleak] openvas-scanner-23.17.0/src/pluginlaunch.c:85:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/pluginlaunch.c:129:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/pluginlaunch.c:396:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCANNER_NVT_TIMEOUT [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/pluginlaunch.c:491:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/pluginlaunch.c:560:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/pluginload.c:73:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/pluginload.c:135:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/pluginload.c:233:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/pluginload.c:248:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/pluginload.c:145:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/src/pluginload.c:267:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/src/pluginlaunch.c:174:23: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/src/pluginlaunch.c:219:19: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/src/pluginlaunch.c:313:15: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] openvas-scanner-23.17.0/src/pluginlaunch.c:345:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/src/pluginlaunch.c:375:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/src/pluginlaunch.c:428:11: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/src/pluginlaunch.c:227:17: style: Parameter 'list1' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/pluginlaunch.c:234:15: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/src/pluginlaunch.c:301:68: style: Parameter 'upcoming' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/pluginlaunch.c:384:10: style: Variable 'timeout_str' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/src/pluginlaunch.c:411:9: style: Variable 'hit' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/src/pluginlaunch.c:124:29: style: Variable 'ret_terminate' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/src/plugs_req.c:96:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KB_TYPE_UNSPEC [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/plugs_req.c:136:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KB_TYPE_UNSPEC [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/plugs_req.c:182:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KB_TYPE_UNSPEC [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/pluginscheduler.c:226:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/plugs_req.c:39:34: style: Parameter 'ports_list' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/plugs_req.c:83:48: style: Parameter 'keys' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/plugs_req.c:122:48: style: Parameter 'keys' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/plugs_req.c:160:38: style: Parameter 'keys' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/plugs_req.c:173:13: style: Variable 're_str' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:93:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1505:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1737:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:2599:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/processes.c:53:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/processes.c:129:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/processes.c:145:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/processes.c:161:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/processes.c:215:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/processes.c:99:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] openvas-scanner-23.17.0/src/processes.c:146:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] openvas-scanner-23.17.0/src/pluginscheduler.c:239:11: style: Variable 'element' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/src/pluginscheduler.c:271:15: style: Variable 'element' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/src/pluginscheduler.c:334:29: style: Parameter 'plugins' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/src/pluginscheduler.c:51:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] openvas-scanner-23.17.0/src/sighand.c:36:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/sighand.c:130:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/sighand.c:117:24: warning: If memory allocation fails, then there is a possible null pointer dereference: strings [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/sighand.c:113:31: note: Assuming allocation function fails openvas-scanner-23.17.0/src/sighand.c:113:31: note: Assignment 'strings=backtrace_symbols(array,ret)', assigned value is 0 openvas-scanner-23.17.0/src/sighand.c:117:24: note: Null pointer dereference openvas-scanner-23.17.0/src/sighand.c:123:19: style:inconclusive: Function 'sighand_segv' argument 1 names different: declaration 'sig' definition 'given_signal'. [funcArgNamesDifferent] openvas-scanner-23.17.0/src/sighand.h:22:19: note: Function 'sighand_segv' argument 1 names different: declaration 'sig' definition 'given_signal'. openvas-scanner-23.17.0/src/sighand.c:123:19: note: Function 'sighand_segv' argument 1 names different: declaration 'sig' definition 'given_signal'. openvas-scanner-23.17.0/src/sighand.c:108:9: style: Variable 'message' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/src/utils.c:214:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONREAD [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/utils.c:224:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/utils.c:277:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] openvas-scanner-23.17.0/src/utils.c:92:1: error: Memory leak: filesize_str [memleak] openvas-scanner-23.17.0/src/utils.c:316:5: error: Memory leak: data [memleak] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1570:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1597:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:2567:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:2609:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:2138:28: style: Same expression 'strcmp(line,"bad request")==0' found multiple times in chain of '||' operators. [duplicateExpression] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1762:27: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:88:20: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:88:34: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1219:20: style: Variable 'norm' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1254:62: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1267:70: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1334:66: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1349:63: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1387:66: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1412:67: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1469:22: style: Parameter 'rtime' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1542:51: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1544:9: style: Variable 'head' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1551:9: style: Variable 'rw_timeout_s' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1552:9: style: Variable 'cnx_timeout_s' can be declared as pointer to const [constVariablePointer] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:1553:9: style: Variable 'wrap_timeout_s' can be declared as pointer to const [constVariablePointer] diff: 2.17.0 openvas-scanner-23.17.0/misc/network.c:2333:9: warning: If memory allocation fails, then there is a possible null pointer dereference: expr [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/network.c:2309:19: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/network.c:2309:19: note: Assignment 'expr=g_strdup(origexpr)', assigned value is 0 openvas-scanner-23.17.0/misc/network.c:2333:9: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/network.c:2335:3: warning: If memory allocation fails, then there is a possible null pointer dereference: expr [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/network.c:2309:19: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/network.c:2309:19: note: Assignment 'expr=g_strdup(origexpr)', assigned value is 0 openvas-scanner-23.17.0/misc/network.c:2335:3: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/network.c:2337:26: warning: If memory allocation fails, then there is a possible null pointer dereference: expr [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/network.c:2309:19: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/network.c:2309:19: note: Assignment 'expr=g_strdup(origexpr)', assigned value is 0 openvas-scanner-23.17.0/misc/network.c:2337:26: note: Null pointer dereference head openvas-scanner-23.17.0/misc/pcap.c:1002:44: warning: Either the condition 'best_match!=-1' is redundant or the array 'myroutes[1024]' is accessed at index -1, which is out of bounds. [negativeIndex] openvas-scanner-23.17.0/misc/pcap.c:1003:22: note: Assuming that condition 'best_match!=-1' is not redundant openvas-scanner-23.17.0/misc/pcap.c:1002:44: note: Negative array index head openvas-scanner-23.17.0/misc/pcap.c:122:42: style: Condition '(ifs=v6_getinterfaces(&ifaces))==NULL' is always false [knownConditionTrueFalse] 2.17.0 openvas-scanner-23.17.0/misc/pcap.c:1321:38: warning: If memory allocation fails, then there is a possible null pointer dereference: if_name [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/pcap.c:1310:34: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/pcap.c:1310:34: note: Assignment 'if_name=g_strdup(devs_aux->name)', assigned value is 0 openvas-scanner-23.17.0/misc/pcap.c:1290:10: note: Assuming condition is false openvas-scanner-23.17.0/misc/pcap.c:1321:38: note: Null pointer dereference head openvas-scanner-23.17.0/misc/pcap.c:183:7: style: Condition '!mydevs' is always false [knownConditionTrueFalse] head openvas-scanner-23.17.0/misc/pcap_tests.c:248:27: warning: Uninitialized variable: dest [uninitvar] openvas-scanner-23.17.0/misc/pcap_tests.c:274:34: note: Calling function 'apply_ipv6_mask', 2nd argument '&dest' value is openvas-scanner-23.17.0/misc/pcap_tests.c:248:27: note: Uninitialized variable: dest 2.17.0 openvas-scanner-23.17.0/misc/plugutils.c:225:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/plugutils.c:223:42: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/plugutils.c:223:29: note: Assignment 'tmp=excluded=g_strsplit(prefs_get("exclude_hosts"),",",0)', assigned value is 0 openvas-scanner-23.17.0/misc/plugutils.c:225:15: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/plugutils.c:646:24: warning: If memory allocation fails, then there is a possible null pointer dereference: action_str [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/plugutils.c:645:33: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/plugutils.c:645:33: note: Assignment 'action_str=g_string_new(action)', assigned value is 0 openvas-scanner-23.17.0/misc/plugutils.c:646:24: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/plugutils.c:780:49: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: cname [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/plugutils.c:777:24: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/plugutils.c:777:24: note: Assignment 'cname=g_strdup(name)', assigned value is 0 openvas-scanner-23.17.0/misc/plugutils.c:780:49: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/plugutils.c:809:38: warning: If memory allocation fails, then there is a possible null pointer dereference: opts [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/plugutils.c:807:32: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/plugutils.c:807:32: note: Assignment 'opts=g_strsplit(nvtpref_default(tmp->data),";",-1)', assigned value is 0 openvas-scanner-23.17.0/misc/plugutils.c:809:38: note: Null pointer dereference head openvas-scanner-23.17.0/misc/plugutils.c:855:52: error: Invalid g_file_open_tmp() argument nr 2. A nul-terminated string is required. [invalidFunctionArgStr] 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:1082:28: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:1044:38: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:1044:38: note: Assignment 'result=g_string_new(NULL)', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:1082:28: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:1089:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:1044:38: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:1044:38: note: Assignment 'result=g_string_new(NULL)', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:1089:48: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:297:22: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:908:35: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:908:35: note: Calling function 'help_tolower', 1st argument 'g_strdup(os)' value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:297:18: note: Assignment 'p=s', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:297:22: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:746:32: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:744:27: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:744:27: note: Assignment 'name=g_strdup(json_reader_get_string_value(reader))', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:746:32: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:751:45: warning: If memory allocation fails, then there is a possible null pointer dereference: installed_version [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:749:40: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:749:40: note: Assignment 'installed_version=g_strdup(json_reader_get_string_value(reader))', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:751:45: note: Null pointer dereference head openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:41: warning: Either the condition 'start' is redundant or there is possible null pointer dereference: start. [nullPointerRedundantCheck] openvas-scanner-23.17.0/misc/table_driven_lsc.c:782:15: note: Assuming that condition 'start' is not redundant openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:41: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:41: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:759:28: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:759:28: note: Assignment 'start=g_strdup(json_reader_get_string_value(reader))', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:41: note: Null pointer dereference head openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:48: warning: Either the condition 'stop' is redundant or there is possible null pointer dereference: stop. [nullPointerRedundantCheck] openvas-scanner-23.17.0/misc/table_driven_lsc.c:782:24: note: Assuming that condition 'stop' is not redundant openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:48: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:48: warning: If memory allocation fails, then there is a possible null pointer dereference: stop [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:762:27: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:762:27: note: Assignment 'stop=g_strdup(json_reader_get_string_value(reader))', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:764:48: note: Null pointer dereference head openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:49: warning: Either the condition 'version' is redundant or there is possible null pointer dereference: version. [nullPointerRedundantCheck] openvas-scanner-23.17.0/misc/table_driven_lsc.c:788:20: note: Assuming that condition 'version' is not redundant openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:49: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:49: warning: If memory allocation fails, then there is a possible null pointer dereference: version [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:768:30: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:768:30: note: Assignment 'version=g_strdup(json_reader_get_string_value(reader))', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:49: note: Null pointer dereference head openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:58: warning: Either the condition 'specifier' is redundant or there is possible null pointer dereference: specifier. [nullPointerRedundantCheck] openvas-scanner-23.17.0/misc/table_driven_lsc.c:788:31: note: Assuming that condition 'specifier' is not redundant openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:58: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:58: warning: If memory allocation fails, then there is a possible null pointer dereference: specifier [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:771:32: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:771:32: note: Assignment 'specifier=g_strdup(json_reader_get_string_value(reader))', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:773:58: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:905:20: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:904:22: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:904:22: note: Assignment 'url=g_string_new(notusdata->server)', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:905:20: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:915:20: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:904:22: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:904:22: note: Assignment 'url=g_string_new(notusdata->server)', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:915:20: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:918:37: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:904:22: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:904:22: note: Assignment 'url=g_string_new(notusdata->server)', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:918:37: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:920:54: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:904:22: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:904:22: note: Assignment 'url=g_string_new(notusdata->server)', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:920:54: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:936:24: warning: If memory allocation fails, then there is a possible null pointer dereference: xapikey [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:935:30: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:935:30: note: Assignment 'xapikey=g_string_new("X-APIKEY: ")', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:936:24: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:937:65: warning: If memory allocation fails, then there is a possible null pointer dereference: xapikey [nullPointerOutOfMemory] openvas-scanner-23.17.0/misc/table_driven_lsc.c:935:30: note: Assuming allocation function fails openvas-scanner-23.17.0/misc/table_driven_lsc.c:935:30: note: Assignment 'xapikey=g_string_new("X-APIKEY: ")', assigned value is 0 openvas-scanner-23.17.0/misc/table_driven_lsc.c:937:65: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl.c:375:23: warning: If memory allocation fails, then there is a possible null pointer dereference: splits [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl.c:374:47: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl.c:374:47: note: Assignment 'splits=g_strsplit(*kb_values_aux,"=",-1)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl.c:375:23: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:335:27: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer2 [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:334:22: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:334:22: note: Assignment 'buffer2=g_strdup(buffer)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_builtin_find_service.c:335:27: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:554:28: warning: If memory allocation fails, then there is a possible null pointer dereference: daddr [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:546:31: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:546:31: note: Assignment 'daddr=g_strdup_printf("%02x:%02x:%02x:%02x:%02x:%02x",(u_int)answer_aux->ether_shost[0],(u_int)answer_aux->ether_shost[1],(u_int)answer_aux->ether_shost[2],(u_int)answer_aux->ether_shost[3],(u_int)answer_aux->ether_shost[4],(u_int)answer_aux->ether_shost[5])', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_frame_forgery.c:554:28: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_host.c:130:45: warning: If memory allocation fails, then there is a possible null pointer dereference: lower [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_host.c:128:27: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_host.c:128:27: note: Assignment 'lower=g_ascii_strdown(value,-1)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_host.c:130:45: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_http.c:130:39: warning: If memory allocation fails, then there is a possible null pointer dereference: hostheader [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_http.c:116:31: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_http.c:116:31: note: Assignment 'hostheader=g_strdup(hostname)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_http.c:130:39: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_http.c:169:24: warning: If memory allocation fails, then there is a possible null pointer dereference: request [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_http.c:157:30: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_http.c:157:30: note: Assignment 'data_tmp=g_strconcat(request,content_length,data,NULL)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_http.c:159:17: note: Assignment 'request=data_tmp', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_http.c:169:24: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_http.c:56:29: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_http.c:52:20: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_http.c:52:20: note: Assignment 'ret=g_strdup(name)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_http.c:56:29: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_http.c:57:47: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_http.c:52:20: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_http.c:52:20: note: Assignment 'ret=g_strdup(name)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_http.c:57:47: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_http2.c:308:20: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_http2.c:307:31: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_http2.c:307:16: note: Assignment 'url=schema?g_string_new(schema):g_string_new("https")', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_http2.c:308:20: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_http2.c:309:20: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_http2.c:307:31: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_http2.c:307:16: note: Assignment 'url=schema?g_string_new(schema):g_string_new("https")', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_http2.c:309:20: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_http2.c:405:20: warning: If memory allocation fails, then there is a possible null pointer dereference: complete_resp [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_http2.c:404:41: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_http2.c:404:41: note: Assignment 'complete_resp=g_string_new(header_data.ptr)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_http2.c:405:20: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_http2.c:406:20: warning: If memory allocation fails, then there is a possible null pointer dereference: complete_resp [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_http2.c:404:41: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_http2.c:404:41: note: Assignment 'complete_resp=g_string_new(header_data.ptr)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_http2.c:406:20: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_http2.c:415:16: warning: If memory allocation fails, then there is a possible null pointer dereference: complete_resp [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_http2.c:404:41: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_http2.c:404:41: note: Assignment 'complete_resp=g_string_new(header_data.ptr)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_http2.c:415:16: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_http2.c:416:31: warning: If memory allocation fails, then there is a possible null pointer dereference: complete_resp [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_http2.c:404:41: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_http2.c:404:41: note: Assignment 'complete_resp=g_string_new(header_data.ptr)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_http2.c:416:31: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:269:48: warning: If memory allocation fails, then there is a possible null pointer dereference: bogus_data [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:267:40: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:267:40: note: Assignment 'bogus_data=g_strdup_printf("Network Security Scan by %s in progress",vendor_version_get())', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_misc_funcs.c:269:48: note: Null pointer dereference head openvas-scanner-23.17.0/nasl/nasl_packet_forgery_v6.c:2247:61: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] 2.17.0 openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1064:29: warning: If memory allocation fails, then there is a possible null pointer dereference: version [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1061:29: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1061:29: note: Assignment 'version=g_strdup(vendor_version_get())', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1064:29: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1065:24: warning: If memory allocation fails, then there is a possible null pointer dereference: version [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1061:29: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1061:29: note: Assignment 'version=g_strdup(vendor_version_get())', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:1065:24: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:351:12: warning: If memory allocation fails, then there is a possible null pointer dereference: splits [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:349:27: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:349:27: note: Assignment 'splits=g_strsplit(re,"=",0)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_scanner_glue.c:351:12: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_snmp.c:444:35: warning: If memory allocation fails, then there is a possible null pointer dereference: oid_and_name [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_snmp.c:443:33: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_snmp.c:443:33: note: Assignment 'oid_and_name=g_strsplit(string->str," ",2)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_snmp.c:444:35: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_snmp.c:445:32: warning: If memory allocation fails, then there is a possible null pointer dereference: oid_and_name [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_snmp.c:443:33: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_snmp.c:443:33: note: Assignment 'oid_and_name=g_strsplit(string->str," ",2)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_snmp.c:445:32: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_ssh.c:1878:16: warning: If memory allocation fails, then there is a possible null pointer dereference: response [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_ssh.c:1863:27: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_ssh.c:1863:27: note: Assignment 'response=g_string_new(NULL)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_ssh.c:1878:16: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_text_utils.c:525:24: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:695:23: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_text_utils.c:695:23: note: Assignment 'string=g_strdup(string)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_text_utils.c:697:38: note: Calling function '_regreplace', 3rd argument 'string' value is 0 openvas-scanner-23.17.0/nasl/nasl_text_utils.c:525:24: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_text_utils.c:757:10: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_text_utils.c:754:23: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_text_utils.c:754:23: note: Assignment 'string=g_strdup(string)', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_text_utils.c:756:7: note: Assignment 's=string', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_text_utils.c:757:10: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/nasl/nasl_var.c:1060:21: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] openvas-scanner-23.17.0/nasl/nasl_var.c:1003:23: note: Assuming allocation function fails openvas-scanner-23.17.0/nasl/nasl_var.c:1003:23: note: Assignment 'str=g_string_new("[ ")', assigned value is 0 openvas-scanner-23.17.0/nasl/nasl_var.c:1060:21: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/attack.c:243:20: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/attack.c:241:25: note: Assuming allocation function fails openvas-scanner-23.17.0/src/attack.c:241:25: note: Assignment 'msg=g_strdup_printf("WARNING: Cannot connect to KB at '%s': %s'",prefs_get("db_address"),strerror(errcode))', assigned value is 0 openvas-scanner-23.17.0/src/attack.c:243:20: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/attack.c:762:38: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/attack.c:754:29: note: Assuming allocation function fails openvas-scanner-23.17.0/src/attack.c:754:29: note: Assignment 'msg=g_strdup_printf("The following provided settings are deprecated since the 22.4 release and will be ignored: %s%s%s%s%s",source_iface?"source_iface (task setting) ":"",ifaces_allow?"ifaces_allow (user setting) ":"",ifaces_deny?"ifaces_deny (user setting) ":"",sys_ifaces_allow?"sys_ifaces_allow (scanner only setting) ":"",sys_ifaces_deny?"sys_ifaces_deny (scanner only setting)":"")', assigned value is 0 openvas-scanner-23.17.0/src/attack.c:762:38: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/hosts.c:76:17: warning: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/hosts.c:75:22: note: Assuming allocation function fails openvas-scanner-23.17.0/src/hosts.c:75:22: note: Assignment 'timestr=g_strdup(ts_ptr)', assigned value is 0 openvas-scanner-23.17.0/src/hosts.c:76:17: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/hosts.c:77:7: warning: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/hosts.c:75:22: note: Assuming allocation function fails openvas-scanner-23.17.0/src/hosts.c:75:22: note: Assignment 'timestr=g_strdup(ts_ptr)', assigned value is 0 openvas-scanner-23.17.0/src/hosts.c:77:7: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/hosts.c:81:13: warning: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/hosts.c:75:22: note: Assuming allocation function fails openvas-scanner-23.17.0/src/hosts.c:75:22: note: Assignment 'timestr=g_strdup(ts_ptr)', assigned value is 0 openvas-scanner-23.17.0/src/hosts.c:81:13: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/openvas.c:227:11: warning: If memory allocation fails, then there is a possible null pointer dereference: pref [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/openvas.c:226:33: note: Assuming allocation function fails openvas-scanner-23.17.0/src/openvas.c:226:33: note: Assignment 'pref=g_strsplit(res->v_str,"|||",2)', assigned value is 0 openvas-scanner-23.17.0/src/openvas.c:227:11: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/openvas.c:230:15: warning: If memory allocation fails, then there is a possible null pointer dereference: pref_name [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/openvas.c:229:42: note: Assuming allocation function fails openvas-scanner-23.17.0/src/openvas.c:229:42: note: Assignment 'pref_name=g_strsplit(pref[0],":",3)', assigned value is 0 openvas-scanner-23.17.0/src/openvas.c:230:15: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/pluginlaunch.c:329:15: warning: If memory allocation fails, then there is a possible null pointer dereference: split [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/pluginlaunch.c:328:29: note: Assuming allocation function fails openvas-scanner-23.17.0/src/pluginlaunch.c:328:29: note: Assignment 'split=g_strsplit(prefs_get("non_simult_ports"),", ",0)', assigned value is 0 openvas-scanner-23.17.0/src/pluginlaunch.c:329:15: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/pluginlaunch.c:330:69: warning: If memory allocation fails, then there is a possible null pointer dereference: split [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/pluginlaunch.c:328:29: note: Assuming allocation function fails openvas-scanner-23.17.0/src/pluginlaunch.c:328:29: note: Assignment 'split=g_strsplit(prefs_get("non_simult_ports"),", ",0)', assigned value is 0 openvas-scanner-23.17.0/src/pluginlaunch.c:330:69: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/pluginscheduler.c:173:27: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/pluginscheduler.c:171:41: note: Assuming allocation function fails openvas-scanner-23.17.0/src/pluginscheduler.c:171:41: note: Assignment 'array=g_strsplit(deps,", ",0)', assigned value is 0 openvas-scanner-23.17.0/src/pluginscheduler.c:173:27: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/pluginscheduler.c:176:54: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/pluginscheduler.c:171:41: note: Assuming allocation function fails openvas-scanner-23.17.0/src/pluginscheduler.c:171:41: note: Assignment 'array=g_strsplit(deps,", ",0)', assigned value is 0 openvas-scanner-23.17.0/src/pluginscheduler.c:176:54: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/plugs_req.c:47:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ports [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/plugs_req.c:46:22: note: Assuming allocation function fails openvas-scanner-23.17.0/src/plugs_req.c:46:22: note: Assignment 'ports=g_strsplit(ports_list,", ",0)', assigned value is 0 openvas-scanner-23.17.0/src/plugs_req.c:47:15: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/plugs_req.c:49:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ports [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/plugs_req.c:46:22: note: Assuming allocation function fails openvas-scanner-23.17.0/src/plugs_req.c:46:22: note: Assignment 'ports=g_strsplit(ports_list,", ",0)', assigned value is 0 openvas-scanner-23.17.0/src/plugs_req.c:49:25: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/utils.c:280:15: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/utils.c:344:21: note: Assuming allocation function fails openvas-scanner-23.17.0/src/utils.c:344:21: note: Assignment 'path=g_strdup_printf("%s/%s-stats.json",prefs_get("report_scripts"),scan_id)', assigned value is 0 openvas-scanner-23.17.0/src/utils.c:347:34: note: Calling function 'write_script_stats', 2nd argument 'path' value is 0 openvas-scanner-23.17.0/src/utils.c:280:15: note: Null pointer dereference 2.17.0 openvas-scanner-23.17.0/src/utils.c:333:30: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] openvas-scanner-23.17.0/src/utils.c:330:29: note: Assuming allocation function fails openvas-scanner-23.17.0/src/utils.c:330:29: note: Assignment 'buf=g_strdup_printf("{\"%s\": {\"start\": %s, \"stop\": %s}}",spl[0],spl[1],spl[2])', assigned value is 0 openvas-scanner-23.17.0/src/utils.c:333:30: note: Null pointer dereference DONE