2025-07-06 15:03 ftp://ftp.de.debian.org/debian/pool/main/w/wget/wget_1.25.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=zlib --library=pcre --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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 9b11b6b (2025-07-04 16:03:30 +0200) count: 1007 940 elapsed-time: 4.6 5.1 head-timing-info: old-timing-info: head results: wget-1.25.0/fuzz/main.c:130:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wget-1.25.0/fuzz/wget_cookie_fuzzer.c:79:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wget-1.25.0/fuzz/wget_css_fuzzer.c:104:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wget-1.25.0/fuzz/wget_html_fuzzer.c:85:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wget-1.25.0/fuzz/wget_cookie_fuzzer.c:76:9: warning: If memory allocation fails, then there is a possible null pointer dereference: set_cookie [nullPointerOutOfMemory] wget-1.25.0/fuzz/wget_cookie_fuzzer.c:75:30: note: Assuming allocation function fails wget-1.25.0/fuzz/wget_cookie_fuzzer.c:75:15: note: Assignment 'set_cookie=(char*)malloc(size+1)', assigned value is 0 wget-1.25.0/fuzz/wget_cookie_fuzzer.c:76:9: note: Null pointer dereference wget-1.25.0/fuzz/wget_cookie_fuzzer.c:77:2: warning: If memory allocation fails, then there is a possible null pointer dereference: set_cookie [nullPointerOutOfMemory] wget-1.25.0/fuzz/wget_cookie_fuzzer.c:75:30: note: Assuming allocation function fails wget-1.25.0/fuzz/wget_cookie_fuzzer.c:75:15: note: Assignment 'set_cookie=(char*)malloc(size+1)', assigned value is 0 wget-1.25.0/fuzz/wget_cookie_fuzzer.c:77:2: note: Null pointer dereference wget-1.25.0/fuzz/wget_ntlm_fuzzer.c:82:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ntlmdata [valueFlowBailoutIncompleteVar] wget-1.25.0/fuzz/wget_options_fuzzer.c:120:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wget-1.25.0/fuzz/wget_url_fuzzer.c:76:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wget-1.25.0/fuzz/wget_robots_fuzzer.c:75:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wget-1.25.0/fuzz/wget_progress_fuzzer.c:82:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wgint [valueFlowBailoutIncompleteVar] wget-1.25.0/fuzz/wget_url_fuzzer.c:79:9: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] wget-1.25.0/fuzz/wget_url_fuzzer.c:78:22: note: Assuming allocation function fails wget-1.25.0/fuzz/wget_url_fuzzer.c:78:7: note: Assignment 'in=(char*)malloc(size+1)', assigned value is 0 wget-1.25.0/fuzz/wget_url_fuzzer.c:79:9: note: Null pointer dereference wget-1.25.0/fuzz/wget_url_fuzzer.c:80:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] wget-1.25.0/fuzz/wget_url_fuzzer.c:78:22: note: Assuming allocation function fails wget-1.25.0/fuzz/wget_url_fuzzer.c:78:7: note: Assignment 'in=(char*)malloc(size+1)', assigned value is 0 wget-1.25.0/fuzz/wget_url_fuzzer.c:80:2: note: Null pointer dereference wget-1.25.0/lib/w32sock.h:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/accept.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/af_alg.h:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAFNOSUPPORT [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/af_alg.h:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAFNOSUPPORT [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/vasnprintf.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/vasnprintf.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/af_alg.h:97:21: style: Parameter 'resblock' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/af_alg.h:103:21: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/af_alg.h:104:21: style: Parameter 'resblock' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/openat.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/openat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/basename-lgpl.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/basename-lgpl.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/base32.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/base32.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/dirname.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/dirname.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/binary-io.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/binary-io.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:122:51: style: Parameter '_GL_UNUSED' can be declared as pointer to const. However it seems that 'my_write' is a callback function, if '_GL_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:142:12: note: You might need to cast the function pointer here wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:122:51: note: Parameter '_GL_UNUSED' can be declared as pointer to const wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:122:86: style: Parameter '_GL_UNUSED' can be declared as pointer to const. However it seems that 'my_write' is a callback function, if '_GL_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:142:12: note: You might need to cast the function pointer here wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:122:86: note: Parameter '_GL_UNUSED' can be declared as pointer to const wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:128:21: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:132:60: style: Parameter '_GL_UNUSED' can be declared as pointer to const. However it seems that 'my_errstr' is a callback function, if '_GL_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:143:12: note: You might need to cast the function pointer here wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:132:60: note: Parameter '_GL_UNUSED' can be declared as pointer to const wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:136:52: style: Parameter '_GL_UNUSED' can be declared as pointer to const. However it seems that 'my_close' is a callback function, if '_GL_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:143:23: note: You might need to cast the function pointer here wget-1.25.0/fuzz/wget_read_hunk_fuzzer.c:136:52: note: Parameter '_GL_UNUSED' can be declared as pointer to const wget-1.25.0/lib/bitrotate.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/bitrotate.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/bind.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/btowc.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/c-ctype.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/c-strcase.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/c-ctype.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/c-strcase.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/c32_get_type_test.c:47:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c32isalnum [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/calloc.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/pathmax.h:44:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/pathmax.h:44:4: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/canonicalize.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/canonicalize.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/closedir.c:60:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/concat-filename.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/concat-filename.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/dirfd.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/connect.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/dup-safer-flag.c:36:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/dup-safer.c:33:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/error.c:155:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] wget-1.25.0/lib/error.c:155:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] wget-1.25.0/lib/fatal-signal.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/fatal-signal.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/filenamecat.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/filenamecat.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/fd-safer-flag.c:45:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/fd-safer.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/freading.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/freading.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/hash.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/hash.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/flock.c:220:0: error: #error "This platform lacks flock function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] wget-1.25.0/lib/flock.c:220:4: error: #error "This platform lacks flock function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] wget-1.25.0/lib/fpurge.c:146:0: error: #error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] wget-1.25.0/lib/fpurge.c:146:4: error: #error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] wget-1.25.0/lib/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/fopen.c:84:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/attribute.h:93:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/attribute.h:93:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/stat-time.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/stat-time.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/fseeko.c:111:0: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] wget-1.25.0/lib/fseeko.c:111:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] wget-1.25.0/lib/ftell.c:34:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/utimens.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/utimens.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/sockets.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/sockets.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/getcwd-lgpl.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/getdelim.c:70:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/getgroups.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/getcwd-lgpl.c:82:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] wget-1.25.0/lib/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/getgroups.c:33:54: style: Parameter 'groups' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. wget-1.25.0/lib/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. wget-1.25.0/lib/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. wget-1.25.0/lib/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. wget-1.25.0/lib/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. wget-1.25.0/lib/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. wget-1.25.0/lib/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. wget-1.25.0/lib/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. wget-1.25.0/lib/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. wget-1.25.0/lib/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. wget-1.25.0/lib/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. wget-1.25.0/lib/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. wget-1.25.0/lib/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. wget-1.25.0/lib/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. wget-1.25.0/lib/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. wget-1.25.0/lib/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. wget-1.25.0/lib/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. wget-1.25.0/lib/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. wget-1.25.0/lib/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. wget-1.25.0/lib/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. wget-1.25.0/lib/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. wget-1.25.0/lib/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. wget-1.25.0/lib/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. wget-1.25.0/lib/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. wget-1.25.0/lib/getpeername.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/getpass.c:103:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/getpeername.c:32:60: style: Parameter 'addrlen' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/gettext.h:247:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] wget-1.25.0/lib/gettext.h:239:15: note: Array decayed to pointer here. wget-1.25.0/lib/gettext.h:226:8: note: Variable created here. wget-1.25.0/lib/gettext.h:247:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. wget-1.25.0/lib/minmax.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/minmax.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/timespec.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/timespec.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/getsockname.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/gettimeofday.c:142:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] wget-1.25.0/lib/gettimeofday.c:142:5: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] wget-1.25.0/lib/getsockname.c:32:60: style: Parameter 'addrlen' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/hash-pjw.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/hash-pjw.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/hard-locale.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/hash-triple.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/hash-triple.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/ialloc.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/ialloc.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/inet_ntop.c:107:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/inet_ntop.c:136:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/ioctl.c:68:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/inet_ntop.c:92:27: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/ioctl.c:62:43: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/link.c:174:0: error: #error "This platform lacks a link function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] wget-1.25.0/lib/link.c:174:4: error: #error "This platform lacks a link function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] wget-1.25.0/lib/listen.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/lseek.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/getopt.c:282:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/getopt.c:624:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/localcharset.c:1088:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] wget-1.25.0/lib/localcharset.c:1079:24: note: Assignment 'locale=NULL', assigned value is 0 wget-1.25.0/lib/localcharset.c:1088:14: note: Condition 'locale==NULL' is always true wget-1.25.0/lib/malloc.c:42:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] wget-1.25.0/lib/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] wget-1.25.0/lib/malloc/dynarray-skeleton.c:95:0: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] wget-1.25.0/lib/malloc/dynarray-skeleton.c:95:3: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] wget-1.25.0/lib/localcharset.c:1097:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] wget-1.25.0/lib/fnmatch_loop.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_EXTMATCH [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/fnmatch_loop.c:945:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/fnmatch_loop.c:1007:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/malloc/dynarray_emplace_enlarge.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/malloc/dynarray_resize.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/malloc/dynarray_finalize.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable array [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/malloc/dynarray_resize.c:31:31: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_resize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wget-1.25.0/lib/malloc/dynarray_resize.c:68:18: note: You might need to cast the function pointer here wget-1.25.0/lib/malloc/dynarray_resize.c:31:31: note: Parameter 'scratch' can be declared as pointer to const wget-1.25.0/lib/malloc/dynarray_finalize.c:29:33: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_finalize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wget-1.25.0/lib/malloc/dynarray_finalize.c:66:18: note: You might need to cast the function pointer here wget-1.25.0/lib/malloc/dynarray_finalize.c:29:33: note: Parameter 'scratch' can be declared as pointer to const wget-1.25.0/lib/malloc/scratch_buffer_grow.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/malloc/scratch_buffer_grow_preserve.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/malloc/scratch_buffer_set_array_size.c:41:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/malloca.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/malloca.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/mbchar.h:149:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/mbchar.h:149:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/malloc/dynarray_emplace_enlarge.c:31:40: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_emplace_enlarge' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wget-1.25.0/lib/malloc/dynarray_emplace_enlarge.c:77:18: note: You might need to cast the function pointer here wget-1.25.0/lib/malloc/dynarray_emplace_enlarge.c:31:40: note: Parameter 'scratch' can be declared as pointer to const wget-1.25.0/lib/mbiter.h:88:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/mbiter.h:88:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/strnlen1.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/strnlen1.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/mbtowc-impl.h:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/md5.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/md5.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/md2.c:147:36: style:inconclusive: Function 'md2_update_chksum' argument 1 names different: declaration 'md' definition 'ctx'. [funcArgNamesDifferent] wget-1.25.0/lib/md2.c:32:48: note: Function 'md2_update_chksum' argument 1 names different: declaration 'md' definition 'ctx'. wget-1.25.0/lib/md2.c:147:36: note: Function 'md2_update_chksum' argument 1 names different: declaration 'md' definition 'ctx'. wget-1.25.0/lib/md2.c:162:31: style:inconclusive: Function 'md2_compress' argument 1 names different: declaration 'md' definition 'ctx'. [funcArgNamesDifferent] wget-1.25.0/lib/md2.c:33:43: note: Function 'md2_compress' argument 1 names different: declaration 'md' definition 'ctx'. wget-1.25.0/lib/md2.c:162:31: note: Function 'md2_compress' argument 1 names different: declaration 'md' definition 'ctx'. wget-1.25.0/lib/mktime.c:588:1: error: There is an unknown macro here somewhere. Configuration is required. If weak_alias is a macro then please configure it. [unknownMacro] wget-1.25.0/lib/msvc-inval.h:57:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/msvc-inval.h:57:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/msvc-nothrow.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/msvc-nothrow.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/open.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/nl_langinfo.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/nl_langinfo.c:388:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decimal_point [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/openat-proc.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/opendir.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/os2-spawn.c:50:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/os2-spawn.c:68:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/os2-spawn.c:88:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/os2-spawn.c:141:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/os2-spawn.c:200:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/pipe-safer.c:41:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/nl_langinfo.c:462:5: style: Statements following 'return' will never be executed. [unreachableCode] wget-1.25.0/lib/pipe.c:48:0: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] wget-1.25.0/lib/pipe.c:48:3: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] wget-1.25.0/lib/pipe2-safer.c:42:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/xsize.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/xsize.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/pselect.c:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/os2-spawn.c:221:11: style: Condition '!libcx_spawn2_loaded' is always true [knownConditionTrueFalse] wget-1.25.0/lib/os2-spawn.c:167:17: style:inconclusive: Function 'spawnpvech' argument 6 names different: declaration 'stdin_fd' definition 'new_stdin'. [funcArgNamesDifferent] wget-1.25.0/lib/os2-spawn.h:37:28: note: Function 'spawnpvech' argument 6 names different: declaration 'stdin_fd' definition 'new_stdin'. wget-1.25.0/lib/os2-spawn.c:167:17: note: Function 'spawnpvech' argument 6 names different: declaration 'stdin_fd' definition 'new_stdin'. wget-1.25.0/lib/os2-spawn.c:167:32: style:inconclusive: Function 'spawnpvech' argument 7 names different: declaration 'stdout_fd' definition 'new_stdout'. [funcArgNamesDifferent] wget-1.25.0/lib/os2-spawn.h:37:42: note: Function 'spawnpvech' argument 7 names different: declaration 'stdout_fd' definition 'new_stdout'. wget-1.25.0/lib/os2-spawn.c:167:32: note: Function 'spawnpvech' argument 7 names different: declaration 'stdout_fd' definition 'new_stdout'. wget-1.25.0/lib/os2-spawn.c:167:48: style:inconclusive: Function 'spawnpvech' argument 8 names different: declaration 'stderr_fd' definition 'new_stderr'. [funcArgNamesDifferent] wget-1.25.0/lib/os2-spawn.h:37:57: note: Function 'spawnpvech' argument 8 names different: declaration 'stderr_fd' definition 'new_stderr'. wget-1.25.0/lib/os2-spawn.c:167:48: note: Function 'spawnpvech' argument 8 names different: declaration 'stderr_fd' definition 'new_stderr'. wget-1.25.0/lib/rawmemchr.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/quotearg.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/quotearg.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/readdir.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/rawmemchr.c:120:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] wget-1.25.0/lib/rawmemchr.c:61:36: note: s is assigned wget-1.25.0/lib/rawmemchr.c:120:16: note: s is overwritten wget-1.25.0/lib/rawmemchr.c:120:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] wget-1.25.0/lib/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/realloc.c:88:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/recv.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regcomp.c:125:5: error: There is an unknown macro here somewhere. Configuration is required. If gettext_noop is a macro then please configure it. [unknownMacro] wget-1.25.0/lib/rewinddir.c:40:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/rmdir.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/same-inode.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/same-inode.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/select.c:576:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/send.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/setlocale_null-unlocked.c:125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/setlocale_null.c:205:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/getopt.c:272:18: warning: The address of variable 'ambig_fallback' might be accessed at non-zero index. [objectIndex] wget-1.25.0/lib/getopt.c:251:21: note: Address of variable taken here. wget-1.25.0/lib/getopt.c:272:18: note: The address of variable 'ambig_fallback' might be accessed at non-zero index. wget-1.25.0/lib/getopt.c:265:18: style: Condition 'ambig_set!=&ambig_fallback' is always true [knownConditionTrueFalse] wget-1.25.0/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant wget-1.25.0/lib/getopt.c:265:18: note: Condition 'ambig_set!=&ambig_fallback' is always true wget-1.25.0/lib/getopt.c:267:16: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] wget-1.25.0/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant wget-1.25.0/lib/getopt.c:267:16: note: Null pointer dereference wget-1.25.0/lib/getopt.c:268:8: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] wget-1.25.0/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant wget-1.25.0/lib/getopt.c:268:8: note: Null pointer dereference wget-1.25.0/lib/getopt.c:267:16: error: Null pointer dereference [nullPointer] wget-1.25.0/lib/sha1.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/sha1.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/setsockopt.c:40:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/getopt.c:474:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. wget-1.25.0/lib/getopt.c:474:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. wget-1.25.0/lib/getopt.c:474:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. wget-1.25.0/lib/getopt.c:474:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. wget-1.25.0/lib/getopt.c:474:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. wget-1.25.0/lib/getopt.c:474:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. wget-1.25.0/lib/getopt.c:475:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. wget-1.25.0/lib/getopt.c:475:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. wget-1.25.0/lib/getopt.c:475:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. wget-1.25.0/lib/getopt.c:475:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. wget-1.25.0/lib/getopt.c:476:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. wget-1.25.0/lib/getopt.c:476:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. wget-1.25.0/lib/getopt.c:476:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. wget-1.25.0/lib/getopt.c:476:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. wget-1.25.0/lib/getopt.c:476:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. wget-1.25.0/lib/getopt.c:476:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. wget-1.25.0/lib/getopt.c:706:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. wget-1.25.0/lib/getopt.c:706:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. wget-1.25.0/lib/getopt.c:706:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. wget-1.25.0/lib/getopt.c:706:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. wget-1.25.0/lib/getopt.c:706:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. wget-1.25.0/lib/getopt.c:706:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. wget-1.25.0/lib/getopt.c:707:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. wget-1.25.0/lib/getopt.c:707:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. wget-1.25.0/lib/getopt.c:707:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. wget-1.25.0/lib/getopt.c:707:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. wget-1.25.0/lib/getopt.c:707:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. wget-1.25.0/lib/getopt.c:707:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. wget-1.25.0/lib/getopt.c:708:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] wget-1.25.0/lib/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. wget-1.25.0/lib/getopt.c:708:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. wget-1.25.0/lib/sha256.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/sha256.h:23:4: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/sha512.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/sha512.h:23:4: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/sig-handler.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/sig-handler.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/sigaction.c:55:0: error: #error "Revisit the assumptions made in the sigaction module" [preprocessorErrorDirective] wget-1.25.0/lib/sigaction.c:55:3: error: #error "Revisit the assumptions made in the sigaction module" [preprocessorErrorDirective] wget-1.25.0/lib/regex_internal.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:79:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:141:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:494:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:586:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:902:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:939:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:951:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:966:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:999:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1023:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1116:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1166:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1254:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1311:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1387:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1460:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1508:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1545:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1598:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1646:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/sigprocmask.c:116:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/sigprocmask.c:139:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/sigprocmask.c:159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/sigprocmask.c:180:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/sigprocmask.c:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/sigprocmask.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/sigprocmask.c:245:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/sigprocmask.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/spawn_faction_addclose.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/spawn_faction_adddup2.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/spawn_faction_addopen.c:47:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/spawnattr_destroy.c:24:45: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/spawn_faction_init.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/spawnattr_setflags.c:38:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POSIX_SPAWN_RESETIDS [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/spawni.c:903:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/strchrnul.c:138:12: style: Variable 'char_ptr' is reassigned a value before the old one has been used. [redundantAssignment] wget-1.25.0/lib/strchrnul.c:129:12: note: char_ptr is assigned wget-1.25.0/lib/strchrnul.c:138:12: note: char_ptr is overwritten wget-1.25.0/lib/strerror-override.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/strerror-override.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/spawni.c:1060:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] wget-1.25.0/lib/spawni.c:867:35: style:inconclusive: Function 'gl_posix_spawn_internal' argument 2 names different: declaration 'path' definition 'file'. [funcArgNamesDifferent] wget-1.25.0/lib/spawn_int.h:69:46: note: Function 'gl_posix_spawn_internal' argument 2 names different: declaration 'path' definition 'file'. wget-1.25.0/lib/spawni.c:867:35: note: Function 'gl_posix_spawn_internal' argument 2 names different: declaration 'path' definition 'file'. wget-1.25.0/lib/strnlen.c:32:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] wget-1.25.0/lib/symlink.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/strtol.c:257:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/fnmatch_loop.c:925:38: style: Condition 'n!=string_end' is always true [knownConditionTrueFalse] wget-1.25.0/lib/fnmatch_loop.c:1109:36: style: Condition 'rs==string' is always false [knownConditionTrueFalse] wget-1.25.0/lib/fnmatch_loop.c:934:18: style:inconclusive: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] wget-1.25.0/lib/fnmatch_loop.c:37:37: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. wget-1.25.0/lib/fnmatch_loop.c:934:18: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. wget-1.25.0/lib/fnmatch_loop.c:1096:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] wget-1.25.0/lib/fnmatch_loop.c:1105:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] wget-1.25.0/lib/fnmatch_loop.c:1113:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] wget-1.25.0/lib/fnmatch_loop.c:1137:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] wget-1.25.0/lib/fnmatch_loop.c:1154:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] wget-1.25.0/lib/fnmatch_loop.c:1164:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] wget-1.25.0/lib/tempname.c:96:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_NONBLOCK [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/tempname.c:130:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/tempname.c:137:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/tempname.c:145:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/tempname.c:196:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/time_r.c:42:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] wget-1.25.0/lib/time_r.c:48:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wget-1.25.0/lib/u64.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/u64.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/regexec.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1042:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1205:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1315:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1477:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1557:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1605:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1668:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1695:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1714:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1798:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1846:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1880:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1994:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:2076:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:2172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:2203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:2279:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:2371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:2442:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable accept_mb [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:2511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:2620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:2768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:2982:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:3059:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:3110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:3156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:3244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:3444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:3619:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_UTF8_PERIOD [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:3918:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_CHARS [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:3956:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:4018:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:4094:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:4143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:4170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:4201:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/tempname.c:247:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] wget-1.25.0/lib/tempname.c:126:17: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_file' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wget-1.25.0/lib/tempname.c:177:21: note: You might need to cast the function pointer here wget-1.25.0/lib/tempname.c:126:17: note: Parameter 'tmpl' can be declared as pointer to const wget-1.25.0/lib/tempname.c:128:8: style: Variable 'openflags' can be declared as pointer to const [constVariablePointer] wget-1.25.0/lib/tempname.c:135:16: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wget-1.25.0/lib/tempname.c:178:20: note: You might need to cast the function pointer here wget-1.25.0/lib/tempname.c:135:16: note: Parameter 'tmpl' can be declared as pointer to const wget-1.25.0/lib/tempname.c:135:39: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wget-1.25.0/lib/tempname.c:178:20: note: You might need to cast the function pointer here wget-1.25.0/lib/tempname.c:135:39: note: Parameter 'flags' can be declared as pointer to const wget-1.25.0/lib/tempname.c:141:21: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_nocreate' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wget-1.25.0/lib/tempname.c:179:25: note: You might need to cast the function pointer here wget-1.25.0/lib/tempname.c:141:21: note: Parameter 'tmpl' can be declared as pointer to const wget-1.25.0/lib/strtol.c:329:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] wget-1.25.0/lib/strtol.c:322:11: note: Assignment 'end=NULL', assigned value is 0 wget-1.25.0/lib/strtol.c:331:13: note: Assuming that condition 's==end' is not redundant wget-1.25.0/lib/strtol.c:303:10: note: Assignment 'save=s', assigned value is 0 wget-1.25.0/lib/strtol.c:303:8: note: save is assigned 's' here. wget-1.25.0/lib/strtol.c:329:13: note: Null pointer dereference wget-1.25.0/lib/unicase/u-casemap.h:172:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UC_CCC_A [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/strptime.c:687:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _GL_UNUSED [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/strptime.c:416:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:465:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:492:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:592:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:626:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:639:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:644:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:649:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:655:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:664:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:674:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:973:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:993:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:1007:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:1011:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:1016:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:1021:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:1027:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/strptime.c:1033:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] wget-1.25.0/lib/unistr/u8-uctomb-aux.c:53:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/unistr/u8-uctomb.c:67:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/uninorm/u-normalize-internal.h:60:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UC_DECOMPOSITION_MAX_LENGTH [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/uniwidth/width.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonspacing_table_ind [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/unlink.c:66:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regex_internal.c:1611:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] wget-1.25.0/lib/regex_internal.c:1661:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] wget-1.25.0/lib/waitpid.c:29:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_CHILD [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/wcrtomb.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/wcrtomb.c:28:42: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/windows-mutex.c:78:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/windows-mutex.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/windows-mutex.c:115:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/windows-path.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/windows-path.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/windows-recmutex.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/windows-recmutex.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/windows-recmutex.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/windows-recmutex.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/windows-spawn.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/windows-spawn.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/windows-rwlock.c:56:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/windows-rwlock.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/xalloc.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/windows-rwlock.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/xalloc.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/windows-rwlock.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/windows-rwlock.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/windows-rwlock.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/windows-rwlock.c:367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/xmemdup0.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/xmemdup0.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/xstrndup.h:20:0: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/lib/xstrndup.h:20:3: error: #error "Please include config.h first." [preprocessorErrorDirective] wget-1.25.0/src/connect.c:87:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:125:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:163:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:247:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:289:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:464:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:533:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:654:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:692:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:754:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:794:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:804:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:819:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:926:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:1038:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/convert.c:253:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/convert.c:587:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/css-url.c:220:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/css-url.c:90:23: style: Condition '--(*length)==0' is always false [knownConditionTrueFalse] wget-1.25.0/src/css-url.c:87:18: note: Assuming that condition '*length>0' is not redundant wget-1.25.0/src/css-url.c:90:23: note: Condition '--(*length)==0' is always false wget-1.25.0/src/css-url.c:156:27: warning: If memory allocation fails, then there is a possible null pointer dereference: uri [nullPointerOutOfMemory] wget-1.25.0/src/css-url.c:155:33: note: Assuming allocation function fails wget-1.25.0/src/css-url.c:155:33: note: Assignment 'uri=xmalloc(length+1)', assigned value is 0 wget-1.25.0/src/css-url.c:156:27: note: Null pointer dereference wget-1.25.0/src/css-url.c:157:19: warning: If memory allocation fails, then there is a possible null pointer dereference: uri [nullPointerOutOfMemory] wget-1.25.0/src/css-url.c:155:33: note: Assuming allocation function fails wget-1.25.0/src/css-url.c:155:33: note: Assignment 'uri=xmalloc(length+1)', assigned value is 0 wget-1.25.0/src/css-url.c:157:19: note: Null pointer dereference wget-1.25.0/src/cookies.c:465:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/cookies.c:778:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/cookies.c:1115:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] wget-1.25.0/src/cookies.c:1260:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/cookies.c:1381:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/connect.c:283:22: style: Condition 'str' is always false [knownConditionTrueFalse] wget-1.25.0/src/connect.c:274:23: note: Assignment 'str=NULL', assigned value is 0 wget-1.25.0/src/connect.c:283:22: note: Condition 'str' is always false wget-1.25.0/src/connect.c:868:3: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] wget-1.25.0/src/connect.c:867:10: note: Assuming allocation function fails wget-1.25.0/src/connect.c:867:10: note: Assignment 'info=xmalloc(sizeof(struct transport_info))', assigned value is 0 wget-1.25.0/src/connect.c:868:3: note: Null pointer dereference wget-1.25.0/src/connect.c:869:3: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] wget-1.25.0/src/connect.c:867:10: note: Assuming allocation function fails wget-1.25.0/src/connect.c:867:10: note: Assignment 'info=xmalloc(sizeof(struct transport_info))', assigned value is 0 wget-1.25.0/src/connect.c:869:3: note: Null pointer dereference wget-1.25.0/src/connect.c:122:29: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/connect.c:461:9: style: Variable 'setopt_ptr' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/connect.c:585:29: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/connect.c:799:27: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/connect.c:325:17: style: Variable 'bufsize' is assigned a value that is never used. [unreadVariable] wget-1.25.0/src/connect.c:461:20: style: Variable 'setopt_ptr' is assigned a value that is never used. [unreadVariable] wget-1.25.0/src/connect.c:462:25: style: Variable 'setopt_size' is assigned a value that is never used. [unreadVariable] wget-1.25.0/src/connect.c:462:13: style: Variable 'setopt_size' is assigned a value that is never used. [unreadVariable] wget-1.25.0/src/convert.c:84:20: warning: If memory allocation fails, then there is a possible null pointer dereference: file_array [nullPointerOutOfMemory] wget-1.25.0/src/convert.c:76:26: note: Assuming allocation function fails wget-1.25.0/src/convert.c:76:26: note: Assignment 'file_array=xmalloc(cnt*sizeof(arr[0]))', assigned value is 0 wget-1.25.0/src/convert.c:84:20: note: Null pointer dereference wget-1.25.0/src/convert.c:451:15: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] wget-1.25.0/src/convert.c:450:22: note: Assuming allocation function fails wget-1.25.0/src/convert.c:450:22: note: Assignment 'link=xmalloc(2+strlen(linkfile)+1)', assigned value is 0 wget-1.25.0/src/convert.c:451:15: note: Null pointer dereference wget-1.25.0/src/convert.c:452:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/convert.c:450:22: note: Assuming allocation function fails wget-1.25.0/src/convert.c:450:22: note: Assignment 'link=xmalloc(2+strlen(linkfile)+1)', assigned value is 0 wget-1.25.0/src/convert.c:452:20: note: Null pointer addition wget-1.25.0/src/convert.c:459:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/convert.c:457:22: note: Assuming allocation function fails wget-1.25.0/src/convert.c:457:22: note: Assignment 'link=xmalloc(3*basedirs+strlen(linkfile)+1)', assigned value is 0 wget-1.25.0/src/convert.c:459:22: note: Null pointer addition wget-1.25.0/src/convert.c:460:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/convert.c:457:22: note: Assuming allocation function fails wget-1.25.0/src/convert.c:457:22: note: Assignment 'link=xmalloc(3*basedirs+strlen(linkfile)+1)', assigned value is 0 wget-1.25.0/src/convert.c:460:20: note: Null pointer addition wget-1.25.0/src/convert.c:356:19: style: Variable 'newlink' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/convert.c:493:9: style: Variable 'org_basename' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/convert.c:493:31: style: Variable 'local_basename' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/convert.c:748:9: style: Variable 'any' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/convert.c:878:9: style: Variable 'file' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/convert.c:989:9: style: Variable 'file' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/ftp-basic.c:74:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp-basic.c:123:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp-basic.c:269:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp-basic.c:297:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp-basic.c:676:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp-basic.c:1311:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp-ls.c:210:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp-ls.c:525:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp-ls.c:1010:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp-ls.c:1070:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] css.c:2652:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] css.c:3193:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] css.c:3490:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] css.c:3728:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp-basic.c:1188:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-basic.c:1192:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-basic.c:1257:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-basic.c:1258:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-basic.c:117:19: warning: If memory allocation fails, then there is a possible null pointer dereference: defanged [nullPointerOutOfMemory] wget-1.25.0/src/ftp-basic.c:115:32: note: Assuming allocation function fails wget-1.25.0/src/ftp-basic.c:115:32: note: Assignment 'defanged=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/ftp-basic.c:117:19: note: Null pointer dereference wget-1.25.0/src/ftp-basic.c:119:31: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] wget-1.25.0/src/ftp-basic.c:115:32: note: Assuming allocation function fails wget-1.25.0/src/ftp-basic.c:115:32: note: Assignment 'defanged=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/ftp-basic.c:119:20: note: Assignment 'p=defanged', assigned value is 0 wget-1.25.0/src/ftp-basic.c:119:31: note: Null pointer dereference wget-1.25.0/src/ftp-basic.c:267:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] css.c:3494:2: warning: Possible null pointer dereference: b [nullPointer] css.c:3387:18: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 css.c:3494:2: note: Null pointer dereference css.c:3495:2: warning: Possible null pointer dereference: b [nullPointer] css.c:3387:18: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 css.c:3495:2: note: Null pointer dereference css.c:3193:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] css.c:3193:3: note: c is initialized css.c:3193:3: note: c is overwritten css.l:115:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:121:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:138:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:143:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:148:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:153:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:159:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:165:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:171:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:177:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:183:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:189:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:195:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:200:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:206:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:212:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:218:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:224:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:230:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:236:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:242:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:248:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:254:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:260:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:266:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:272:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:278:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:284:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:290:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:296:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:302:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:307:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:312:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:318:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:324:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:330:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:336:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.l:341:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] css.c:3272:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] css.c:347:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. css.c:3272:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. css.c:3679:46: style:inconclusive: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] css.c:299:46: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. css.c:3679:46: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. css.c:3692:46: style:inconclusive: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] css.c:300:45: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. css.c:3692:46: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. css.c:3692:60: style:inconclusive: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] css.c:300:56: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. css.c:3692:60: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. css.c:3824:24: style:inconclusive: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] css.c:2477:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. css.c:3824:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. css.c:3105:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/gnutls.c:83:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] wget-1.25.0/src/gnutls.c:115:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT [valueFlowBailoutIncompleteVar] wget-1.25.0/src/gnutls.c:288:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] wget-1.25.0/src/gnutls.c:406:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_REHANDSHAKE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/gnutls.c:493:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_AGAIN [valueFlowBailoutIncompleteVar] wget-1.25.0/src/gnutls.c:549:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] wget-1.25.0/src/gnutls.c:804:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_SSL3 [valueFlowBailoutIncompleteVar] wget-1.25.0/src/gnutls.c:866:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CLIENT [valueFlowBailoutIncompleteVar] wget-1.25.0/src/gnutls.c:984:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_SHORT_MEMORY_BUFFER [valueFlowBailoutIncompleteVar] wget-1.25.0/src/gnutls.c:1039:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/lib/regexec.c:1950:27: style:inconclusive: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. [funcArgNamesDifferent] wget-1.25.0/lib/regexec.c:94:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. wget-1.25.0/lib/regexec.c:1950:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. wget-1.25.0/lib/regexec.c:3425:21: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. [funcArgNamesDifferent] wget-1.25.0/lib/regexec.c:163:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. wget-1.25.0/lib/regexec.c:3425:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. wget-1.25.0/lib/regexec.c:3425:43: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. [funcArgNamesDifferent] wget-1.25.0/lib/regexec.c:164:22: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. wget-1.25.0/lib/regexec.c:3425:43: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. wget-1.25.0/lib/regexec.c:3613:35: style:inconclusive: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. [funcArgNamesDifferent] wget-1.25.0/lib/regexec.c:156:39: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. wget-1.25.0/lib/regexec.c:3613:35: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. wget-1.25.0/lib/regexec.c:4010:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] wget-1.25.0/lib/regexec.c:20:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. wget-1.25.0/lib/regexec.c:4010:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. wget-1.25.0/lib/regexec.c:4073:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] wget-1.25.0/lib/regexec.c:23:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. wget-1.25.0/lib/regexec.c:4073:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. wget-1.25.0/lib/regexec.c:4088:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] wget-1.25.0/lib/regexec.c:24:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. wget-1.25.0/lib/regexec.c:4088:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. wget-1.25.0/lib/regexec.c:798:20: style: Variable 'pstate' can be declared as pointer to const [constVariablePointer] wget-1.25.0/lib/regexec.c:1307:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/regexec.c:1307:45: style: Parameter 'prevregs' can be declared as pointer to const [constParameterPointer] wget-1.25.0/lib/regexec.c:1844:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] wget-1.25.0/lib/regexec.c:1953:34: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] wget-1.25.0/lib/regexec.c:1988:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] wget-1.25.0/lib/regexec.c:2084:38: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] wget-1.25.0/lib/regexec.c:2536:35: style: Variable 'bkref_ent' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:94:3: warning: If memory allocation fails, then there is a possible null pointer dereference: jar [nullPointerOutOfMemory] wget-1.25.0/src/cookies.c:93:28: note: Assuming allocation function fails wget-1.25.0/src/cookies.c:93:28: note: Assignment 'jar=xmalloc(sizeof(struct cookie_jar))', assigned value is 0 wget-1.25.0/src/cookies.c:94:3: note: Null pointer dereference wget-1.25.0/src/cookies.c:95:3: warning: If memory allocation fails, then there is a possible null pointer dereference: jar [nullPointerOutOfMemory] wget-1.25.0/src/cookies.c:93:28: note: Assuming allocation function fails wget-1.25.0/src/cookies.c:93:28: note: Assignment 'jar=xmalloc(sizeof(struct cookie_jar))', assigned value is 0 wget-1.25.0/src/cookies.c:95:3: note: Null pointer dereference wget-1.25.0/src/cookies.c:139:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cookie [nullPointerOutOfMemory] wget-1.25.0/src/cookies.c:133:27: note: Assuming allocation function fails wget-1.25.0/src/cookies.c:133:27: note: Assignment 'cookie=xcalloc(1,sizeof(struct cookie))', assigned value is 0 wget-1.25.0/src/cookies.c:139:3: note: Null pointer dereference wget-1.25.0/src/cookies.c:754:4: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] wget-1.25.0/src/cookies.c:752:19: note: Assuming allocation function fails wget-1.25.0/src/cookies.c:752:19: note: Assignment 'tmp=xmalloc(pathlen+2)', assigned value is 0 wget-1.25.0/src/cookies.c:754:4: note: Null pointer dereference wget-1.25.0/src/cookies.c:1094:6: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] wget-1.25.0/src/cookies.c:1092:21: note: Assuming allocation function fails wget-1.25.0/src/cookies.c:1092:21: note: Assignment 'tmp=xmalloc(pathlen+2)', assigned value is 0 wget-1.25.0/src/cookies.c:1094:6: note: Null pointer dereference wget-1.25.0/src/cookies.c:1167:7: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] wget-1.25.0/src/cookies.c:1157:20: note: Assuming allocation function fails wget-1.25.0/src/cookies.c:1157:20: note: Assignment 'result=xmalloc(result_size)', assigned value is 0 wget-1.25.0/src/cookies.c:1167:7: note: Null pointer dereference wget-1.25.0/src/cookies.c:1176:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] wget-1.25.0/src/cookies.c:1157:20: note: Assuming allocation function fails wget-1.25.0/src/cookies.c:1157:20: note: Assignment 'result=xmalloc(result_size)', assigned value is 0 wget-1.25.0/src/cookies.c:1176:3: note: Null pointer dereference wget-1.25.0/src/cookies.c:755:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/cookies.c:752:19: note: Assuming allocation function fails wget-1.25.0/src/cookies.c:752:19: note: Assignment 'tmp=xmalloc(pathlen+2)', assigned value is 0 wget-1.25.0/src/cookies.c:755:15: note: Null pointer addition wget-1.25.0/src/cookies.c:1095:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/cookies.c:1092:21: note: Assuming allocation function fails wget-1.25.0/src/cookies.c:1092:21: note: Assignment 'tmp=xmalloc(pathlen+2)', assigned value is 0 wget-1.25.0/src/cookies.c:1095:17: note: Null pointer addition wget-1.25.0/src/cookies.c:1165:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/cookies.c:1157:20: note: Assuming allocation function fails wget-1.25.0/src/cookies.c:1157:20: note: Assignment 'result=xmalloc(result_size)', assigned value is 0 wget-1.25.0/src/cookies.c:1165:22: note: Null pointer addition wget-1.25.0/src/cookies.c:1168:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/cookies.c:1157:20: note: Assuming allocation function fails wget-1.25.0/src/cookies.c:1157:20: note: Assignment 'result=xmalloc(result_size)', assigned value is 0 wget-1.25.0/src/cookies.c:1168:22: note: Null pointer addition wget-1.25.0/src/cookies.c:179:42: style: Parameter 'jar' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/cookies.c:179:62: style: Parameter 'cookie' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/cookies.c:790:13: style: Variable 'trailing_slash' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:859:41: style: Parameter 'jar' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/cookies.c:976:26: style: Variable 'wc1' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:977:26: style: Variable 'wc2' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:996:26: style: Variable 'end' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1012:26: style: Variable 'c0' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1013:26: style: Variable 'c1' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1034:26: style: Variable 'wc1' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1035:26: style: Variable 'wc2' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1147:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1161:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1274:13: style: Variable 'domain_b' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1275:13: style: Variable 'domflag_b' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1275:32: style: Variable 'domflag_e' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1276:13: style: Variable 'path_b' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1276:32: style: Variable 'path_e' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1277:13: style: Variable 'secure_b' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1277:32: style: Variable 'secure_e' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1278:13: style: Variable 'expires_b' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1279:13: style: Variable 'name_b' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1279:32: style: Variable 'name_e' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1280:13: style: Variable 'value_b' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/cookies.c:1280:32: style: Variable 'value_e' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/hash.c:279:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] wget-1.25.0/src/hash.c:277:27: note: Assuming allocation function fails wget-1.25.0/src/hash.c:277:27: note: Assignment 'ht=xmalloc(sizeof(struct hash_table))', assigned value is 0 wget-1.25.0/src/hash.c:279:3: note: Null pointer dereference wget-1.25.0/src/hash.c:280:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] wget-1.25.0/src/hash.c:277:27: note: Assuming allocation function fails wget-1.25.0/src/hash.c:277:27: note: Assignment 'ht=xmalloc(sizeof(struct hash_table))', assigned value is 0 wget-1.25.0/src/hash.c:280:3: note: Null pointer dereference wget-1.25.0/src/hash.c:284:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] wget-1.25.0/src/hash.c:277:27: note: Assuming allocation function fails wget-1.25.0/src/hash.c:277:27: note: Assignment 'ht=xmalloc(sizeof(struct hash_table))', assigned value is 0 wget-1.25.0/src/hash.c:284:3: note: Null pointer dereference wget-1.25.0/src/hash.c:290:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] wget-1.25.0/src/hash.c:277:27: note: Assuming allocation function fails wget-1.25.0/src/hash.c:277:27: note: Assignment 'ht=xmalloc(sizeof(struct hash_table))', assigned value is 0 wget-1.25.0/src/hash.c:290:3: note: Null pointer dereference wget-1.25.0/src/hash.c:291:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] wget-1.25.0/src/hash.c:277:27: note: Assuming allocation function fails wget-1.25.0/src/hash.c:277:27: note: Assignment 'ht=xmalloc(sizeof(struct hash_table))', assigned value is 0 wget-1.25.0/src/hash.c:291:3: note: Null pointer dereference wget-1.25.0/src/hash.c:294:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] wget-1.25.0/src/hash.c:277:27: note: Assuming allocation function fails wget-1.25.0/src/hash.c:277:27: note: Assignment 'ht=xmalloc(sizeof(struct hash_table))', assigned value is 0 wget-1.25.0/src/hash.c:294:3: note: Null pointer dereference wget-1.25.0/src/hash.c:294:15: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] wget-1.25.0/src/hash.c:277:27: note: Assuming allocation function fails wget-1.25.0/src/hash.c:277:27: note: Assignment 'ht=xmalloc(sizeof(struct hash_table))', assigned value is 0 wget-1.25.0/src/hash.c:294:15: note: Null pointer dereference wget-1.25.0/src/hash.c:298:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] wget-1.25.0/src/hash.c:277:27: note: Assuming allocation function fails wget-1.25.0/src/hash.c:277:27: note: Assignment 'ht=xmalloc(sizeof(struct hash_table))', assigned value is 0 wget-1.25.0/src/hash.c:298:11: note: Null pointer dereference wget-1.25.0/src/hash.c:300:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] wget-1.25.0/src/hash.c:277:27: note: Assuming allocation function fails wget-1.25.0/src/hash.c:277:27: note: Assignment 'ht=xmalloc(sizeof(struct hash_table))', assigned value is 0 wget-1.25.0/src/hash.c:300:3: note: Null pointer dereference wget-1.25.0/src/hash.c:402:11: warning: If memory allocation fails, then there is a possible null pointer dereference: cells [nullPointerOutOfMemory] wget-1.25.0/src/hash.c:401:11: note: Assuming allocation function fails wget-1.25.0/src/hash.c:401:11: note: Assignment 'cells=xmalloc((newsize)*sizeof(struct cell))', assigned value is 0 wget-1.25.0/src/hash.c:402:11: note: Null pointer dereference wget-1.25.0/src/hash.c:374:16: style: Variable 'c' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/hash.c:386:16: style: Variable 'old_end' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/hash.c:524:16: style: Variable 'end' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/hash.c:570:16: style: Variable 'end' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/host.c:120:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] wget-1.25.0/src/host.c:287:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] wget-1.25.0/src/host.c:348:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_NOT_FOUND [valueFlowBailoutIncompleteVar] wget-1.25.0/src/host.c:364:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_NOT_FOUND [valueFlowBailoutIncompleteVar] wget-1.25.0/src/host.c:429:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/host.c:851:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp.c:439:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp.c:2110:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp.c:2180:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp.c:2696:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/host.c:333:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] wget-1.25.0/src/host.c:851:56: style: Condition 'str' is always false [knownConditionTrueFalse] wget-1.25.0/src/host.c:842:19: note: Assignment 'str=NULL', assigned value is 0 wget-1.25.0/src/host.c:851:56: note: Condition 'str' is always false wget-1.25.0/src/host.c:280:3: warning: If memory allocation fails, then there is a possible null pointer dereference: al [nullPointerOutOfMemory] wget-1.25.0/src/host.c:273:29: note: Assuming allocation function fails wget-1.25.0/src/host.c:273:29: note: Assignment 'al=xcalloc(1,sizeof(struct address_list))', assigned value is 0 wget-1.25.0/src/host.c:280:3: note: Null pointer dereference wget-1.25.0/src/host.c:281:3: warning: If memory allocation fails, then there is a possible null pointer dereference: al [nullPointerOutOfMemory] wget-1.25.0/src/host.c:273:29: note: Assuming allocation function fails wget-1.25.0/src/host.c:273:29: note: Assignment 'al=xcalloc(1,sizeof(struct address_list))', assigned value is 0 wget-1.25.0/src/host.c:281:3: note: Null pointer dereference wget-1.25.0/src/host.c:282:3: warning: If memory allocation fails, then there is a possible null pointer dereference: al [nullPointerOutOfMemory] wget-1.25.0/src/host.c:273:29: note: Assuming allocation function fails wget-1.25.0/src/host.c:273:29: note: Assignment 'al=xcalloc(1,sizeof(struct address_list))', assigned value is 0 wget-1.25.0/src/host.c:282:3: note: Null pointer dereference wget-1.25.0/src/host.c:119:23: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/host.c:996:28: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/gnutls.c:124:14: style: Condition 'ncerts<=0' is always true [knownConditionTrueFalse] wget-1.25.0/src/gnutls.c:105:17: note: Assignment 'ncerts=-1', assigned value is -1 wget-1.25.0/src/gnutls.c:109:7: note: Assuming condition is false wget-1.25.0/src/gnutls.c:124:14: note: Condition 'ncerts<=0' is always true wget-1.25.0/src/gnutls.c:945:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] wget-1.25.0/src/gnutls.c:944:9: note: Assuming allocation function fails wget-1.25.0/src/gnutls.c:944:9: note: Assignment 'ctx=xcalloc(1,sizeof(struct wgnutls_transport_context))', assigned value is 0 wget-1.25.0/src/gnutls.c:945:3: note: Null pointer dereference wget-1.25.0/src/gnutls.c:946:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] wget-1.25.0/src/gnutls.c:944:9: note: Assuming allocation function fails wget-1.25.0/src/gnutls.c:944:9: note: Assignment 'ctx=xcalloc(1,sizeof(struct wgnutls_transport_context))', assigned value is 0 wget-1.25.0/src/gnutls.c:946:3: note: Null pointer dereference wget-1.25.0/src/gnutls.c:947:42: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] wget-1.25.0/src/gnutls.c:944:9: note: Assuming allocation function fails wget-1.25.0/src/gnutls.c:944:9: note: Assignment 'ctx=xcalloc(1,sizeof(struct wgnutls_transport_context))', assigned value is 0 wget-1.25.0/src/gnutls.c:947:42: note: Null pointer dereference wget-1.25.0/src/gnutls.c:529:72: style:inconclusive: Function '_do_handshake' argument 3 names different: declaration 'timeout' definition 'read_timer'. [funcArgNamesDifferent] wget-1.25.0/src/gnutls.c:70:72: note: Function '_do_handshake' argument 3 names different: declaration 'timeout' definition 'read_timer'. wget-1.25.0/src/gnutls.c:529:72: note: Function '_do_handshake' argument 3 names different: declaration 'timeout' definition 'read_timer'. wget-1.25.0/src/gnutls.c:139:26: style: Variable 'dent' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/gnutls.c:856:54: style: Parameter 'continue_session' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/html-url.c:329:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/html-url.c:863:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/html-url.c:887:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http-ntlm.c:230:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DES_ENCRYPT [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http-ntlm.c:290:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DES_ENCRYPT [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http-ntlm.c:428:12: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] wget-1.25.0/src/http-ntlm.c:427:21: note: Assuming allocation function fails wget-1.25.0/src/http-ntlm.c:427:21: note: Assignment 'output=xmalloc(5+(4*((size+2)/3))+1)', assigned value is 0 wget-1.25.0/src/http-ntlm.c:428:12: note: Null pointer dereference wget-1.25.0/src/http-ntlm.c:601:12: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] wget-1.25.0/src/http-ntlm.c:600:21: note: Assuming allocation function fails wget-1.25.0/src/http-ntlm.c:600:21: note: Assignment 'output=xmalloc(5+(4*((size+2)/3))+1)', assigned value is 0 wget-1.25.0/src/http-ntlm.c:601:12: note: Null pointer dereference wget-1.25.0/src/http-ntlm.c:429:47: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/http-ntlm.c:427:21: note: Assuming allocation function fails wget-1.25.0/src/http-ntlm.c:427:21: note: Assignment 'output=xmalloc(5+(4*((size+2)/3))+1)', assigned value is 0 wget-1.25.0/src/http-ntlm.c:429:47: note: Null pointer addition wget-1.25.0/src/http-ntlm.c:602:47: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/http-ntlm.c:600:21: note: Assuming allocation function fails wget-1.25.0/src/http-ntlm.c:600:21: note: Assignment 'output=xmalloc(5+(4*((size+2)/3))+1)', assigned value is 0 wget-1.25.0/src/http-ntlm.c:602:47: note: Null pointer addition wget-1.25.0/src/http-ntlm.c:187:30: style: Parameter 'key_56' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/http-ntlm.c:228:23: error: Uninitialized variable: ks [uninitvar] wget-1.25.0/src/http-ntlm.c:288:23: error: Uninitialized variable: ks [uninitvar] wget-1.25.0/src/html-url.c:638:11: style: Condition '!mcharset' is always true [knownConditionTrueFalse] wget-1.25.0/src/html-url.c:637:18: note: Assignment 'mcharset=NULL', assigned value is 0 wget-1.25.0/src/html-url.c:638:11: note: Condition '!mcharset' is always true wget-1.25.0/src/html-url.c:352:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newel [nullPointerOutOfMemory] wget-1.25.0/src/html-url.c:351:11: note: Assuming allocation function fails wget-1.25.0/src/html-url.c:351:11: note: Assignment 'newel=xcalloc(1,sizeof(struct urlpos))', assigned value is 0 wget-1.25.0/src/html-url.c:352:3: note: Null pointer dereference wget-1.25.0/src/html-url.c:353:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newel [nullPointerOutOfMemory] wget-1.25.0/src/html-url.c:351:11: note: Assuming allocation function fails wget-1.25.0/src/html-url.c:351:11: note: Assignment 'newel=xcalloc(1,sizeof(struct urlpos))', assigned value is 0 wget-1.25.0/src/html-url.c:353:3: note: Null pointer dereference wget-1.25.0/src/html-url.c:354:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newel [nullPointerOutOfMemory] wget-1.25.0/src/html-url.c:351:11: note: Assuming allocation function fails wget-1.25.0/src/html-url.c:351:11: note: Assignment 'newel=xcalloc(1,sizeof(struct urlpos))', assigned value is 0 wget-1.25.0/src/html-url.c:354:3: note: Null pointer dereference wget-1.25.0/src/html-url.c:954:7: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] wget-1.25.0/src/html-url.c:953:15: note: Assuming allocation function fails wget-1.25.0/src/html-url.c:953:15: note: Assignment 'entry=xcalloc(1,sizeof(struct urlpos))', assigned value is 0 wget-1.25.0/src/html-url.c:954:7: note: Null pointer dereference wget-1.25.0/src/html-url.c:234:29: style: Variable 't' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/html-url.c:394:9: style: Variable 'style' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/html-url.c:451:13: style: Variable 'link' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/html-url.c:485:9: style: Variable 'newbase' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/html-url.c:509:9: style: Variable 'action' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/html-url.c:527:9: style: Variable 'href' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/html-url.c:598:13: style: Variable 'refresh' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/html-url.c:633:13: style: Variable 'content' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/html-url.c:689:9: style: Variable 'srcset' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/init.c:419:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prefer_none [valueFlowBailoutIncompleteVar] wget-1.25.0/src/init.c:696:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/init.c:1116:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/init.c:1202:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable com [valueFlowBailoutIncompleteVar] wget-1.25.0/src/init.c:1460:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable com [valueFlowBailoutIncompleteVar] wget-1.25.0/src/init.c:1612:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prefer_ipv4 [valueFlowBailoutIncompleteVar] wget-1.25.0/src/init.c:1667:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regex_type_posix [valueFlowBailoutIncompleteVar] wget-1.25.0/src/init.c:1699:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable restrict_unix [valueFlowBailoutIncompleteVar] wget-1.25.0/src/init.c:1941:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wget-1.25.0/src/iri.c:106:1: error: syntax error [syntaxError] wget-1.25.0/src/log.c:322:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wget-1.25.0/src/log.c:329:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wget-1.25.0/src/log.c:349:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wget-1.25.0/src/log.c:368:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/log.c:570:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/log.c:634:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wget-1.25.0/src/log.c:686:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wget-1.25.0/src/log.c:931:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http.c:166:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request_header [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http.c:515:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http.c:882:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http.c:2002:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http.c:2099:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http.c:2565:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http.c:3434:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http.c:4443:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/http.c:4967:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_TIME [valueFlowBailoutIncompleteVar] wget-1.25.0/src/log.c:721:22: style: Variable 'ln' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/log.c:401:7: style: struct member 'logvprintf_state::expected_size' is never used. [unusedStructMember] wget-1.25.0/src/html-parse.c:479:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ga_new [nullPointerOutOfMemory] wget-1.25.0/src/html-parse.c:479:7: note: Assuming allocation function fails wget-1.25.0/src/html-parse.c:479:7: note: Assignment 'ga_new=xmalloc(ga_newsize*sizeof(char))', assigned value is 0 wget-1.25.0/src/html-parse.c:479:7: note: Null pointer dereference wget-1.25.0/src/html-parse.c:504:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ga_new [nullPointerOutOfMemory] wget-1.25.0/src/html-parse.c:504:7: note: Assuming allocation function fails wget-1.25.0/src/html-parse.c:504:7: note: Assignment 'ga_new=xmalloc(ga_newsize*sizeof(char))', assigned value is 0 wget-1.25.0/src/html-parse.c:504:7: note: Null pointer dereference wget-1.25.0/src/html-parse.c:509:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ga_new [nullPointerOutOfMemory] wget-1.25.0/src/html-parse.c:509:7: note: Assuming allocation function fails wget-1.25.0/src/html-parse.c:509:7: note: Assignment 'ga_new=xmalloc(ga_newsize*sizeof(char))', assigned value is 0 wget-1.25.0/src/html-parse.c:509:7: note: Null pointer dereference wget-1.25.0/src/html-parse.c:510:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ga_new [nullPointerOutOfMemory] wget-1.25.0/src/html-parse.c:510:7: note: Assuming allocation function fails wget-1.25.0/src/html-parse.c:510:7: note: Assignment 'ga_new=xmalloc(ga_newsize*sizeof(char))', assigned value is 0 wget-1.25.0/src/html-parse.c:510:7: note: Null pointer dereference wget-1.25.0/src/html-parse.c:792:11: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] wget-1.25.0/src/html-parse.c:790:20: note: Assuming allocation function fails wget-1.25.0/src/html-parse.c:790:20: note: Assignment 'copy=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/html-parse.c:792:11: note: Null pointer dereference wget-1.25.0/src/html-parse.c:793:3: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] wget-1.25.0/src/html-parse.c:790:20: note: Assuming allocation function fails wget-1.25.0/src/html-parse.c:790:20: note: Assignment 'copy=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/html-parse.c:793:3: note: Null pointer dereference wget-1.25.0/src/html-parse.c:1087:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ga_new [nullPointerOutOfMemory] wget-1.25.0/src/html-parse.c:1087:9: note: Assuming allocation function fails wget-1.25.0/src/html-parse.c:1087:9: note: Assignment 'ga_new=xmalloc(ga_newsize*sizeof(struct attr_pair))', assigned value is 0 wget-1.25.0/src/html-parse.c:1087:9: note: Null pointer dereference wget-1.25.0/src/html-parse.c:1090:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pairs [nullPointerOutOfMemory] wget-1.25.0/src/html-parse.c:1087:9: note: Assuming allocation function fails wget-1.25.0/src/html-parse.c:1087:9: note: Assignment 'ga_new=xmalloc(ga_newsize*sizeof(struct attr_pair))', assigned value is 0 wget-1.25.0/src/html-parse.c:1087:9: note: Assignment 'pairs=ga_new', assigned value is 0 wget-1.25.0/src/html-parse.c:1090:9: note: Null pointer dereference wget-1.25.0/src/html-parse.c:1093:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pairs [nullPointerOutOfMemory] wget-1.25.0/src/html-parse.c:1087:9: note: Assuming allocation function fails wget-1.25.0/src/html-parse.c:1087:9: note: Assignment 'ga_new=xmalloc(ga_newsize*sizeof(struct attr_pair))', assigned value is 0 wget-1.25.0/src/html-parse.c:1087:9: note: Assignment 'pairs=ga_new', assigned value is 0 wget-1.25.0/src/html-parse.c:1093:9: note: Null pointer dereference wget-1.25.0/src/html-parse.c:1095:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pairs [nullPointerOutOfMemory] wget-1.25.0/src/html-parse.c:1087:9: note: Assuming allocation function fails wget-1.25.0/src/html-parse.c:1087:9: note: Assignment 'ga_new=xmalloc(ga_newsize*sizeof(struct attr_pair))', assigned value is 0 wget-1.25.0/src/html-parse.c:1087:9: note: Assignment 'pairs=ga_new', assigned value is 0 wget-1.25.0/src/html-parse.c:1095:9: note: Null pointer dereference wget-1.25.0/src/html-parse.c:1096:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pairs [nullPointerOutOfMemory] wget-1.25.0/src/html-parse.c:1087:9: note: Assuming allocation function fails wget-1.25.0/src/html-parse.c:1087:9: note: Assignment 'ga_new=xmalloc(ga_newsize*sizeof(struct attr_pair))', assigned value is 0 wget-1.25.0/src/html-parse.c:1087:9: note: Assignment 'pairs=ga_new', assigned value is 0 wget-1.25.0/src/html-parse.c:1096:9: note: Null pointer dereference wget-1.25.0/src/init.c:552:32: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] wget-1.25.0/src/init.c:1218:7: style: Condition '!cmd_file(com,val,place)' is always false [knownConditionTrueFalse] wget-1.25.0/src/init.c:1218:17: note: Calling function 'cmd_file' returns 1 wget-1.25.0/src/init.c:1218:7: note: Condition '!cmd_file(com,val,place)' is always false wget-1.25.0/src/init.c:821:11: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] wget-1.25.0/src/init.c:893:23: note: Assuming allocation function fails wget-1.25.0/src/init.c:893:23: note: Assignment 'cmdcopy=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/init.c:897:13: note: Calling function 'dehyphen', 1st argument 'cmdcopy' value is 0 wget-1.25.0/src/init.c:820:13: note: Assignment 'h=s', assigned value is 0 wget-1.25.0/src/init.c:821:11: note: Null pointer dereference wget-1.25.0/src/init.c:894:11: warning: If memory allocation fails, then there is a possible null pointer dereference: cmdcopy [nullPointerOutOfMemory] wget-1.25.0/src/init.c:893:23: note: Assuming allocation function fails wget-1.25.0/src/init.c:893:23: note: Assignment 'cmdcopy=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/init.c:894:11: note: Null pointer dereference wget-1.25.0/src/init.c:895:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cmdcopy [nullPointerOutOfMemory] wget-1.25.0/src/init.c:893:23: note: Assuming allocation function fails wget-1.25.0/src/init.c:893:23: note: Assignment 'cmdcopy=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/init.c:895:3: note: Null pointer dereference wget-1.25.0/src/init.c:948:29: warning: If memory allocation fails, then there is a possible null pointer dereference: home [nullPointerOutOfMemory] wget-1.25.0/src/init.c:947:31: note: Assuming allocation function fails wget-1.25.0/src/init.c:947:31: note: Assignment 'home=xstrdup(opt.homedir)', assigned value is 0 wget-1.25.0/src/init.c:948:29: note: Null pointer dereference wget-1.25.0/src/init.c:949:29: warning: If memory allocation fails, then there is a possible null pointer dereference: home [nullPointerOutOfMemory] wget-1.25.0/src/init.c:947:31: note: Assuming allocation function fails wget-1.25.0/src/init.c:947:31: note: Assignment 'home=xstrdup(opt.homedir)', assigned value is 0 wget-1.25.0/src/init.c:949:29: note: Null pointer dereference wget-1.25.0/src/init.c:950:18: warning: If memory allocation fails, then there is a possible null pointer dereference: home [nullPointerOutOfMemory] wget-1.25.0/src/init.c:947:31: note: Assuming allocation function fails wget-1.25.0/src/init.c:947:31: note: Assignment 'home=xstrdup(opt.homedir)', assigned value is 0 wget-1.25.0/src/init.c:950:18: note: Null pointer dereference wget-1.25.0/src/init.c:392:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/init.c:523:16: style: Variable 'home' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/init.c:552:26: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/init.c:577:9: style: Variable 'env' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/init.c:747:9: style: Variable 'env_sysrc' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/main.c:529:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] wget-1.25.0/src/main.c:1046:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wget-1.25.0/src/main.c:1136:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] wget-1.25.0/src/main.c:1261:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OS_TYPE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/main.c:1435:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] wget-1.25.0/src/mswindows.c:69:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/mswindows.c:147:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_MAP_WRITE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/mswindows.c:192:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] wget-1.25.0/src/mswindows.c:365:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/mswindows.c:425:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] wget-1.25.0/src/mswindows.c:452:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set_exec_state [valueFlowBailoutIncompleteVar] wget-1.25.0/src/mswindows.c:566:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_OBJECT_0 [valueFlowBailoutIncompleteVar] wget-1.25.0/src/mswindows.c:646:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WSAEINPROGRESS [valueFlowBailoutIncompleteVar] wget-1.25.0/src/netrc.c:457:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp-ls.c:120:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:189:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:380:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wget-1.25.0/src/ftp-ls.c:445:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:449:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:452:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:476:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:479:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:510:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:512:54: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:723:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:801:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:829:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:926:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/ftp-ls.c:937:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wget-1.25.0/src/ftp-ls.c:1113:28: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wget-1.25.0/src/ftp-ls.c:637:23: style: Condition 'uchr=='_'' is always false [knownConditionTrueFalse] wget-1.25.0/src/ftp-ls.c:611:16: note: Assuming that condition 'uchr=='^'' is not redundant wget-1.25.0/src/ftp-ls.c:637:23: note: Condition 'uchr=='_'' is always false wget-1.25.0/src/ftp-ls.c:642:23: style: Condition 'uchr=='/'' is always false [knownConditionTrueFalse] wget-1.25.0/src/ftp-ls.c:611:16: note: Assuming that condition 'uchr=='^'' is not redundant wget-1.25.0/src/ftp-ls.c:642:23: note: Condition 'uchr=='/'' is always false wget-1.25.0/src/ftp-ls.c:367:19: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:366:21: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:366:19: note: Assignment 'l=dir=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:367:19: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:368:11: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:366:21: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:366:19: note: Assignment 'l=dir=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:368:11: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:368:21: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:366:21: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:366:19: note: Assignment 'l=dir=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:368:21: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:375:19: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:373:21: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:373:21: note: Assignment 'l->next=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:374:16: note: Assignment 'l=l->next', assigned value is 0 wget-1.25.0/src/ftp-ls.c:375:19: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:376:11: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:373:21: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:373:21: note: Assignment 'l->next=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:374:16: note: Assignment 'l=l->next', assigned value is 0 wget-1.25.0/src/ftp-ls.c:376:11: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:541:19: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:540:21: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:540:19: note: Assignment 'l=dir=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:541:19: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:542:11: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:540:21: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:540:19: note: Assignment 'l=dir=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:542:11: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:542:21: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:540:21: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:540:19: note: Assignment 'l=dir=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:542:21: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:549:19: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:547:21: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:547:21: note: Assignment 'l->next=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:548:16: note: Assignment 'l=l->next', assigned value is 0 wget-1.25.0/src/ftp-ls.c:549:19: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:550:11: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:547:21: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:547:21: note: Assignment 'l->next=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:548:16: note: Assignment 'l=l->next', assigned value is 0 wget-1.25.0/src/ftp-ls.c:550:11: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:965:19: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:963:29: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:963:19: note: Assignment 'l=dir=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:965:19: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:973:19: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] wget-1.25.0/src/ftp-ls.c:971:29: note: Assuming allocation function fails wget-1.25.0/src/ftp-ls.c:971:29: note: Assignment 'l->next=xmalloc(sizeof(struct fileinfo))', assigned value is 0 wget-1.25.0/src/ftp-ls.c:972:16: note: Assignment 'l=l->next', assigned value is 0 wget-1.25.0/src/ftp-ls.c:973:19: note: Null pointer dereference wget-1.25.0/src/mswindows.c:383:34: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_url [nullPointerOutOfMemory] wget-1.25.0/src/mswindows.c:381:22: note: Assuming allocation function fails wget-1.25.0/src/mswindows.c:381:22: note: Assignment 'curr_url=xstrdup(url)', assigned value is 0 wget-1.25.0/src/mswindows.c:383:34: note: Null pointer dereference wget-1.25.0/src/ftp-ls.c:1113:22: style: Variable 'ptm' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/netrc.c:220:11: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] wget-1.25.0/src/netrc.c:216:19: note: Assuming allocation function fails wget-1.25.0/src/netrc.c:216:19: note: Assignment 'a=xmalloc(sizeof(struct acc_t))', assigned value is 0 wget-1.25.0/src/netrc.c:220:11: note: Null pointer dereference wget-1.25.0/src/ptimer.c:347:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] wget-1.25.0/src/ptimer.c:316:23: note: Assuming allocation function fails wget-1.25.0/src/ptimer.c:316:23: note: Assignment 'pt=xcalloc(1,sizeof(struct ptimer))', assigned value is 0 wget-1.25.0/src/ptimer.c:325:17: note: Calling function 'ptimer_reset', 1st argument 'pt' value is 0 wget-1.25.0/src/ptimer.c:347:3: note: Null pointer dereference wget-1.25.0/src/ptimer.c:348:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] wget-1.25.0/src/ptimer.c:316:23: note: Assuming allocation function fails wget-1.25.0/src/ptimer.c:316:23: note: Assignment 'pt=xcalloc(1,sizeof(struct ptimer))', assigned value is 0 wget-1.25.0/src/ptimer.c:325:17: note: Calling function 'ptimer_reset', 1st argument 'pt' value is 0 wget-1.25.0/src/ptimer.c:348:3: note: Null pointer dereference wget-1.25.0/src/ptimer.c:206:40: style: Parameter 'pst1' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/ptimer.c:206:66: style: Parameter 'pst2' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/openssl.c:162:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_FILETYPE_PEM [valueFlowBailoutIncompleteVar] wget-1.25.0/src/openssl.c:237:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_OP_NO_SSLv2 [valueFlowBailoutIncompleteVar] wget-1.25.0/src/openssl.c:623:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/openssl.c:653:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_ERROR_SYSCALL [valueFlowBailoutIncompleteVar] wget-1.25.0/src/openssl.c:670:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_read [valueFlowBailoutIncompleteVar] wget-1.25.0/src/openssl.c:681:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_ERROR_SYSCALL [valueFlowBailoutIncompleteVar] wget-1.25.0/src/openssl.c:702:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_peek [valueFlowBailoutIncompleteVar] wget-1.25.0/src/openssl.c:876:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/openssl.c:938:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XN_FLAG_RFC2253 [valueFlowBailoutIncompleteVar] wget-1.25.0/src/openssl.c:1051:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/recur.c:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/recur.c:155:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] wget-1.25.0/src/recur.c:264:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/recur.c:753:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/openssl.c:861:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] wget-1.25.0/src/openssl.c:860:9: note: Assuming allocation function fails wget-1.25.0/src/openssl.c:860:9: note: Assignment 'ctx=xcalloc(1,sizeof(struct openssl_transport_context))', assigned value is 0 wget-1.25.0/src/openssl.c:861:3: note: Null pointer dereference wget-1.25.0/src/openssl.c:862:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] wget-1.25.0/src/openssl.c:860:9: note: Assuming allocation function fails wget-1.25.0/src/openssl.c:860:9: note: Assignment 'ctx=xcalloc(1,sizeof(struct openssl_transport_context))', assigned value is 0 wget-1.25.0/src/openssl.c:862:3: note: Null pointer dereference wget-1.25.0/src/openssl.c:863:8: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] wget-1.25.0/src/openssl.c:860:9: note: Assuming allocation function fails wget-1.25.0/src/openssl.c:860:9: note: Assignment 'ctx=xcalloc(1,sizeof(struct openssl_transport_context))', assigned value is 0 wget-1.25.0/src/openssl.c:863:8: note: Null pointer dereference wget-1.25.0/src/openssl.c:943:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] wget-1.25.0/src/openssl.c:941:25: note: Assuming allocation function fails wget-1.25.0/src/openssl.c:941:25: note: Assignment 'out=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/openssl.c:943:11: note: Null pointer dereference wget-1.25.0/src/main.c:1217:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/main.c:1238:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wget-1.25.0/src/openssl.c:803:54: style: Parameter 'continue_session' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/main.c:515:30: style: Variable 'cmdopt' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/main.c:1103:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/main.c:1199:20: style: Variable 'token' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/main.c:1430:30: style: Variable 'config_opt' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/main.c:1255:29: style: Variable 'locale_title' is assigned a value that is never used. [unreadVariable] wget-1.25.0/src/main.c:1255:15: style: Variable 'locale_title' is assigned a value that is never used. [unreadVariable] wget-1.25.0/src/res.c:395:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/recur.c:101:3: warning: If memory allocation fails, then there is a possible null pointer dereference: qel [nullPointerOutOfMemory] wget-1.25.0/src/recur.c:100:31: note: Assuming allocation function fails wget-1.25.0/src/recur.c:100:31: note: Assignment 'qel=xmalloc(sizeof(struct queue_element))', assigned value is 0 wget-1.25.0/src/recur.c:101:3: note: Null pointer dereference wget-1.25.0/src/recur.c:102:3: warning: If memory allocation fails, then there is a possible null pointer dereference: qel [nullPointerOutOfMemory] wget-1.25.0/src/recur.c:100:31: note: Assuming allocation function fails wget-1.25.0/src/recur.c:100:31: note: Assignment 'qel=xmalloc(sizeof(struct queue_element))', assigned value is 0 wget-1.25.0/src/recur.c:102:3: note: Null pointer dereference wget-1.25.0/src/recur.c:103:3: warning: If memory allocation fails, then there is a possible null pointer dereference: qel [nullPointerOutOfMemory] wget-1.25.0/src/recur.c:100:31: note: Assuming allocation function fails wget-1.25.0/src/recur.c:100:31: note: Assignment 'qel=xmalloc(sizeof(struct queue_element))', assigned value is 0 wget-1.25.0/src/recur.c:103:3: note: Null pointer dereference wget-1.25.0/src/recur.c:104:3: warning: If memory allocation fails, then there is a possible null pointer dereference: qel [nullPointerOutOfMemory] wget-1.25.0/src/recur.c:100:31: note: Assuming allocation function fails wget-1.25.0/src/recur.c:100:31: note: Assignment 'qel=xmalloc(sizeof(struct queue_element))', assigned value is 0 wget-1.25.0/src/recur.c:104:3: note: Null pointer dereference wget-1.25.0/src/recur.c:105:3: warning: If memory allocation fails, then there is a possible null pointer dereference: qel [nullPointerOutOfMemory] wget-1.25.0/src/recur.c:100:31: note: Assuming allocation function fails wget-1.25.0/src/recur.c:100:31: note: Assignment 'qel=xmalloc(sizeof(struct queue_element))', assigned value is 0 wget-1.25.0/src/recur.c:105:3: note: Null pointer dereference wget-1.25.0/src/recur.c:106:3: warning: If memory allocation fails, then there is a possible null pointer dereference: qel [nullPointerOutOfMemory] wget-1.25.0/src/recur.c:100:31: note: Assuming allocation function fails wget-1.25.0/src/recur.c:100:31: note: Assignment 'qel=xmalloc(sizeof(struct queue_element))', assigned value is 0 wget-1.25.0/src/recur.c:106:3: note: Null pointer dereference wget-1.25.0/src/recur.c:107:3: warning: If memory allocation fails, then there is a possible null pointer dereference: qel [nullPointerOutOfMemory] wget-1.25.0/src/recur.c:100:31: note: Assuming allocation function fails wget-1.25.0/src/recur.c:100:31: note: Assignment 'qel=xmalloc(sizeof(struct queue_element))', assigned value is 0 wget-1.25.0/src/recur.c:107:3: note: Null pointer dereference wget-1.25.0/src/recur.c:572:19: warning: If memory allocation fails, then there is a possible null pointer dereference: upos [nullPointerOutOfMemory] wget-1.25.0/src/recur.c:810:10: note: Assuming allocation function fails wget-1.25.0/src/recur.c:810:10: note: Assignment 'upos=xcalloc(1,sizeof(struct urlpos))', assigned value is 0 wget-1.25.0/src/recur.c:813:28: note: Calling function 'download_child', 1st argument 'upos' value is 0 wget-1.25.0/src/recur.c:572:19: note: Null pointer dereference wget-1.25.0/src/recur.c:811:3: warning: If memory allocation fails, then there is a possible null pointer dereference: upos [nullPointerOutOfMemory] wget-1.25.0/src/recur.c:810:10: note: Assuming allocation function fails wget-1.25.0/src/recur.c:810:10: note: Assignment 'upos=xcalloc(1,sizeof(struct urlpos))', assigned value is 0 wget-1.25.0/src/recur.c:811:3: note: Null pointer dereference wget-1.25.0/src/retr.c:261:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] wget-1.25.0/src/retr.c:715:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/retr.c:1245:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/retr.c:1453:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/progress.c:239:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] wget-1.25.0/src/progress.c:238:29: note: Assuming allocation function fails wget-1.25.0/src/progress.c:238:29: note: Assignment 'dp=xcalloc(1,sizeof(struct dot_progress))', assigned value is 0 wget-1.25.0/src/progress.c:239:3: note: Null pointer dereference wget-1.25.0/src/progress.c:240:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] wget-1.25.0/src/progress.c:238:29: note: Assuming allocation function fails wget-1.25.0/src/progress.c:238:29: note: Assignment 'dp=xcalloc(1,sizeof(struct dot_progress))', assigned value is 0 wget-1.25.0/src/progress.c:240:3: note: Null pointer dereference wget-1.25.0/src/progress.c:242:7: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] wget-1.25.0/src/progress.c:238:29: note: Assuming allocation function fails wget-1.25.0/src/progress.c:238:29: note: Assignment 'dp=xcalloc(1,sizeof(struct dot_progress))', assigned value is 0 wget-1.25.0/src/progress.c:242:7: note: Null pointer dereference wget-1.25.0/src/progress.c:724:3: warning: If memory allocation fails, then there is a possible null pointer dereference: bp [nullPointerOutOfMemory] wget-1.25.0/src/progress.c:717:29: note: Assuming allocation function fails wget-1.25.0/src/progress.c:717:29: note: Assignment 'bp=xcalloc(1,sizeof(struct bar_progress))', assigned value is 0 wget-1.25.0/src/progress.c:724:3: note: Null pointer dereference wget-1.25.0/src/progress.c:725:3: warning: If memory allocation fails, then there is a possible null pointer dereference: bp [nullPointerOutOfMemory] wget-1.25.0/src/progress.c:717:29: note: Assuming allocation function fails wget-1.25.0/src/progress.c:717:29: note: Assignment 'bp=xcalloc(1,sizeof(struct bar_progress))', assigned value is 0 wget-1.25.0/src/progress.c:725:3: note: Null pointer dereference wget-1.25.0/src/progress.c:729:3: warning: If memory allocation fails, then there is a possible null pointer dereference: bp [nullPointerOutOfMemory] wget-1.25.0/src/progress.c:717:29: note: Assuming allocation function fails wget-1.25.0/src/progress.c:717:29: note: Assignment 'bp=xcalloc(1,sizeof(struct bar_progress))', assigned value is 0 wget-1.25.0/src/progress.c:729:3: note: Null pointer dereference wget-1.25.0/src/res.c:486:69: style: Parameter 'specs' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/progress.c:730:21: warning: If memory allocation fails, then there is a possible null pointer dereference: bp [nullPointerOutOfMemory] wget-1.25.0/src/progress.c:717:29: note: Assuming allocation function fails wget-1.25.0/src/progress.c:717:29: note: Assignment 'bp=xcalloc(1,sizeof(struct bar_progress))', assigned value is 0 wget-1.25.0/src/progress.c:730:21: note: Null pointer dereference wget-1.25.0/src/res.c:518:19: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/progress.c:99:9: style: Variable 'colon' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/progress.c:176:40: style: Parameter '_GL_UNUSED' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/progress.c:1050:29: style: Variable 'hist' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/progress.c:1358:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/warc.c:138:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_SIZE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/warc.c:298:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] wget-1.25.0/src/warc.c:593:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_SIZE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/warc.c:616:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_SIZE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/warc.c:813:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OS_TYPE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/warc.c:1026:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_SIZE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/warc.c:1435:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_SIZE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/warc.c:1484:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_SIZE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/url.c:628:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wget-1.25.0/src/url.c:1289:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/url.c:1478:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable restrict_unix [valueFlowBailoutIncompleteVar] wget-1.25.0/src/url.c:1790:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable restrict_windows [valueFlowBailoutIncompleteVar] wget-1.25.0/src/ftp.c:1813:1: style: Label 'exit_error' is not used. [unusedLabel] wget-1.25.0/src/ftp.c:428:16: style: Variable 'host' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/ftp.c:2578:9: style: Variable 'f_name' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/ftp.c:2790:27: style: Variable 'url_file' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/ftp.c:2829:17: style: Variable 'file_part' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/ftp.c:1831:22: style: Variable 'len' is assigned a value that is never used. [unreadVariable] wget-1.25.0/src/xattr.c:76:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable URL_AUTH_HIDE [valueFlowBailoutIncompleteVar] wget-1.25.0/src/xattr.c:80:7: style: Condition '!retval' is always true [knownConditionTrueFalse] wget-1.25.0/src/xattr.c:77:33: note: Calling function 'write_xattr_metadata' returns 0 wget-1.25.0/src/xattr.c:77:33: note: Assignment 'retval=write_xattr_metadata("user.xdg.origin.url",escnonprint_uri(value),fp)', assigned value is 0 wget-1.25.0/src/xattr.c:80:7: note: Condition '!retval' is always true wget-1.25.0/src/utils.c:508:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:535:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:552:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:575:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:737:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:835:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:930:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:1041:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_CASEFOLD [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:1120:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_PATHNAME [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:1286:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:1320:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:2039:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:2513:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:2586:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] wget-1.25.0/src/utils.c:2699:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/util/trunc.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wget-1.25.0/util/trunc.c:95:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wget-1.25.0/src/warc.c:644:26: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] wget-1.25.0/src/warc.c:1031:11: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] wget-1.25.0/src/warc.c:1030:25: note: Assuming allocation function fails wget-1.25.0/src/warc.c:1030:25: note: Assignment 'rec=xmalloc(sizeof(struct warc_cdx_record))', assigned value is 0 wget-1.25.0/src/warc.c:1031:11: note: Null pointer dereference wget-1.25.0/src/warc.c:1032:11: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] wget-1.25.0/src/warc.c:1030:25: note: Assuming allocation function fails wget-1.25.0/src/warc.c:1030:25: note: Assignment 'rec=xmalloc(sizeof(struct warc_cdx_record))', assigned value is 0 wget-1.25.0/src/warc.c:1032:11: note: Null pointer dereference wget-1.25.0/src/warc.c:1033:19: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] wget-1.25.0/src/warc.c:1030:25: note: Assuming allocation function fails wget-1.25.0/src/warc.c:1030:25: note: Assignment 'rec=xmalloc(sizeof(struct warc_cdx_record))', assigned value is 0 wget-1.25.0/src/warc.c:1033:19: note: Null pointer dereference wget-1.25.0/src/warc.c:1034:49: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] wget-1.25.0/src/warc.c:1030:25: note: Assuming allocation function fails wget-1.25.0/src/warc.c:1030:25: note: Assignment 'rec=xmalloc(sizeof(struct warc_cdx_record))', assigned value is 0 wget-1.25.0/src/warc.c:1034:49: note: Null pointer dereference wget-1.25.0/src/warc.c:1408:12: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_location [nullPointerOutOfMemory] wget-1.25.0/src/warc.c:1399:27: note: Assuming allocation function fails wget-1.25.0/src/warc.c:1399:27: note: Assignment 'tmp_location=strdup("-")', assigned value is 0 wget-1.25.0/src/warc.c:1408:12: note: Null pointer dereference wget-1.25.0/src/warc.c:745:22: style:inconclusive: Function 'warc_uuid_str' argument 1 names different: declaration 'id_str' definition 'urn_str'. [funcArgNamesDifferent] wget-1.25.0/src/warc.h:9:27: note: Function 'warc_uuid_str' argument 1 names different: declaration 'id_str' definition 'urn_str'. wget-1.25.0/src/warc.c:745:22: note: Function 'warc_uuid_str' argument 1 names different: declaration 'id_str' definition 'urn_str'. wget-1.25.0/src/warc.c:1337:40: style:inconclusive: Function 'warc_write_request_record' argument 3 names different: declaration 'concurrent_to_uuid' definition 'record_uuid'. [funcArgNamesDifferent] wget-1.25.0/src/warc.h:16:15: note: Function 'warc_write_request_record' argument 3 names different: declaration 'concurrent_to_uuid' definition 'record_uuid'. wget-1.25.0/src/warc.c:1337:40: note: Function 'warc_write_request_record' argument 3 names different: declaration 'concurrent_to_uuid' definition 'record_uuid'. wget-1.25.0/src/warc.c:644:15: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/warc.c:943:9: style: Variable 'token' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/warc.c:990:9: style: Variable 'token' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/warc.c:1133:56: style: Parameter 'sha1_digest_payload' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/warc.c:1500:35: style: Variable 'rec_existing' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/warc.c:1649:30: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/warc.c:1546:43: warning: Uninitialized variable: block_digest [uninitvar] wget-1.25.0/src/warc.c:1491:10: note: Assuming condition is false wget-1.25.0/src/warc.c:1546:43: note: Uninitialized variable: block_digest wget-1.25.0/src/warc.c:1547:45: warning: Uninitialized variable: payload_digest [uninitvar] wget-1.25.0/src/warc.c:1491:10: note: Assuming condition is false wget-1.25.0/src/warc.c:1547:45: note: Uninitialized variable: payload_digest wget-1.25.0/src/retr.c:1269:9: style: Variable 'input_file' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/retr.c:1483:23: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/retr.c:1485:9: style: Variable 'proxy' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/retr.c:1266:29: style: Unused variable: cur_url [unusedVariable] wget-1.25.0/src/utils.c:428:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wget-1.25.0/src/utils.c:534:7: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] wget-1.25.0/src/http.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] wget-1.25.0/src/utils.c:224:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:222:24: note: Assuming allocation function fails wget-1.25.0/src/utils.c:222:24: note: Assignment 'copy=xstrdup(s)', assigned value is 0 wget-1.25.0/src/utils.c:223:13: note: Assignment 'p=copy', assigned value is 0 wget-1.25.0/src/utils.c:224:11: note: Null pointer dereference wget-1.25.0/src/utils.c:239:15: warning: If memory allocation fails, then there is a possible null pointer dereference: res [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:238:27: note: Assuming allocation function fails wget-1.25.0/src/utils.c:238:27: note: Assignment 'res=xmalloc(end-beg+1)', assigned value is 0 wget-1.25.0/src/utils.c:239:15: note: Null pointer dereference wget-1.25.0/src/utils.c:240:7: warning: If memory allocation fails, then there is a possible null pointer dereference: res [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:238:27: note: Assuming allocation function fails wget-1.25.0/src/utils.c:238:27: note: Assignment 'res=xmalloc(end-beg+1)', assigned value is 0 wget-1.25.0/src/utils.c:240:7: note: Null pointer dereference wget-1.25.0/src/utils.c:658:11: warning: If memory allocation fails, then there is a possible null pointer dereference: template [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:655:28: note: Assuming allocation function fails wget-1.25.0/src/utils.c:655:28: note: Assignment 'template=xmalloc(plen+1+24)', assigned value is 0 wget-1.25.0/src/utils.c:658:11: note: Null pointer dereference wget-1.25.0/src/utils.c:981:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:977:18: note: Assuming allocation function fails wget-1.25.0/src/utils.c:977:18: note: Assignment 'dir=xstrdup(directory)', assigned value is 0 wget-1.25.0/src/utils.c:981:14: note: Null pointer dereference wget-1.25.0/src/utils.c:983:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:977:18: note: Assuming allocation function fails wget-1.25.0/src/utils.c:977:18: note: Assignment 'dir=xstrdup(directory)', assigned value is 0 wget-1.25.0/src/utils.c:983:14: note: Null pointer dereference wget-1.25.0/src/utils.c:1026:11: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:1025:20: note: Assuming allocation function fails wget-1.25.0/src/utils.c:1025:20: note: Assignment 'result=xmalloc(cut-base+1+strlen(file)+1)', assigned value is 0 wget-1.25.0/src/utils.c:1026:11: note: Null pointer dereference wget-1.25.0/src/utils.c:1027:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:1025:20: note: Assuming allocation function fails wget-1.25.0/src/utils.c:1025:20: note: Assignment 'result=xmalloc(cut-base+1+strlen(file)+1)', assigned value is 0 wget-1.25.0/src/utils.c:1027:3: note: Null pointer dereference wget-1.25.0/src/utils.c:1361:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fm [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:1331:8: note: Assuming allocation function fails wget-1.25.0/src/utils.c:1331:8: note: Assignment 'fm=xmalloc(sizeof(struct file_memory))', assigned value is 0 wget-1.25.0/src/utils.c:1361:3: note: Null pointer dereference wget-1.25.0/src/utils.c:1364:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fm [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:1331:8: note: Assuming allocation function fails wget-1.25.0/src/utils.c:1331:8: note: Assignment 'fm=xmalloc(sizeof(struct file_memory))', assigned value is 0 wget-1.25.0/src/utils.c:1364:3: note: Null pointer dereference wget-1.25.0/src/utils.c:1368:11: warning: If memory allocation fails, then there is a possible null pointer dereference: fm [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:1331:8: note: Assuming allocation function fails wget-1.25.0/src/utils.c:1331:8: note: Assignment 'fm=xmalloc(sizeof(struct file_memory))', assigned value is 0 wget-1.25.0/src/utils.c:1368:11: note: Null pointer dereference wget-1.25.0/src/utils.c:1387:25: warning: If memory allocation fails, then there is a possible null pointer dereference: fm [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:1331:8: note: Assuming allocation function fails wget-1.25.0/src/utils.c:1331:8: note: Assignment 'fm=xmalloc(sizeof(struct file_memory))', assigned value is 0 wget-1.25.0/src/utils.c:1387:25: note: Null pointer dereference wget-1.25.0/src/utils.c:1387:39: warning: If memory allocation fails, then there is a possible null pointer dereference: fm [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:1331:8: note: Assuming allocation function fails wget-1.25.0/src/utils.c:1331:8: note: Assignment 'fm=xmalloc(sizeof(struct file_memory))', assigned value is 0 wget-1.25.0/src/utils.c:1387:39: note: Null pointer dereference wget-1.25.0/src/utils.c:1387:58: warning: If memory allocation fails, then there is a possible null pointer dereference: fm [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:1331:8: note: Assuming allocation function fails wget-1.25.0/src/utils.c:1331:8: note: Assignment 'fm=xmalloc(sizeof(struct file_memory))', assigned value is 0 wget-1.25.0/src/utils.c:1387:58: note: Null pointer dereference wget-1.25.0/src/utils.c:2513:26: warning: If memory allocation fails, then there is a possible null pointer dereference: regex [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:2507:28: note: Assuming allocation function fails wget-1.25.0/src/utils.c:2507:28: note: Assignment 'regex=xmalloc(sizeof(regex_t))', assigned value is 0 wget-1.25.0/src/utils.c:2513:26: note: Null pointer dereference wget-1.25.0/src/utils.c:2711:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] wget-1.25.0/src/utils.c:2695:57: note: Assuming allocation function fails wget-1.25.0/src/utils.c:2695:12: note: Assignment 'p=path?strdupdelim(path,path+length):strdup("")', assigned value is 0 wget-1.25.0/src/utils.c:2711:13: note: Null pointer dereference wget-1.25.0/src/utils.c:415:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/utils.c:410:15: note: Assuming allocation function fails wget-1.25.0/src/utils.c:410:15: note: Assignment 's=xmalloc(length+1)', assigned value is 0 wget-1.25.0/src/utils.c:415:22: note: Null pointer addition wget-1.25.0/src/utils.c:656:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/utils.c:655:28: note: Assuming allocation function fails wget-1.25.0/src/utils.c:655:28: note: Assignment 'template=xmalloc(plen+1+24)', assigned value is 0 wget-1.25.0/src/utils.c:656:34: note: Null pointer addition wget-1.25.0/src/utils.c:1028:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/utils.c:1025:20: note: Assuming allocation function fails wget-1.25.0/src/utils.c:1025:20: note: Assignment 'result=xmalloc(cut-base+1+strlen(file)+1)', assigned value is 0 wget-1.25.0/src/utils.c:1028:18: note: Null pointer addition wget-1.25.0/src/http.c:1830:20: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] wget-1.25.0/src/url.c:758:11: style: Condition '!iri->utf8_encode' is always true [knownConditionTrueFalse] wget-1.25.0/src/url.c:757:26: note: Assignment 'iri->utf8_encode=false', assigned value is 0 wget-1.25.0/src/url.c:758:11: note: Condition '!iri->utf8_encode' is always true wget-1.25.0/src/url.c:960:15: style: Condition 'new' is always false [knownConditionTrueFalse] wget-1.25.0/src/url.c:959:23: note: Assignment 'new=NULL', assigned value is 0 wget-1.25.0/src/url.c:960:15: note: Condition 'new' is always false wget-1.25.0/src/url.c:2160:16: style: Condition 'last_slash' is always true [knownConditionTrueFalse] wget-1.25.0/src/url.c:924:3: warning: If memory allocation fails, then there is a possible null pointer dereference: u [nullPointerOutOfMemory] wget-1.25.0/src/url.c:923:7: note: Assuming allocation function fails wget-1.25.0/src/url.c:923:7: note: Assignment 'u=xcalloc(1,sizeof(struct url))', assigned value is 0 wget-1.25.0/src/url.c:924:3: note: Null pointer dereference wget-1.25.0/src/url.c:925:3: warning: If memory allocation fails, then there is a possible null pointer dereference: u [nullPointerOutOfMemory] wget-1.25.0/src/url.c:923:7: note: Assuming allocation function fails wget-1.25.0/src/url.c:923:7: note: Assignment 'u=xcalloc(1,sizeof(struct url))', assigned value is 0 wget-1.25.0/src/url.c:925:3: note: Null pointer dereference wget-1.25.0/src/url.c:926:3: warning: If memory allocation fails, then there is a possible null pointer dereference: u [nullPointerOutOfMemory] wget-1.25.0/src/url.c:923:7: note: Assuming allocation function fails wget-1.25.0/src/url.c:923:7: note: Assignment 'u=xcalloc(1,sizeof(struct url))', assigned value is 0 wget-1.25.0/src/url.c:926:3: note: Null pointer dereference wget-1.25.0/src/url.c:927:3: warning: If memory allocation fails, then there is a possible null pointer dereference: u [nullPointerOutOfMemory] wget-1.25.0/src/url.c:923:7: note: Assuming allocation function fails wget-1.25.0/src/url.c:923:7: note: Assignment 'u=xcalloc(1,sizeof(struct url))', assigned value is 0 wget-1.25.0/src/url.c:927:3: note: Null pointer dereference wget-1.25.0/src/url.c:928:3: warning: If memory allocation fails, then there is a possible null pointer dereference: u [nullPointerOutOfMemory] wget-1.25.0/src/url.c:923:7: note: Assuming allocation function fails wget-1.25.0/src/url.c:923:7: note: Assignment 'u=xcalloc(1,sizeof(struct url))', assigned value is 0 wget-1.25.0/src/url.c:928:3: note: Null pointer dereference wget-1.25.0/src/url.c:930:3: warning: If memory allocation fails, then there is a possible null pointer dereference: u [nullPointerOutOfMemory] wget-1.25.0/src/url.c:923:7: note: Assuming allocation function fails wget-1.25.0/src/url.c:923:7: note: Assignment 'u=xcalloc(1,sizeof(struct url))', assigned value is 0 wget-1.25.0/src/url.c:930:3: note: Null pointer dereference wget-1.25.0/src/url.c:931:42: warning: If memory allocation fails, then there is a possible null pointer dereference: u [nullPointerOutOfMemory] wget-1.25.0/src/url.c:923:7: note: Assuming allocation function fails wget-1.25.0/src/url.c:923:7: note: Assignment 'u=xcalloc(1,sizeof(struct url))', assigned value is 0 wget-1.25.0/src/url.c:931:42: note: Null pointer dereference wget-1.25.0/src/url.c:932:15: warning: If memory allocation fails, then there is a possible null pointer dereference: u [nullPointerOutOfMemory] wget-1.25.0/src/url.c:923:7: note: Assuming allocation function fails wget-1.25.0/src/url.c:923:7: note: Assignment 'u=xcalloc(1,sizeof(struct url))', assigned value is 0 wget-1.25.0/src/url.c:932:15: note: Null pointer dereference wget-1.25.0/src/url.c:934:34: warning: If memory allocation fails, then there is a possible null pointer dereference: u [nullPointerOutOfMemory] wget-1.25.0/src/url.c:923:7: note: Assuming allocation function fails wget-1.25.0/src/url.c:923:7: note: Assignment 'u=xcalloc(1,sizeof(struct url))', assigned value is 0 wget-1.25.0/src/url.c:934:34: note: Null pointer dereference wget-1.25.0/src/url.c:940:15: warning: If memory allocation fails, then there is a possible null pointer dereference: u [nullPointerOutOfMemory] wget-1.25.0/src/url.c:923:7: note: Assuming allocation function fails wget-1.25.0/src/url.c:923:7: note: Assignment 'u=xcalloc(1,sizeof(struct url))', assigned value is 0 wget-1.25.0/src/url.c:940:15: note: Null pointer dereference wget-1.25.0/src/url.c:1113:3: warning: If memory allocation fails, then there is a possible null pointer dereference: full_path [nullPointerOutOfMemory] wget-1.25.0/src/url.c:1110:29: note: Assuming allocation function fails wget-1.25.0/src/url.c:1110:29: note: Assignment 'full_path=xmalloc(length+1)', assigned value is 0 wget-1.25.0/src/url.c:1113:3: note: Null pointer dereference wget-1.25.0/src/url.c:1184:15: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] wget-1.25.0/src/url.c:1183:35: note: Assuming allocation function fails wget-1.25.0/src/url.c:1183:25: note: Assignment 'p=newpath=xmalloc(dirlen+1+filelen+1)', assigned value is 0 wget-1.25.0/src/url.c:1184:15: note: Null pointer dereference wget-1.25.0/src/url.c:1497:10: warning: If memory allocation fails, then there is a possible null pointer dereference: unescaped [nullPointerOutOfMemory] wget-1.25.0/src/url.c:1495:28: note: Assuming allocation function fails wget-1.25.0/src/url.c:1495:28: note: Assignment 'unescaped=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/url.c:1497:10: note: Null pointer dereference wget-1.25.0/src/url.c:1498:3: warning: If memory allocation fails, then there is a possible null pointer dereference: unescaped [nullPointerOutOfMemory] wget-1.25.0/src/url.c:1495:28: note: Assuming allocation function fails wget-1.25.0/src/url.c:1495:28: note: Assignment 'unescaped=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/url.c:1498:3: note: Null pointer dereference wget-1.25.0/src/url.c:1502:31: warning: If memory allocation fails, then there is a possible null pointer dereference: unescaped [nullPointerOutOfMemory] wget-1.25.0/src/url.c:1495:28: note: Assuming allocation function fails wget-1.25.0/src/url.c:1495:28: note: Assignment 'unescaped=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/url.c:1502:31: note: Null pointer dereference wget-1.25.0/src/url.c:2038:15: warning: If memory allocation fails, then there is a possible null pointer dereference: merge [nullPointerOutOfMemory] wget-1.25.0/src/url.c:2037:23: note: Assuming allocation function fails wget-1.25.0/src/url.c:2037:23: note: Assignment 'merge=xmalloc(baselength+linklength+1)', assigned value is 0 wget-1.25.0/src/url.c:2038:15: note: Null pointer dereference wget-1.25.0/src/url.c:2040:7: warning: If memory allocation fails, then there is a possible null pointer dereference: merge [nullPointerOutOfMemory] wget-1.25.0/src/url.c:2037:23: note: Assuming allocation function fails wget-1.25.0/src/url.c:2037:23: note: Assignment 'merge=xmalloc(baselength+linklength+1)', assigned value is 0 wget-1.25.0/src/url.c:2040:7: note: Null pointer dereference wget-1.25.0/src/url.c:2054:15: warning: If memory allocation fails, then there is a possible null pointer dereference: merge [nullPointerOutOfMemory] wget-1.25.0/src/url.c:2053:23: note: Assuming allocation function fails wget-1.25.0/src/url.c:2053:23: note: Assignment 'merge=xmalloc(baselength+linklength+1)', assigned value is 0 wget-1.25.0/src/url.c:2054:15: note: Null pointer dereference wget-1.25.0/src/url.c:2056:7: warning: If memory allocation fails, then there is a possible null pointer dereference: merge [nullPointerOutOfMemory] wget-1.25.0/src/url.c:2053:23: note: Assuming allocation function fails wget-1.25.0/src/url.c:2053:23: note: Assignment 'merge=xmalloc(baselength+linklength+1)', assigned value is 0 wget-1.25.0/src/url.c:2056:7: note: Null pointer dereference wget-1.25.0/src/url.c:2087:7: warning: If memory allocation fails, then there is a possible null pointer dereference: merge [nullPointerOutOfMemory] wget-1.25.0/src/url.c:2083:23: note: Assuming allocation function fails wget-1.25.0/src/url.c:2083:23: note: Assignment 'merge=xmalloc(span+linklength+1)', assigned value is 0 wget-1.25.0/src/url.c:2087:7: note: Null pointer dereference wget-1.25.0/src/url.c:2142:7: warning: If memory allocation fails, then there is a possible null pointer dereference: merge [nullPointerOutOfMemory] wget-1.25.0/src/url.c:2138:23: note: Assuming allocation function fails wget-1.25.0/src/url.c:2138:23: note: Assignment 'merge=xmalloc(span+linklength+1)', assigned value is 0 wget-1.25.0/src/url.c:2142:7: note: Null pointer dereference wget-1.25.0/src/url.c:2180:9: warning: If memory allocation fails, then there is a possible null pointer dereference: merge [nullPointerOutOfMemory] wget-1.25.0/src/url.c:2176:23: note: Assuming allocation function fails wget-1.25.0/src/url.c:2176:23: note: Assignment 'merge=xmalloc(span+linklength+1)', assigned value is 0 wget-1.25.0/src/url.c:2180:9: note: Null pointer dereference wget-1.25.0/src/url.c:2182:7: warning: If memory allocation fails, then there is a possible null pointer dereference: merge [nullPointerOutOfMemory] wget-1.25.0/src/url.c:2176:23: note: Assuming allocation function fails wget-1.25.0/src/url.c:2176:23: note: Assignment 'merge=xmalloc(span+linklength+1)', assigned value is 0 wget-1.25.0/src/url.c:2182:7: note: Null pointer dereference wget-1.25.0/src/url.c:2265:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] wget-1.25.0/src/url.c:2263:24: note: Assuming allocation function fails wget-1.25.0/src/url.c:2263:14: note: Assignment 'p=result=xmalloc(size)', assigned value is 0 wget-1.25.0/src/url.c:2265:3: note: Null pointer dereference wget-1.25.0/src/utils.c:1140:21: style:inconclusive: Function 'accdir' argument 1 names different: declaration 's' definition 'directory'. [funcArgNamesDifferent] wget-1.25.0/src/utils.h:102:26: note: Function 'accdir' argument 1 names different: declaration 's' definition 'directory'. wget-1.25.0/src/utils.c:1140:21: note: Function 'accdir' argument 1 names different: declaration 's' definition 'directory'. wget-1.25.0/src/utils.c:1224:21: style:inconclusive: Function 'suffix' argument 1 names different: declaration 's' definition 'str'. [funcArgNamesDifferent] wget-1.25.0/src/utils.h:103:27: note: Function 'suffix' argument 1 names different: declaration 's' definition 'str'. wget-1.25.0/src/utils.c:1224:21: note: Function 'suffix' argument 1 names different: declaration 's' definition 'str'. wget-1.25.0/src/url.c:1502:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/url.c:1495:28: note: Assuming allocation function fails wget-1.25.0/src/url.c:1495:28: note: Assignment 'unescaped=xmalloc(len+1)', assigned value is 0 wget-1.25.0/src/url.c:1502:21: note: Null pointer addition wget-1.25.0/src/url.c:2039:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/url.c:2037:23: note: Assuming allocation function fails wget-1.25.0/src/url.c:2037:23: note: Assignment 'merge=xmalloc(baselength+linklength+1)', assigned value is 0 wget-1.25.0/src/url.c:2039:21: note: Null pointer addition wget-1.25.0/src/url.c:2055:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] wget-1.25.0/src/url.c:2053:23: note: Assuming allocation function fails wget-1.25.0/src/url.c:2053:23: note: Assignment 'merge=xmalloc(baselength+linklength+1)', assigned value is 0 wget-1.25.0/src/url.c:2055:21: note: Null pointer addition wget-1.25.0/src/utils.c:428:14: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/utils.c:858:63: style: Parameter 'fstats' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/utils.c:922:68: style: Parameter 'fstats' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/utils.c:1545:41: style: Parameter 'ht' can be declared as pointer to const [constParameterPointer] wget-1.25.0/src/utils.c:1604:21: style: Variable 'lconv' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/url.c:835:7: style:inconclusive: Statements following 'goto' will never be executed. [unreachableCode] wget-1.25.0/src/url.c:1806:77: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] wget-1.25.0/src/url.c:1040:9: style: Variable 'last_slash' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/url.c:1095:3: style: Variable 'f_el' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/url.c:1096:3: style: Variable 'f_el' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/url.c:1097:3: style: Variable 'f_el' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/url.c:1704:9: style: Variable 'pathel' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/url.c:1906:9: style: Variable 'beg' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/url.c:1907:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] wget-1.25.0/src/url.c:1339:3: portability: 'basevar_new' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] wget-1.25.0/src/url.c:1349:7: portability: 'basevar_new' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] wget-1.25.0/src/url.c:1365:7: portability: 'basevar_new' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] wget-1.25.0/src/url.c:1536:3: portability: 'basevar_new' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] wget-1.25.0/src/url.c:1339:3: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] wget-1.25.0/src/url.c:1349:7: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] wget-1.25.0/src/url.c:1365:7: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] wget-1.25.0/src/url.c:1536:3: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] wget-1.25.0/src/http.c:2115:21: style: The statement 'if (sock!=-1) sock=-1' is logically equivalent to 'sock=-1'. [duplicateConditionalAssign] wget-1.25.0/src/http.c:2117:16: note: Assignment 'sock=-1' wget-1.25.0/src/http.c:2115:21: note: Condition 'sock!=-1' is redundant wget-1.25.0/src/http.c:825:15: style: Condition 'end-p<3' is always true [knownConditionTrueFalse] wget-1.25.0/src/http.c:823:12: note: Assuming that condition 'p