2025-06-27 23:50 ftp://ftp.de.debian.org/debian/pool/main/h/httrack/httrack_3.49.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=openssl --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 -j1 platform: Linux-6.8.0-62-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: b6dd286 (2025-06-27 13:53:34 +0200) count: 1088 1070 elapsed-time: 464.3 458.2 head-timing-info: old-timing-info: head results: httrack-3.49.6/libtest/callbacks-example-baselinks.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-baselinks.c:74:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable check_html [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-baselinks.c:94:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linkdetected [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-baselinks.c:116:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-baselinks.c:62:42: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: callbacks_userdef [nullPointerOutOfMemory] httrack-3.49.6/libtest/callbacks-example-baselinks.c:55:37: note: Assuming allocation function fails httrack-3.49.6/libtest/callbacks-example-baselinks.c:55:37: note: Assignment 'callbacks_userdef=strdup(arg)', assigned value is 0 httrack-3.49.6/libtest/callbacks-example-baselinks.c:62:42: note: Null pointer dereference httrack-3.49.6/libtest/callbacks-example-changecontent.c:41:8: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/libtest/callbacks-example-contentfilter.c:59:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-contentfilter.c:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable check_html [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-contentfilter.c:155:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-contentfilter.c:66:32: warning: If memory allocation fails, then there is a possible null pointer dereference: userdef [nullPointerOutOfMemory] httrack-3.49.6/libtest/callbacks-example-contentfilter.c:65:52: note: Assuming allocation function fails httrack-3.49.6/libtest/callbacks-example-contentfilter.c:65:29: note: Assignment 'userdef=(struct t_my_userdef*)malloc(sizeof(struct t_my_userdef))', assigned value is 0 httrack-3.49.6/libtest/callbacks-example-contentfilter.c:66:32: note: Null pointer dereference httrack-3.49.6/libtest/callbacks-example-contentfilter.c:67:34: warning: If memory allocation fails, then there is a possible null pointer dereference: userdef [nullPointerOutOfMemory] httrack-3.49.6/libtest/callbacks-example-contentfilter.c:65:52: note: Assuming allocation function fails httrack-3.49.6/libtest/callbacks-example-contentfilter.c:65:29: note: Assignment 'userdef=(struct t_my_userdef*)malloc(sizeof(struct t_my_userdef))', assigned value is 0 httrack-3.49.6/libtest/callbacks-example-contentfilter.c:67:34: note: Null pointer dereference httrack-3.49.6/libtest/callbacks-example-contentfilter.c:110:9: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/libtest/callbacks-example-contentfilter.c:66:32: error: Memory is allocated but not initialized: userdef [uninitdata] httrack-3.49.6/libtest/callbacks-example-displayheader.c:55:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable receivehead [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-displayheader.c:42:8: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/libtest/callbacks-example-filename.c:79:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable savename [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-filename.c:64:8: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/libtest/callbacks-example-filename2.c:59:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-filename2.c:92:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-filename2.c:118:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable savename [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-filename2.c:68:27: warning: If memory allocation fails, then there is a possible null pointer dereference: userdef [nullPointerOutOfMemory] httrack-3.49.6/libtest/callbacks-example-filename2.c:67:52: note: Assuming allocation function fails httrack-3.49.6/libtest/callbacks-example-filename2.c:67:29: note: Assignment 'userdef=(struct t_my_userdef*)malloc(sizeof(struct t_my_userdef))', assigned value is 0 httrack-3.49.6/libtest/callbacks-example-filename2.c:68:27: note: Null pointer dereference httrack-3.49.6/libtest/callbacks-example-filename2.c:69:27: warning: If memory allocation fails, then there is a possible null pointer dereference: userdef [nullPointerOutOfMemory] httrack-3.49.6/libtest/callbacks-example-filename2.c:67:52: note: Assuming allocation function fails httrack-3.49.6/libtest/callbacks-example-filename2.c:67:29: note: Assignment 'userdef=(struct t_my_userdef*)malloc(sizeof(struct t_my_userdef))', assigned value is 0 httrack-3.49.6/libtest/callbacks-example-filename2.c:69:27: note: Null pointer dereference httrack-3.49.6/libtest/callbacks-example-filename2.c:131:10: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] httrack-3.49.6/libtest/callbacks-example-filename2.c:127:16: note: Assuming allocation function fails httrack-3.49.6/libtest/callbacks-example-filename2.c:127:16: note: Assignment 'buff=strdup(save)', assigned value is 0 httrack-3.49.6/libtest/callbacks-example-filename2.c:128:7: note: Assignment 'a=buff', assigned value is 0 httrack-3.49.6/libtest/callbacks-example-filename2.c:131:10: note: Null pointer dereference httrack-3.49.6/libtest/callbacks-example-filename2.c:66:11: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/libtest/callbacks-example-filename2.c:111:15: style: Variable 'string1' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/libtest/callbacks-example-filename2.c:112:15: style: Variable 'string2' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/libtest/callbacks-example-filename2.c:68:27: error: Memory is allocated but not initialized: userdef [uninitdata] httrack-3.49.6/libtest/callbacks-example-filenameiisbug.c:56:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable savename [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-filenameiisbug.c:39:8: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/libtest/callbacks-example-listlinks.c:81:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable check_html [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-listlinks.c:102:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linkdetected [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-listlinks.c:121:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loop [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-listlinks.c:137:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-listlinks.c:63:3: warning: If memory allocation fails, then there is a possible null pointer dereference: userdef [nullPointerOutOfMemory] httrack-3.49.6/libtest/callbacks-example-listlinks.c:62:36: note: Assuming allocation function fails httrack-3.49.6/libtest/callbacks-example-listlinks.c:62:13: note: Assignment 'userdef=(struct t_my_userdef*)malloc(sizeof(struct t_my_userdef))', assigned value is 0 httrack-3.49.6/libtest/callbacks-example-listlinks.c:63:3: note: Null pointer dereference httrack-3.49.6/libtest/callbacks-example-listlinks.c:99:15: style: Variable 'currentURLBeingParsed' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/libtest/callbacks-example-listlinks.c:59:8: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/libtest/callbacks-example-log.c:40:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable check_html [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-log.c:60:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-log.c:76:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-simple.c:42:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable check_html [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-simple.c:62:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-simple.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/libtest/callbacks-example-simple.c:82:8: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/libtest/example-main.c:55:3: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] httrack-3.49.6/libtest/example-main.c:111:3: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] httrack-3.49.6/libtest/example-main.c:127:60: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_init' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:82:29: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:127:60: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:130:62: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_uninit' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:83:31: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:130:62: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:133:60: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_start' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:84:30: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:133:60: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:133:77: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_start' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:84:30: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:133:77: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:137:60: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_chopt' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:86:30: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:137:60: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:137:77: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_chopt' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:86:30: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:137:77: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:140:58: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_end' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:85:28: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:140:58: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:140:75: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_end' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:85:28: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:140:75: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:144:64: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_checkhtml' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:89:35: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:144:64: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:145:55: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_checkhtml' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:89:35: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:145:55: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:145:66: style: Parameter 'html' can be declared as pointer to const. However it seems that 'httrack_wrapper_checkhtml' is a callback function, if 'html' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:89:35: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:145:66: note: Parameter 'html' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:151:59: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_loop' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:93:29: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:151:59: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:151:76: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_loop' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:93:29: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:151:76: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:152:45: style: Parameter '_back' can be declared as pointer to const. However it seems that 'httrack_wrapper_loop' is a callback function, if '_back' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:93:29: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:152:45: note: Parameter '_back' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:154:57: style: Parameter 'stats' can be declared as pointer to const. However it seems that 'httrack_wrapper_loop' is a callback function, if 'stats' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:93:29: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:154:57: note: Parameter 'stats' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:158:68: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_query' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:90:30: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:158:68: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:159:59: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_query' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:90:30: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:159:59: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:164:69: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_query2' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:91:31: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:164:69: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:165:60: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_query2' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:91:31: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:165:60: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:170:69: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_query3' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:92:31: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:170:69: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:171:60: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_query3' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:92:31: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:171:60: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:176:60: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_check' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:94:35: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:176:60: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:176:77: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_check' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:94:35: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:176:77: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:182:61: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_pause' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:96:30: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:182:61: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:183:52: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_pause' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:96:30: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:183:52: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:186:64: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_filesave' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:97:33: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:186:64: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:187:55: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_filesave' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:97:33: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:187:55: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:189:67: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_linkdetected' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:99:37: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:189:67: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:190:58: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_linkdetected' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:99:37: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:190:58: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:190:69: style: Parameter 'link' can be declared as pointer to const. However it seems that 'httrack_wrapper_linkdetected' is a callback function, if 'link' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:99:37: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:190:69: note: Parameter 'link' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:194:64: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_xfrstatus' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:101:34: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:194:64: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:195:55: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_xfrstatus' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:101:34: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:195:55: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:195:66: style: Parameter 'back' can be declared as pointer to const. However it seems that 'httrack_wrapper_xfrstatus' is a callback function, if 'back' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:101:34: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:195:66: note: Parameter 'back' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:198:69: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_preprocesshtml' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:87:35: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:198:69: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:199:60: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_preprocesshtml' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:87:35: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:199:60: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:200:54: style: Parameter 'len' can be declared as pointer to const. However it seems that 'httrack_wrapper_preprocesshtml' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:87:35: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:200:54: note: Parameter 'len' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:205:70: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_postprocesshtml' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:88:36: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:205:70: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:206:61: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_postprocesshtml' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:88:36: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:206:61: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:207:55: style: Parameter 'len' can be declared as pointer to const. However it seems that 'httrack_wrapper_postprocesshtml' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:88:36: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:207:55: note: Parameter 'len' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:212:65: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_check_mime' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:95:35: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:212:65: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:213:56: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_check_mime' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:95:35: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:213:56: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:218:65: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_filesave2' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:98:34: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:218:65: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:219:56: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_filesave2' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:98:34: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:219:56: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:224:68: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_linkdetected2' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:100:38: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:224:68: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:225:59: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_linkdetected2' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:100:38: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:225:59: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:225:70: style: Parameter 'link' can be declared as pointer to const. However it seems that 'httrack_wrapper_linkdetected2' is a callback function, if 'link' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:100:38: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:225:70: note: Parameter 'link' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:229:63: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_savename' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:102:33: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:229:63: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:230:54: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_savename' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:102:33: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:230:54: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:234:74: style: Parameter 'save' can be declared as pointer to const. However it seems that 'httrack_wrapper_savename' is a callback function, if 'save' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:102:33: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:234:74: note: Parameter 'save' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:237:65: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_sendheader' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:103:33: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:237:65: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:238:56: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_sendheader' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:103:33: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:238:56: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:238:67: style: Parameter 'buff' can be declared as pointer to const. However it seems that 'httrack_wrapper_sendheader' is a callback function, if 'buff' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:103:33: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:238:67: note: Parameter 'buff' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:242:54: style: Parameter 'outgoing' can be declared as pointer to const. However it seems that 'httrack_wrapper_sendheader' is a callback function, if 'outgoing' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:103:33: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:242:54: note: Parameter 'outgoing' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:245:68: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'httrack_wrapper_receiveheader' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:104:36: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:245:68: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:246:59: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'httrack_wrapper_receiveheader' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:104:36: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:246:59: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:246:70: style: Parameter 'buff' can be declared as pointer to const. However it seems that 'httrack_wrapper_receiveheader' is a callback function, if 'buff' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:104:36: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:246:70: note: Parameter 'buff' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:250:57: style: Parameter 'incoming' can be declared as pointer to const. However it seems that 'httrack_wrapper_receiveheader' is a callback function, if 'incoming' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/libtest/example-main.c:104:36: note: You might need to cast the function pointer here httrack-3.49.6/libtest/example-main.c:250:57: note: Parameter 'incoming' can be declared as pointer to const httrack-3.49.6/libtest/example-main.c:107:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/coucal/coucal.c:288:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/coucal/coucal.c:316:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/coucal/coucal.c:533:32: style: The statement 'if (hashtable->pool.capacity!=capacity) hashtable->pool.capacity=capacity' is logically equivalent to 'hashtable->pool.capacity=capacity'. [duplicateConditionalAssign] httrack-3.49.6/src/coucal/coucal.c:534:30: note: Assignment 'hashtable->pool.capacity=capacity' httrack-3.49.6/src/coucal/coucal.c:533:32: note: Condition 'hashtable->pool.capacity!=capacity' is redundant httrack-3.49.6/src/coucal/coucal.c:333:10: warning: Either the condition 'hashtable!=NULL' is redundant or there is possible null pointer dereference: hashtable. [nullPointerRedundantCheck] httrack-3.49.6/src/coucal/coucal.c:297:17: note: Assuming that condition 'hashtable!=NULL' is not redundant httrack-3.49.6/src/coucal/coucal.c:294:44: note: Calling function 'coucal_get_name', 1st argument 'hashtable' value is 0 httrack-3.49.6/src/coucal/coucal.c:333:10: note: Null pointer dereference httrack-3.49.6/src/coucal/coucal.c:379:46: style:inconclusive: Function 'coucal_hash_data' argument 1 names different: declaration 'data' definition 'data_'. [funcArgNamesDifferent] httrack-3.49.6/src/coucal/coucal.h:511:60: note: Function 'coucal_hash_data' argument 1 names different: declaration 'data' definition 'data_'. httrack-3.49.6/src/coucal/coucal.c:379:46: note: Function 'coucal_hash_data' argument 1 names different: declaration 'data' definition 'data_'. httrack-3.49.6/src/coucal/coucal.c:476:63: style:inconclusive: Function 'coucal_hash_string' argument 1 names different: declaration 'value' definition 'name'. [funcArgNamesDifferent] httrack-3.49.6/src/coucal/coucal.h:506:62: note: Function 'coucal_hash_string' argument 1 names different: declaration 'value' definition 'name'. httrack-3.49.6/src/coucal/coucal.c:476:63: note: Function 'coucal_hash_string' argument 1 names different: declaration 'value' definition 'name'. httrack-3.49.6/src/coucal/coucal.c:752:71: style:inconclusive: Function 'coucal_read_pvoid' argument 3 names different: declaration 'value' definition 'pvalue'. [funcArgNamesDifferent] httrack-3.49.6/src/coucal/coucal.h:404:44: note: Function 'coucal_read_pvoid' argument 3 names different: declaration 'value' definition 'pvalue'. httrack-3.49.6/src/coucal/coucal.c:752:71: note: Function 'coucal_read_pvoid' argument 3 names different: declaration 'value' definition 'pvalue'. httrack-3.49.6/src/coucal/coucal.c:769:71: style:inconclusive: Function 'coucal_write_pvoid' argument 3 names different: declaration 'value' definition 'pvalue'. [funcArgNamesDifferent] httrack-3.49.6/src/coucal/coucal.h:417:44: note: Function 'coucal_write_pvoid' argument 3 names different: declaration 'value' definition 'pvalue'. httrack-3.49.6/src/coucal/coucal.c:769:71: note: Function 'coucal_write_pvoid' argument 3 names different: declaration 'value' definition 'pvalue'. httrack-3.49.6/src/coucal/coucal.c:776:70: style:inconclusive: Function 'coucal_add_pvoid' argument 3 names different: declaration 'value' definition 'pvalue'. [funcArgNamesDifferent] httrack-3.49.6/src/coucal/coucal.h:423:43: note: Function 'coucal_add_pvoid' argument 3 names different: declaration 'value' definition 'pvalue'. httrack-3.49.6/src/coucal/coucal.c:776:70: note: Function 'coucal_add_pvoid' argument 3 names different: declaration 'value' definition 'pvalue'. httrack-3.49.6/src/coucal/coucal.c:783:68: style:inconclusive: Function 'coucal_write' argument 3 names different: declaration 'value' definition 'intvalue'. [funcArgNamesDifferent] httrack-3.49.6/src/coucal/coucal.h:430:41: note: Function 'coucal_write' argument 3 names different: declaration 'value' definition 'intvalue'. httrack-3.49.6/src/coucal/coucal.c:783:68: note: Function 'coucal_write' argument 3 names different: declaration 'value' definition 'intvalue'. httrack-3.49.6/src/coucal/coucal.c:1162:67: style:inconclusive: Function 'coucal_add' argument 3 names different: declaration 'value' definition 'intvalue'. [funcArgNamesDifferent] httrack-3.49.6/src/coucal/coucal.h:436:40: note: Function 'coucal_add' argument 3 names different: declaration 'value' definition 'intvalue'. httrack-3.49.6/src/coucal/coucal.c:1162:67: note: Function 'coucal_add' argument 3 names different: declaration 'value' definition 'intvalue'. httrack-3.49.6/src/coucal/coucal.c:1218:38: style:inconclusive: Function 'coucal_read_value' argument 3 names different: declaration 'value' definition 'pvalue'. [funcArgNamesDifferent] httrack-3.49.6/src/coucal/coucal.h:390:51: note: Function 'coucal_read_value' argument 3 names different: declaration 'value' definition 'pvalue'. httrack-3.49.6/src/coucal/coucal.c:1218:38: note: Function 'coucal_read_value' argument 3 names different: declaration 'value' definition 'pvalue'. httrack-3.49.6/src/coucal/coucal.c:1337:72: style:inconclusive: Function 'coucal_readptr' argument 3 names different: declaration 'intvalue' definition 'value'. [funcArgNamesDifferent] httrack-3.49.6/src/coucal/coucal.h:371:45: note: Function 'coucal_readptr' argument 3 names different: declaration 'intvalue' definition 'value'. httrack-3.49.6/src/coucal/coucal.c:1337:72: note: Function 'coucal_readptr' argument 3 names different: declaration 'intvalue' definition 'value'. httrack-3.49.6/src/coucal/coucal.c:1363:26: style:inconclusive: Function 'coucal_new' argument 1 names different: declaration 'size' definition 'initial_size'. [funcArgNamesDifferent] httrack-3.49.6/src/coucal/coucal.h:261:40: note: Function 'coucal_new' argument 1 names different: declaration 'size' definition 'initial_size'. httrack-3.49.6/src/coucal/coucal.c:1363:26: note: Function 'coucal_new' argument 1 names different: declaration 'size' definition 'initial_size'. httrack-3.49.6/src/coucal/coucal.c:1490:28: style:inconclusive: Function 'coucal_delete' argument 1 names different: declaration 'hashtable' definition 'phashtable'. [funcArgNamesDifferent] httrack-3.49.6/src/coucal/coucal.h:272:43: note: Function 'coucal_delete' argument 1 names different: declaration 'hashtable' definition 'phashtable'. httrack-3.49.6/src/coucal/coucal.c:1490:28: note: Function 'coucal_delete' argument 1 names different: declaration 'hashtable' definition 'phashtable'. httrack-3.49.6/src/coucal/coucal.c:913:18: style: Local variable 'pos' shadows outer variable [shadowVariable] httrack-3.49.6/src/coucal/coucal.c:887:10: note: Shadowed declaration httrack-3.49.6/src/coucal/coucal.c:913:18: note: Shadow variable httrack-3.49.6/src/coucal/coucal.c:981:28: style: Local variable 'item' shadows outer argument [shadowArgument] httrack-3.49.6/src/coucal/coucal.c:884:59: note: Shadowed declaration httrack-3.49.6/src/coucal/coucal.c:981:28: note: Shadow variable httrack-3.49.6/src/coucal/coucal.c:992:30: style: Local variable 'item' shadows outer argument [shadowArgument] httrack-3.49.6/src/coucal/coucal.c:884:59: note: Shadowed declaration httrack-3.49.6/src/coucal/coucal.c:992:30: note: Shadow variable httrack-3.49.6/src/coucal/coucal.c:993:24: style: Local variable 'pos1' shadows outer variable [shadowVariable] httrack-3.49.6/src/coucal/coucal.c:982:22: note: Shadowed declaration httrack-3.49.6/src/coucal/coucal.c:993:24: note: Shadow variable httrack-3.49.6/src/coucal/coucal.c:994:24: style: Local variable 'pos2' shadows outer variable [shadowVariable] httrack-3.49.6/src/coucal/coucal.c:983:22: note: Shadowed declaration httrack-3.49.6/src/coucal/coucal.c:994:24: note: Shadow variable httrack-3.49.6/src/coucal/coucal.c:1005:30: style: Local variable 'item' shadows outer argument [shadowArgument] httrack-3.49.6/src/coucal/coucal.c:884:59: note: Shadowed declaration httrack-3.49.6/src/coucal/coucal.c:1005:30: note: Shadow variable httrack-3.49.6/src/coucal/coucal.c:1006:24: style: Local variable 'pos1' shadows outer variable [shadowVariable] httrack-3.49.6/src/coucal/coucal.c:982:22: note: Shadowed declaration httrack-3.49.6/src/coucal/coucal.c:1006:24: note: Shadow variable httrack-3.49.6/src/coucal/coucal.c:1007:24: style: Local variable 'pos2' shadows outer variable [shadowVariable] httrack-3.49.6/src/coucal/coucal.c:983:22: note: Shadowed declaration httrack-3.49.6/src/coucal/coucal.c:1007:24: note: Shadow variable httrack-3.49.6/src/coucal/coucal.c:1129:16: style: Local variable 'i' shadows outer variable [shadowVariable] httrack-3.49.6/src/coucal/coucal.c:1053:14: note: Shadowed declaration httrack-3.49.6/src/coucal/coucal.c:1129:16: note: Shadow variable httrack-3.49.6/src/coucal/coucal.c:1138:21: style: Local variable 'ret' shadows outer variable [shadowVariable] httrack-3.49.6/src/coucal/coucal.c:1037:13: note: Shadowed declaration httrack-3.49.6/src/coucal/coucal.c:1138:21: note: Shadow variable httrack-3.49.6/src/coucal/coucal.c:604:15: style: Variable 'oldbase' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/coucal/coucal.c:1219:23: style: Variable 'value' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/coucal/coucal.c:546:5: warning: Conversion of string literal "hashtable string pool compaction error" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/coucal/coucal.c:630:5: warning: Conversion of string literal "hashtable string pool allocation error" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/coucal/coucal.c:714:3: warning: Conversion of string literal "duplicate or bad string pool release" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/coucal/coucal.c:951:9: warning: Conversion of string literal "hashtable internal error: unexpected position" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/coucal/coucal.c:1023:5: warning: Conversion of string literal "hashtable internal error: cuckoo/stash collision" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/coucal/coucal.c:1086:9: warning: Conversion of string literal "hashtable allocation error" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/coucal/coucal.c:1117:13: warning: Conversion of string literal "hashtable unexpected internal error (bad position)" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/coucal/coucal.c:1140:13: warning: Conversion of string literal "hashtable duplicate key when merging the stash" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/coucal/sample.c:47:16: style: Variable 'item' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/coucal/tests.c:71:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DO_ADD [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/coucal/tests.c:222:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/coucal/tests.c:127:15: error: Common realloc mistake: 'strings' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/coucal/tests.c:198:14: error: Uninitialized variable: result [legacyUninitvar] httrack-3.49.6/src/htssafe.h:91:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsnet.h:146:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsnet.h:174:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsnet.h:191:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsnet.h:240:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsnet.h:232:57: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htsalias.c:290:9: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsalias.c:293:9: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsalias.c:297:9: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsalias.c:304:11: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsalias.c:307:11: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsalias.c:309:11: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsalias.c:578:5: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsalias.c:577:5: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htsnet.h:119:5: warning: Conversion of string literal "invalid structure" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/htssafe.h:119:8: style: Variable 'check_array' is not assigned a value. [unassignedVariable] httrack-3.49.6/src/htssafe.h:120:8: style: Variable 'check_pointer' is not assigned a value. [unassignedVariable] httrack-3.49.6/src/htsback.c:818:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsback.c:950:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsback.c:996:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsback.c:2535:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_OP_ALL [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsback.c:665:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] httrack-3.49.6/src/htsback.c:2476:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] httrack-3.49.6/src/htsback.c:3912:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] httrack-3.49.6/src/htsback.c:1615:21: style: Condition '!found' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htsback.c:1579:29: note: Assignment 'found=0', assigned value is 0 httrack-3.49.6/src/htsback.c:1615:21: note: Condition '!found' is always true httrack-3.49.6/src/htsback.c:1973:22: style: Condition 'host_wait(opt,&back[p])' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htsback.c:1973:22: note: Calling function 'host_wait' returns 1 httrack-3.49.6/src/htsback.c:1973:22: note: Condition 'host_wait(opt,&back[p])' is always true httrack-3.49.6/src/htsback.c:2656:22: style: Condition 'host_wait(opt,&back[i])' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htsback.c:2656:22: note: Calling function 'host_wait' returns 1 httrack-3.49.6/src/htsback.c:2656:22: note: Condition 'host_wait(opt,&back[i])' is always true httrack-3.49.6/src/htsback.c:300:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] httrack-3.49.6/src/htsback.c:469:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] httrack-3.49.6/src/htsback.c:3047:25: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] httrack-3.49.6/src/htsback.c:74:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:74:3: note: Null pointer dereference httrack-3.49.6/src/htsback.c:75:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:75:3: note: Null pointer dereference httrack-3.49.6/src/htsback.c:76:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:76:3: note: Null pointer dereference httrack-3.49.6/src/htsback.c:77:24: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:77:24: note: Null pointer dereference httrack-3.49.6/src/htsback.c:78:19: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:78:19: note: Null pointer dereference httrack-3.49.6/src/htsback.c:79:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:79:3: note: Null pointer dereference httrack-3.49.6/src/htsback.c:80:26: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:80:26: note: Null pointer dereference httrack-3.49.6/src/htsback.c:82:18: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:82:18: note: Null pointer dereference httrack-3.49.6/src/htsback.c:83:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:83:5: note: Null pointer dereference httrack-3.49.6/src/htsback.c:83:32: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:83:32: note: Null pointer dereference httrack-3.49.6/src/htsback.c:84:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:84:5: note: Null pointer dereference httrack-3.49.6/src/htsback.c:85:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:85:5: note: Null pointer dereference httrack-3.49.6/src/htsback.c:1463:5: warning: Either the condition '(save)!=NULL' is redundant or there is possible null pointer dereference: save. [nullPointerRedundantCheck] httrack-3.49.6/src/htsback.c:1531:13: note: Assuming that condition '(save)!=NULL' is not redundant httrack-3.49.6/src/htsback.c:1463:5: note: Null pointer dereference httrack-3.49.6/src/htsback.c:1578:19: warning: Either the condition '(save)!=NULL' is redundant or there is possible null pointer dereference: save. [nullPointerRedundantCheck] httrack-3.49.6/src/htsback.c:1578:39: note: Assuming that condition '(save)!=NULL' is not redundant httrack-3.49.6/src/htsback.c:1578:19: note: Null pointer dereference httrack-3.49.6/src/htsback.c:1945:11: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:1944:41: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:1944:13: note: Assignment 'str=(struct FTPDownloadStruct*)malloc(sizeof(struct FTPDownloadStruct))', assigned value is 0 httrack-3.49.6/src/htsback.c:1945:11: note: Null pointer dereference httrack-3.49.6/src/htsback.c:1946:11: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:1944:41: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:1944:13: note: Assignment 'str=(struct FTPDownloadStruct*)malloc(sizeof(struct FTPDownloadStruct))', assigned value is 0 httrack-3.49.6/src/htsback.c:1946:11: note: Null pointer dereference httrack-3.49.6/src/htsback.c:200:23: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsback.c:645:30: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsback.c:995:10: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsback.c:1597:30: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsback.c:1626:40: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsback.c:3666:51: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsback.c:3692:35: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsback.c:2122:45: style:inconclusive: Function 'back_solve' argument 2 names different: declaration 'sback' definition 'back'. [funcArgNamesDifferent] httrack-3.49.6/src/htsback.h:135:45: note: Function 'back_solve' argument 2 names different: declaration 'sback' definition 'back'. httrack-3.49.6/src/htsback.c:2122:45: note: Function 'back_solve' argument 2 names different: declaration 'sback' definition 'back'. httrack-3.49.6/src/htsback.c:2148:43: style:inconclusive: Function 'host_wait' argument 2 names different: declaration 'sback' definition 'back'. [funcArgNamesDifferent] httrack-3.49.6/src/htsback.h:136:43: note: Function 'host_wait' argument 2 names different: declaration 'sback' definition 'back'. httrack-3.49.6/src/htsback.c:2148:43: note: Function 'host_wait' argument 2 names different: declaration 'sback' definition 'back'. httrack-3.49.6/src/htsback.c:3971:30: style:inconclusive: Function 'back_transferred' argument 1 names different: declaration 'add' definition 'nb'. [funcArgNamesDifferent] httrack-3.49.6/src/htsback.h:131:30: note: Function 'back_transferred' argument 1 names different: declaration 'add' definition 'nb'. httrack-3.49.6/src/htsback.c:3971:30: note: Function 'back_transferred' argument 1 names different: declaration 'add' definition 'nb'. httrack-3.49.6/src/htsback.c:1198:24: style: Local variable 'back' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsback.c:1187:20: note: Shadowed declaration httrack-3.49.6/src/htsback.c:1198:24: note: Shadow variable httrack-3.49.6/src/htsback.c:2108:35: style: Pointer expression 'url_sav' converted to bool is always true. [knownPointerToBool] httrack-3.49.6/src/htsback.c:155:20: style: Variable 'back' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsback.c:662:22: style: Variable 'A' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsback.c:1153:20: style: Variable 'back' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsback.c:1171:20: style: Variable 'back' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsback.c:1187:20: style: Variable 'back' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsback.c:1392:20: style: Variable 'back' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsback.c:2148:26: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htsback.c:2148:43: style: Parameter 'back' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htsback.c:4002:20: style: Variable 'back' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsback.c:4019:20: style: Variable 'back' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscore.h:244:44: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htscore.h:248:44: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htsback.c:1521:15: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsback.c:844:23: style: Variable 'checkerror' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsback.c:1081:13: style: Variable 'lt' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsback.c:1101:16: style: Variable 'lt' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsback.c:1802:22: style: Variable 'send_too' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsback.c:2321:14: style: Variable 'nfds' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsbauth.c:278:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsbauth.c:319:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsbauth.c:137:21: style: Unsigned expression 'i' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htsbauth.c:206:48: style:inconclusive: Function 'cookie_load' argument 2 names different: declaration 'path' definition 'fpath'. [funcArgNamesDifferent] httrack-3.49.6/src/htsbauth.h:68:48: note: Function 'cookie_load' argument 2 names different: declaration 'path' definition 'fpath'. httrack-3.49.6/src/htsbauth.c:206:48: note: Function 'cookie_load' argument 2 names different: declaration 'path' definition 'fpath'. httrack-3.49.6/src/htsbauth.c:461:26: style:inconclusive: Function 'bauth_prefix' argument 1 names different: declaration 'buffer' definition 'prefix'. [funcArgNamesDifferent] httrack-3.49.6/src/htsbauth.h:79:26: note: Function 'bauth_prefix' argument 1 names different: declaration 'buffer' definition 'prefix'. httrack-3.49.6/src/htsbauth.c:461:26: note: Function 'bauth_prefix' argument 1 names different: declaration 'buffer' definition 'prefix'. httrack-3.49.6/src/htsbauth.c:116:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsbauth.c:447:11: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsbauth.c:365:7: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsbauth.c:293:15: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htsbauth.c:294:15: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htsbauth.c:295:15: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htsbauth.c:296:15: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htsbauth.c:464:3: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htscache.c:875:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscache.c:1212:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscache.c:1412:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscache.c:1560:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] httrack-3.49.6/src/htscache.c:1555:38: note: outer condition: !cache->ro httrack-3.49.6/src/htscache.c:1560:13: note: identical inner condition: !cache->ro httrack-3.49.6/src/htscache.c:911:21: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] httrack-3.49.6/src/htscache.c:911:21: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] httrack-3.49.6/src/htscache.c:372:20: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:793:28: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:930:42: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1232:38: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1411:13: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1435:18: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1440:18: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1453:16: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1481:18: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1488:18: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1492:16: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1497:16: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1510:18: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1517:18: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1579:18: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1705:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1709:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1714:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1718:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1851:20: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1859:20: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1866:19: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1883:20: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1891:20: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1898:19: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1911:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1915:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1945:20: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1953:20: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1960:19: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1977:20: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1985:20: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:1992:19: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:2033:16: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:2058:28: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscache.c:625:44: style:inconclusive: Function 'cache_readex_new' argument 5 names different: declaration 'save' definition 'target_save'. [funcArgNamesDifferent] httrack-3.49.6/src/htscache.c:604:44: note: Function 'cache_readex_new' argument 5 names different: declaration 'save' definition 'target_save'. httrack-3.49.6/src/htscache.c:625:44: note: Function 'cache_readex_new' argument 5 names different: declaration 'save' definition 'target_save'. httrack-3.49.6/src/htscache.c:1344:40: style:inconclusive: Function 'cache_readdata' argument 5 names different: declaration 'len' definition 'inlen'. [funcArgNamesDifferent] httrack-3.49.6/src/htscache.h:81:40: note: Function 'cache_readdata' argument 5 names different: declaration 'len' definition 'inlen'. httrack-3.49.6/src/htscache.c:1344:40: note: Function 'cache_readdata' argument 5 names different: declaration 'len' definition 'inlen'. httrack-3.49.6/src/htscache.c:780:32: style: Local variable 'fsize' shadows outer function [shadowFunction] httrack-3.49.6/src/htslib.h:285:7: note: Shadowed declaration httrack-3.49.6/src/htscache.c:780:32: note: Shadow variable httrack-3.49.6/src/htscache.c:817:32: style: Local variable 'fsize' shadows outer function [shadowFunction] httrack-3.49.6/src/htslib.h:285:7: note: Shadowed declaration httrack-3.49.6/src/htscache.c:817:32: note: Shadow variable httrack-3.49.6/src/htscache.c:862:31: style: Local variable 'buff' shadows outer variable [shadowVariable] httrack-3.49.6/src/htscache.c:628:15: note: Shadowed declaration httrack-3.49.6/src/htscache.c:862:31: note: Shadow variable httrack-3.49.6/src/htscache.c:1159:19: style: Local variable 'ok' shadows outer variable [shadowVariable] httrack-3.49.6/src/htscache.c:1018:7: note: Shadowed declaration httrack-3.49.6/src/htscache.c:1159:19: note: Shadow variable httrack-3.49.6/src/htscache.c:1191:31: style: Local variable 'buff' shadows outer variable [shadowVariable] httrack-3.49.6/src/htscache.c:1013:15: note: Shadowed declaration httrack-3.49.6/src/htscache.c:1191:31: note: Shadow variable httrack-3.49.6/src/htscache.c:223:45: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htscache.c:328:16: style: Variable 'tm_s' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscache.c:1310:45: style: Parameter 'outbuff' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htscache.c:874:36: error: Uninitialized variable: buff [uninitvar] httrack-3.49.6/src/htscache.c:194:21: style: struct member 'cache_back_zip_entry::hdrPos' is never used. [unusedStructMember] httrack-3.49.6/src/htscache.c:195:21: style: struct member 'cache_back_zip_entry::size' is never used. [unusedStructMember] httrack-3.49.6/src/htscache.c:196:7: style: struct member 'cache_back_zip_entry::compressionMethod' is never used. [unusedStructMember] httrack-3.49.6/src/htscache.c:405:13: style: Variable 'zErr' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htscache.c:1602:32: style: Variable 'readSizeHeader' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htscatchurl.c:89:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscatchurl.c:268:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscatchurl.c:177:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] httrack-3.49.6/src/htscatchurl.c:182:17: style: Variable 'r' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htscharset.c:455:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscharset.c:1139:15: style: Comparing expression of type 'unsigned char' against value -1. Condition is always true. [compareValueOutOfTypeRangeError] httrack-3.49.6/src/htscharset.c:1139:15: style: Comparing expression of type 'const unsigned char' against value -1. Condition is always true. [compareValueOutOfTypeRangeError] httrack-3.49.6/src/htscharset.c:1239:5: style: Comparing expression of type 'unsigned char' against value -1. Condition is always true. [compareValueOutOfTypeRangeError] httrack-3.49.6/src/htscharset.c:1239:5: style: Comparing expression of type 'const unsigned char' against value -1. Condition is always true. [compareValueOutOfTypeRangeError] httrack-3.49.6/src/htscharset.c:479:13: error: Common realloc mistake: 'outbuf' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:497:9: error: Common realloc mistake: 'outbuf' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:955:11: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:956:11: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:957:11: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:958:11: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1021:15: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1041:13: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1051:7: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1111:11: error: Common realloc mistake: 'output_dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1127:15: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1139:15: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1157:11: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1163:7: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1194:5: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1199:3: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1239:5: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:1242:3: error: Common realloc mistake: 'dest' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscharset.c:578:11: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] httrack-3.49.6/src/htscharset.c:574:31: note: Assuming allocation function fails httrack-3.49.6/src/htscharset.c:574:31: note: Assignment 's=malloc(len+1)', assigned value is 0 httrack-3.49.6/src/htscharset.c:578:11: note: Null pointer dereference httrack-3.49.6/src/htscharset.c:580:9: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] httrack-3.49.6/src/htscharset.c:574:31: note: Assuming allocation function fails httrack-3.49.6/src/htscharset.c:574:31: note: Assignment 's=malloc(len+1)', assigned value is 0 httrack-3.49.6/src/htscharset.c:580:9: note: Null pointer dereference httrack-3.49.6/src/htscharset.c:688:21: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] httrack-3.49.6/src/htscharset.c:684:41: note: Assuming allocation function fails httrack-3.49.6/src/htscharset.c:684:41: note: Assignment 's=malloc(len+1)', assigned value is 0 httrack-3.49.6/src/htscharset.c:688:21: note: Null pointer dereference httrack-3.49.6/src/htscharset.c:690:19: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] httrack-3.49.6/src/htscharset.c:684:41: note: Assuming allocation function fails httrack-3.49.6/src/htscharset.c:684:41: note: Assignment 's=malloc(len+1)', assigned value is 0 httrack-3.49.6/src/htscharset.c:690:19: note: Null pointer dereference httrack-3.49.6/src/htscharset.c:619:63: style:inconclusive: Function 'hts_copyStringUTF8' argument 3 names different: declaration 'nBytes' definition 'size'. [funcArgNamesDifferent] httrack-3.49.6/src/htscharset.h:109:41: note: Function 'hts_copyStringUTF8' argument 3 names different: declaration 'nBytes' definition 'size'. httrack-3.49.6/src/htscharset.c:619:63: note: Function 'hts_copyStringUTF8' argument 3 names different: declaration 'nBytes' definition 'size'. httrack-3.49.6/src/htscharset.c:968:33: style: Local variable 'c' shadows outer variable [shadowVariable] httrack-3.49.6/src/htscharset.c:939:25: note: Shadowed declaration httrack-3.49.6/src/htscharset.c:968:33: note: Shadow variable httrack-3.49.6/src/htscharset.c:1040:24: style: Local variable 'c' shadows outer variable [shadowVariable] httrack-3.49.6/src/htscharset.c:939:25: note: Shadowed declaration httrack-3.49.6/src/htscharset.c:1040:24: note: Shadow variable httrack-3.49.6/src/htscharset.c:1156:22: style: Local variable 'c' shadows outer variable [shadowVariable] httrack-3.49.6/src/htscharset.c:1085:25: note: Shadowed declaration httrack-3.49.6/src/htscharset.c:1156:22: note: Shadow variable httrack-3.49.6/src/htsarrays.h:44:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:579:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:2584:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:2591:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:2638:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:2746:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:2865:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:2915:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:2965:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:3011:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:3034:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:3110:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:3424:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:3446:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:3484:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:3779:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscore.c:523:5: error: Address of local auto-variable assigned to a function parameter. [autoVariables] httrack-3.49.6/src/htscore.c:594:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] httrack-3.49.6/src/htscore.c:609:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] httrack-3.49.6/src/htscore.c:2496:28: style: Array index 'l' is used before limits check. [arrayIndexThenCheck] httrack-3.49.6/src/htscore.c:897:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] httrack-3.49.6/src/htscore.c:913:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] httrack-3.49.6/src/htscore.c:941:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] httrack-3.49.6/src/htscore.c:3209:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] httrack-3.49.6/src/htscore.c:1604:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] httrack-3.49.6/src/htscore.c:1539:9: note: outer condition: !error httrack-3.49.6/src/htscore.c:1604:13: note: identical inner condition: !error httrack-3.49.6/src/htscore.c:1470:11: style: The if condition is the same as the previous if condition [duplicateCondition] httrack-3.49.6/src/htscore.c:1188:11: note: First condition httrack-3.49.6/src/htscore.c:1470:11: note: Second condition httrack-3.49.6/src/htscore.c:362:59: style: Condition '(link->adr=hts_record_link_strdup(opt,address))==NULL' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htscore.c:363:56: style: Condition '(link->fil=hts_record_link_strdup(opt,file))==NULL' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htscore.c:364:56: style: Condition '(link->sav=hts_record_link_strdup(opt,save))==NULL' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htscore.c:365:70: style: Condition '(link->former_adr=hts_record_link_strdup(opt,ref_address))==NULL' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htscore.c:366:67: style: Condition '(link->former_fil=hts_record_link_strdup(opt,ref_file))==NULL' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htscore.c:375:63: style: Condition '(link->cod=hts_record_link_strdup(opt,codebase))==NULL' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htscore.c:3075:29: style: Condition 'opt!=NULL' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htscore.c:3696:34: style: Return value 'opt->state._hts_addurl!=NULL' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htscore.c:3695:28: note: Assignment 'opt->state._hts_addurl=NULL', assigned value is 0 httrack-3.49.6/src/htscore.c:3696:34: note: Return value 'opt->state._hts_addurl!=NULL' is always false httrack-3.49.6/src/htscore.c:3861:42: style: Condition 'forbidden_url==0' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htscore.c:3847:15: note: Assuming that condition '!forbidden_url' is not redundant httrack-3.49.6/src/htscore.c:3861:42: note: Condition 'forbidden_url==0' is always true httrack-3.49.6/src/htsarrays.h:44:3: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] httrack-3.49.6/src/htscore.c:3447:3: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] httrack-3.49.6/src/htscore.c:1337:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1341:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1342:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1346:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1347:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1348:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1352:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1353:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1354:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1358:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1359:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1360:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1363:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1369:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1370:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1371:19: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:1380:15: error: Common realloc mistake: 'new_adr' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscore.c:240:34: warning: Either the condition 'opt!=NULL' is redundant or there is possible null pointer dereference: opt. [nullPointerRedundantCheck] httrack-3.49.6/src/htscore.c:243:3: note: Assuming that condition 'opt!=NULL' is not redundant httrack-3.49.6/src/htscore.c:240:34: note: Null pointer dereference httrack-3.49.6/src/htscore.c:2539:12: warning: If memory allocation fails, then there is a possible null pointer dereference: filters [nullPointerOutOfMemory] httrack-3.49.6/src/htscore.c:2538:25: note: Assuming allocation function fails httrack-3.49.6/src/htscore.c:2538:15: note: Assignment 'filters=(char**)malloc(sizeof(char*)*(filter_max+2))', assigned value is 0 httrack-3.49.6/src/htscore.c:2539:12: note: Null pointer dereference httrack-3.49.6/src/htscore.c:3567:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *cancel [nullPointerOutOfMemory] httrack-3.49.6/src/htscore.c:3566:15: note: Assuming allocation function fails httrack-3.49.6/src/htscore.c:3566:15: note: Assignment '*cancel=malloc(sizeof(struct htsoptstatecancel))', assigned value is 0 httrack-3.49.6/src/htscore.c:3567:6: note: Null pointer dereference httrack-3.49.6/src/htscore.c:858:13: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:869:13: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:1609:27: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2131:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2134:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2137:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2140:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2143:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2148:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2153:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2158:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2183:15: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2192:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2995:5: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2998:19: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:3084:12: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:3099:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:3103:23: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:3108:21: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscore.c:2917:18: style: Variable 'last_errno' is reassigned a value before the old one has been used. [redundantAssignment] httrack-3.49.6/src/htscore.c:2915:16: note: last_errno is assigned httrack-3.49.6/src/htscore.c:2917:18: note: last_errno is overwritten httrack-3.49.6/src/htscore.c:2108:3: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] httrack-3.49.6/src/htscore.c:2883:34: style:inconclusive: Function 'filecreate' argument 1 names different: declaration 'strct' definition 'strc'. [funcArgNamesDifferent] httrack-3.49.6/src/htscore.h:290:34: note: Function 'filecreate' argument 1 names different: declaration 'strct' definition 'strc'. httrack-3.49.6/src/htscore.c:2883:34: note: Function 'filecreate' argument 1 names different: declaration 'strct' definition 'strc'. httrack-3.49.6/src/htscore.c:2934:34: style:inconclusive: Function 'fileappend' argument 1 names different: declaration 'strct' definition 'strc'. [funcArgNamesDifferent] httrack-3.49.6/src/htscore.h:291:34: note: Function 'fileappend' argument 1 names different: declaration 'strct' definition 'strc'. httrack-3.49.6/src/htscore.c:2934:34: note: Function 'fileappend' argument 1 names different: declaration 'strct' definition 'strc'. httrack-3.49.6/src/htscore.c:2972:37: style:inconclusive: Function 'filecreateempty' argument 1 names different: declaration 'strct' definition 'strc'. [funcArgNamesDifferent] httrack-3.49.6/src/htscore.h:292:37: note: Function 'filecreateempty' argument 1 names different: declaration 'strct' definition 'strc'. httrack-3.49.6/src/htscore.c:2972:37: note: Function 'filecreateempty' argument 1 names different: declaration 'strct' definition 'strc'. httrack-3.49.6/src/htscore.c:2984:30: style:inconclusive: Function 'filenote' argument 1 names different: declaration 'strct' definition 'strc'. [funcArgNamesDifferent] httrack-3.49.6/src/htscore.h:293:30: note: Function 'filenote' argument 1 names different: declaration 'strct' definition 'strc'. httrack-3.49.6/src/htscore.c:2984:30: note: Function 'filenote' argument 1 names different: declaration 'strct' definition 'strc'. httrack-3.49.6/src/htscore.c:3010:64: style:inconclusive: Function 'file_notify' argument 7 names different: declaration 'wasupdated' definition 'not_updated'. [funcArgNamesDifferent] httrack-3.49.6/src/htscore.h:295:64: note: Function 'file_notify' argument 7 names different: declaration 'wasupdated' definition 'not_updated'. httrack-3.49.6/src/htscore.c:3010:64: note: Function 'file_notify' argument 7 names different: declaration 'wasupdated' definition 'not_updated'. httrack-3.49.6/src/htscore.c:3017:38: style:inconclusive: Function 'usercommand' argument 2 names different: declaration 'exe' definition '_exe'. [funcArgNamesDifferent] httrack-3.49.6/src/htscore.h:296:38: note: Function 'usercommand' argument 2 names different: declaration 'exe' definition '_exe'. httrack-3.49.6/src/htscore.c:3017:38: note: Function 'usercommand' argument 2 names different: declaration 'exe' definition '_exe'. httrack-3.49.6/src/htscore.c:3017:56: style:inconclusive: Function 'usercommand' argument 3 names different: declaration 'cmd' definition '_cmd'. [funcArgNamesDifferent] httrack-3.49.6/src/htscore.h:296:55: note: Function 'usercommand' argument 3 names different: declaration 'cmd' definition '_cmd'. httrack-3.49.6/src/htscore.c:3017:56: note: Function 'usercommand' argument 3 names different: declaration 'cmd' definition '_cmd'. httrack-3.49.6/src/htscore.c:927:13: style: Local variable 'r' shadows outer variable [shadowVariable] httrack-3.49.6/src/htscore.c:454:17: note: Shadowed declaration httrack-3.49.6/src/htscore.c:927:13: note: Shadow variable httrack-3.49.6/src/htscore.c:1314:19: style: Local variable 'i' shadows outer variable [shadowVariable] httrack-3.49.6/src/htscore.c:1270:17: note: Shadowed declaration httrack-3.49.6/src/htscore.c:1314:19: note: Shadow variable httrack-3.49.6/src/htscore.c:624:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscore.c:894:18: style: Variable 'A' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscore.c:910:18: style: Variable 'A' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscore.c:1312:30: style: Variable 'prev_adr' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscore.c:1819:25: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscore.c:3206:16: style: Variable 'A' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscore.c:3303:49: style: Parameter 'sback' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htscore.c:3303:67: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htscore.c:3555:45: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htscore.c:3584:46: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htscore.c:3627:42: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htscore.c:1337:19: style: Modulo of one is always equal to zero [moduloofone] httrack-3.49.6/src/htscore.c:1342:19: style: Modulo of one is always equal to zero [moduloofone] httrack-3.49.6/src/htscore.c:1348:19: style: Modulo of one is always equal to zero [moduloofone] httrack-3.49.6/src/htscore.c:1354:19: style: Modulo of one is always equal to zero [moduloofone] httrack-3.49.6/src/htscore.c:1360:19: style: Modulo of one is always equal to zero [moduloofone] httrack-3.49.6/src/htscore.c:1371:19: style: Modulo of one is always equal to zero [moduloofone] httrack-3.49.6/src/htscore.c:2209:19: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htscore.c:2233:23: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htscore.c:2999:9: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htscore.c:3531:11: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htscore.c:3539:7: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htscore.c:2447:7: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] httrack-3.49.6/src/htsarrays.h:44:91: warning: Conversion of string literal "memory allocation failed" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/htscore.c:3063:5: warning: Conversion of string literal "can not spawn process" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/htscore.c:1610:33: style: Variable 'is_loaded_from_file' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htscore.c:1965:27: style: Variable 'fcheck' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htscore.c:3082:17: style: Variable 'rsc_fil' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htscoremain.c:1874:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htscoremain.c:2784:3: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] httrack-3.49.6/src/htscoremain.c:3157:5: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] httrack-3.49.6/src/htscoremain.c:3305:3: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] httrack-3.49.6/src/htscoremain.c:179:3: error: Common realloc mistake: 'url' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscoremain.c:1687:23: error: Common realloc mistake: 'url' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscoremain.c:2539:31: error: Common realloc mistake: 'strings' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscoremain.c:2749:11: error: Common realloc mistake: 'url' nulled but not freed upon failure [memleakOnRealloc] httrack-3.49.6/src/htscoremain.c:523:13: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:578:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:606:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:610:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:615:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:621:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:680:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:686:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:692:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:700:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:707:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:714:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:721:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:728:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:735:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:742:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:749:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:756:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:763:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:770:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:777:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:780:19: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2223:29: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2237:28: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2819:24: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2822:24: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2867:24: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2870:24: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2873:24: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2878:24: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2896:13: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2915:16: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2920:16: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2927:15: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2932:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2941:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2950:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2974:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:2999:7: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:3029:15: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:3034:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:3245:19: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:3254:20: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:3261:15: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htscoremain.c:1952:17: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] httrack-3.49.6/src/htscoremain.c:2004:17: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] httrack-3.49.6/src/htscoremain.c:2185:17: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] httrack-3.49.6/src/htscoremain.c:2310:17: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] httrack-3.49.6/src/htscoremain.c:2737:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] httrack-3.49.6/src/htscoremain.c:2132:51: style: A pointer can not be negative so it is either pointless or an error to check if it is not. [pointerPositive] httrack-3.49.6/src/htscoremain.c:432:21: style: Redundant pointer operation on 'path' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htscoremain.c:2045:33: style: Local variable 'url' shadows outer variable [shadowVariable] httrack-3.49.6/src/htscoremain.c:172:9: note: Shadowed declaration httrack-3.49.6/src/htscoremain.c:2045:33: note: Shadow variable httrack-3.49.6/src/htscoremain.c:2973:15: style: Local variable 'fp' shadows outer variable [shadowVariable] httrack-3.49.6/src/htscoremain.c:2964:13: note: Shadowed declaration httrack-3.49.6/src/htscoremain.c:2973:15: note: Shadow variable httrack-3.49.6/src/htscoremain.c:3022:15: style: Local variable 'fp' shadows outer variable [shadowVariable] httrack-3.49.6/src/htscoremain.c:2964:13: note: Shadowed declaration httrack-3.49.6/src/htscoremain.c:3022:15: note: Shadow variable httrack-3.49.6/src/htscoremain.c:373:13: style: Variable 'com' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscoremain.c:1104:11: style: Variable 'com' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscoremain.c:2019:25: style: Variable 'filter' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscoremain.c:2447:31: style: Variable 'snum' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscoremain.c:2667:21: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscoremain.c:3242:22: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htscoremain.c:3351:20: style: Parameter 's' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htscoremain.c:381:11: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htscoremain.c:676:13: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htscoremain.c:785:13: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htscoremain.c:1112:9: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htscoremain.c:2599:30: error: Uninitialized variable: result [legacyUninitvar] httrack-3.49.6/src/htscoremain.c:2382:22: style: Variable 'na' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htscoremain.c:2399:22: style: Variable 'na' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htscoremain.c:2416:22: style: Variable 'na' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htscoremain.c:2436:22: style: Variable 'na' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsftp.c:280:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsftp.c:830:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsftp.c:1094:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] httrack-3.49.6/src/htsftp.c:75:15: warning: Identical condition 'pStruct==NULL', second condition is always false [identicalConditionAfterEarlyExit] httrack-3.49.6/src/htsftp.c:72:15: note: If condition 'pStruct==NULL' is true, the function will return/exit httrack-3.49.6/src/htsftp.c:75:15: note: Testing identical condition 'pStruct==NULL' httrack-3.49.6/src/htsftp.c:334:25: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] httrack-3.49.6/src/htsftp.c:330:23: note: outer condition: line[0]=='2' httrack-3.49.6/src/htsftp.c:334:25: note: identical inner condition: line[0]=='2' httrack-3.49.6/src/htsftp.c:565:13: style: The if condition is the same as the previous if condition [duplicateCondition] httrack-3.49.6/src/htsftp.c:509:13: note: First condition httrack-3.49.6/src/htsftp.c:565:13: note: Second condition httrack-3.49.6/src/htsftp.c:488:19: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] httrack-3.49.6/src/htsftp.c:132:40: style:inconclusive: Function 'run_launch_ftp' argument 1 names different: declaration 'params' definition 'pStruct'. [funcArgNamesDifferent] httrack-3.49.6/src/htsftp.h:70:40: note: Function 'run_launch_ftp' argument 1 names different: declaration 'params' definition 'pStruct'. httrack-3.49.6/src/htsftp.c:132:40: note: Function 'run_launch_ftp' argument 1 names different: declaration 'params' definition 'pStruct'. httrack-3.49.6/src/htsftp.c:953:35: style:inconclusive: Function 'get_ftp_line' argument 2 names different: declaration 'line' definition 'ptrline'. [funcArgNamesDifferent] httrack-3.49.6/src/htsftp.h:72:35: note: Function 'get_ftp_line' argument 2 names different: declaration 'line' definition 'ptrline'. httrack-3.49.6/src/htsftp.c:953:35: note: Function 'get_ftp_line' argument 2 names different: declaration 'line' definition 'ptrline'. httrack-3.49.6/src/htsftp.c:416:17: style: Local variable 'a' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsftp.c:248:11: note: Shadowed declaration httrack-3.49.6/src/htsftp.c:416:17: note: Shadow variable httrack-3.49.6/src/htsftp.c:476:19: style: Local variable 'a' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsftp.c:248:11: note: Shadowed declaration httrack-3.49.6/src/htsftp.c:476:19: note: Shadow variable httrack-3.49.6/src/htsftp.c:566:19: style: Local variable 'server' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsftp.c:247:13: note: Shadowed declaration httrack-3.49.6/src/htsftp.c:566:19: note: Shadow variable httrack-3.49.6/src/htsftp.c:568:23: style: Local variable 'error' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsftp.c:250:17: note: Shadowed declaration httrack-3.49.6/src/htsftp.c:568:23: note: Shadow variable httrack-3.49.6/src/htsftp.c:850:23: style: Local variable 'a' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsftp.c:841:34: note: Shadowed declaration httrack-3.49.6/src/htsftp.c:850:23: note: Shadow variable httrack-3.49.6/src/htsftp.c:216:15: style: Variable 'ua' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsftp.c:248:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsftp.c:476:19: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsftp.c:515:21: style: Variable 'ua' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsftp.c:532:23: style: Variable 'szstr' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htshash.c:330:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sav [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htshash.c:63:35: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'key_freehandler' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htshash.c:257:33: note: You might need to cast the function pointer here httrack-3.49.6/src/htshash.c:63:35: note: Parameter 'arg' can be declared as pointer to const httrack-3.49.6/src/htshash.c:84:33: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'key_sav_equals' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htshash.c:244:33: note: You might need to cast the function pointer here httrack-3.49.6/src/htshash.c:84:33: note: Parameter 'arg' can be declared as pointer to const httrack-3.49.6/src/htshash.c:92:46: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'key_sav_debug_print' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htshash.c:264:29: note: You might need to cast the function pointer here httrack-3.49.6/src/htshash.c:92:46: note: Parameter 'arg' can be declared as pointer to const httrack-3.49.6/src/htshash.c:97:48: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'value_sav_debug_print' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htshash.c:265:29: note: You might need to cast the function pointer here httrack-3.49.6/src/htshash.c:97:48: note: Parameter 'arg' can be declared as pointer to const httrack-3.49.6/src/htshash.c:321:5: warning: Conversion of string literal "unexpected case" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/htshelp.c:114:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htshelp.c:172:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htshelp.c:394:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htshelp.c:66:9: style: Condition '!quit' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htshelp.c:59:14: note: Assignment 'quit=0', assigned value is 0 httrack-3.49.6/src/htshelp.c:66:9: note: Condition '!quit' is always true httrack-3.49.6/src/htshelp.c:84:15: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] httrack-3.49.6/src/htshelp.c:173:5: error: Memory leak: buffers [memleak] httrack-3.49.6/src/htshelp.c:169:7: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:169:7: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:169:23: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:169:23: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:169:43: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:169:43: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:169:63: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:169:63: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:170:10: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:170:10: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:170:29: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:170:29: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:170:48: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:170:48: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:170:63: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:170:63: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:171:10: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:10: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:175:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:175:3: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:175:13: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:175:13: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:175:27: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:175:27: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:175:41: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:175:41: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:175:53: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:175:53: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:175:66: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:175:66: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:176:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:176:5: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:176:14: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:176:14: note: Null pointer dereference httrack-3.49.6/src/htshelp.c:219:5: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htshelp.c:69:16: style: Variable 'more' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htshelp.c:113:11: style: Variable 'l' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsindex.c:389:21: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] httrack-3.49.6/src/htsindex.c:195:5: error: Resource leak: tmpfp [resourceLeak] httrack-3.49.6/src/htsindex.c:164:12: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsindex.c:165:12: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsindex.c:361:26: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsindex.c:363:26: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsindex.c:390:25: style: Local variable 'a' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsindex.c:341:19: note: Shadowed declaration httrack-3.49.6/src/htsindex.c:390:25: note: Shadow variable httrack-3.49.6/src/htsindex.c:295:15: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsjava.c:69:31: style: Return value '*((char*)&endian)==1' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htsjava.c:67:16: note: Assignment 'endian=1', assigned value is 1 httrack-3.49.6/src/htsjava.c:69:31: note: Return value '*((char*)&endian)==1' is always true httrack-3.49.6/src/htsjava.c:194:25: style: Condition 'reverse_endian()' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htsjava.c:67:16: note: Assignment 'endian=1', assigned value is 1 httrack-3.49.6/src/htsjava.c:194:25: note: Calling function 'reverse_endian' returns 1 httrack-3.49.6/src/htsjava.c:194:25: note: Condition 'reverse_endian()' is always true httrack-3.49.6/src/htsjava.c:200:13: style: Condition 'fpout' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htsjava.c:450:23: style: Condition 'reverse_endian()' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htsjava.c:67:16: note: Assignment 'endian=1', assigned value is 1 httrack-3.49.6/src/htsjava.c:450:23: note: Calling function 'reverse_endian' returns 1 httrack-3.49.6/src/htsjava.c:450:23: note: Condition 'reverse_endian()' is always true httrack-3.49.6/src/htsjava.c:438:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] httrack-3.49.6/src/htsjava.c:326:44: warning: Either the condition 'fpout' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] httrack-3.49.6/src/htsjava.c:234:17: note: Assuming that condition 'fpout' is not redundant httrack-3.49.6/src/htsjava.c:226:35: note: Calling function 'readtable', 2nd argument 'fpout' value is 0 httrack-3.49.6/src/htsjava.c:326:44: note: Null pointer dereference httrack-3.49.6/src/htsjava.c:175:26: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsjava.c:506:11: style: Variable '*p1' is reassigned a value before the old one has been used. [redundantAssignment] httrack-3.49.6/src/htsjava.c:504:11: note: *p1 is assigned httrack-3.49.6/src/htsjava.c:506:11: note: *p1 is overwritten httrack-3.49.6/src/htsjava.c:261:66: style: Unsigned expression 'tab[i].index1' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htsjava.c:106:42: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htslib.c:709:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:1192:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:2209:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:2571:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:3023:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:3052:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:3136:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:4302:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:4322:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:4515:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_ERROR_WANT_READ [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:5012:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:5025:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:5099:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coucal_log_warning [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:5185:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSLEAY_VERSION [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:5250:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:5337:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:5494:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htslib.c:2671:7: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] httrack-3.49.6/src/htslib.c:2673:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] httrack-3.49.6/src/htslib.c:2683:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] httrack-3.49.6/src/htslib.c:2800:12: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] httrack-3.49.6/src/htslib.c:2826:9: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] httrack-3.49.6/src/htslib.c:2828:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] httrack-3.49.6/src/htslib.c:4616:32: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] httrack-3.49.6/src/htslib.c:5723:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] httrack-3.49.6/src/htslib.c:782:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] httrack-3.49.6/src/htslib.c:769:11: note: outer condition: soc!=-1 httrack-3.49.6/src/htslib.c:782:13: note: identical inner condition: soc!=-1 httrack-3.49.6/src/htslib.c:3204:25: style: Comparing expression of type 'unsigned char' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] httrack-3.49.6/src/htslib.c:1392:22: style: Condition '*a=='\"'' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htslib.c:1986:43: style: Condition '*(r->adr+r->size)!=13' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htslib.c:2241:13: style: Condition 'retour' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htslib.c:4002:9: style: Condition 's' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htslib.c:5186:23: style: Condition 'ssl_vulnerable(version)' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htslib.c:5186:23: note: Calling function 'ssl_vulnerable' returns 0 httrack-3.49.6/src/htslib.c:5186:23: note: Condition 'ssl_vulnerable(version)' is always false httrack-3.49.6/src/htslib.c:5571:57: style: Condition 'next_carg=carg->prev.carg,carg!=NULL' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htslib.c:5571:64: style: Condition 'carg!=NULL' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htslib.c:914:15: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] httrack-3.49.6/src/htslib.c:1412:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] httrack-3.49.6/src/htslib.c:1505:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] httrack-3.49.6/src/htslib.h:434:9: warning: Either the condition '(a)!=NULL' is redundant or there is possible null pointer dereference: f. [nullPointerRedundantCheck] httrack-3.49.6/src/htslib.c:1262:18: note: Assuming that condition '(a)!=NULL' is not redundant httrack-3.49.6/src/htslib.c:1225:18: note: Calling function 'strfield', 1st argument 'a' value is 0 httrack-3.49.6/src/htslib.h:434:9: note: Null pointer dereference httrack-3.49.6/src/htslib.c:1223:13: warning: Either the condition '(a)!=NULL' is redundant or there is possible null pointer dereference: a. [nullPointerRedundantCheck] httrack-3.49.6/src/htslib.c:1262:18: note: Assuming that condition '(a)!=NULL' is not redundant httrack-3.49.6/src/htslib.c:1223:13: note: Null pointer dereference httrack-3.49.6/src/htslib.c:1256:12: warning: Either the condition '(a)!=NULL' is redundant or there is possible null pointer dereference: a. [nullPointerRedundantCheck] httrack-3.49.6/src/htslib.c:1262:18: note: Assuming that condition '(a)!=NULL' is not redundant httrack-3.49.6/src/htslib.c:1256:12: note: Null pointer dereference httrack-3.49.6/src/htslib.c:1311:15: warning: Either the condition 'a' is redundant or there is possible null pointer dereference: a. [nullPointerRedundantCheck] httrack-3.49.6/src/htslib.c:1314:13: note: Assuming that condition 'a' is not redundant httrack-3.49.6/src/htslib.c:1311:15: note: Null pointer dereference httrack-3.49.6/src/htslib.c:2200:5: warning: Either the condition 'retour!=NULL' is redundant or there is possible null pointer dereference: retour. [nullPointerRedundantCheck] httrack-3.49.6/src/htslib.c:2210:16: note: Assuming that condition 'retour!=NULL' is not redundant httrack-3.49.6/src/htslib.c:2200:5: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5412:10: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5412:10: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5413:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5413:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5419:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5419:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5423:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5423:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5424:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5424:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5426:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5426:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5427:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5427:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5428:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5428:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5429:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5429:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5430:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5430:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5431:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5431:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5432:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5432:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5433:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5433:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5434:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5434:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5435:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5435:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5436:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5436:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5437:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5437:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5438:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5438:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5439:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5439:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5440:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5440:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5441:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5441:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5442:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5442:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5443:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5443:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5444:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5444:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5445:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5445:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5446:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5446:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5447:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5447:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5448:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5448:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5449:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5449:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5450:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5450:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:5451:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] httrack-3.49.6/src/htslib.c:5409:25: note: Assuming allocation function fails httrack-3.49.6/src/htslib.c:5409:25: note: Assignment 'opt=malloc(sizeof(struct httrackp))', assigned value is 0 httrack-3.49.6/src/htslib.c:5451:3: note: Null pointer dereference httrack-3.49.6/src/htslib.c:745:28: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htslib.c:3204:25: style: Unsigned expression 'seq.pos' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htslib.c:3204:25: style: Unsigned expression 'seq.data[0]' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htslib.c:3205:26: style: Unsigned expression 'seq.pos' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htslib.c:3206:26: style: Unsigned expression 'seq.pos' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htslib.c:3208:26: style: Unsigned expression 'seq.pos' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htslib.c:3210:26: style: Unsigned expression 'seq.pos' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htslib.c:3212:26: style: Unsigned expression 'seq.pos' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htslib.c:3214:26: style: Unsigned expression 'seq.pos' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htslib.c:3216:26: style: Unsigned expression 'seq.pos' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htslib.c:3218:26: style: Unsigned expression 'seq.pos' can't be negative so it is unnecessary to test it. [unsignedPositive] httrack-3.49.6/src/htslib.c:2126:43: style:inconclusive: Function 'newhttp' argument 2 names different: declaration 'iadr' definition '_iadr'. [funcArgNamesDifferent] httrack-3.49.6/src/htslib.h:187:43: note: Function 'newhttp' argument 2 names different: declaration 'iadr' definition '_iadr'. httrack-3.49.6/src/htslib.c:2126:43: note: Function 'newhttp' argument 2 names different: declaration 'iadr' definition '_iadr'. httrack-3.49.6/src/htslib.c:2622:20: style:inconclusive: Function 'sec2str' argument 1 names different: declaration 's' definition 'st'. [funcArgNamesDifferent] httrack-3.49.6/src/htslib.h:224:20: note: Function 'sec2str' argument 1 names different: declaration 's' definition 'st'. httrack-3.49.6/src/htslib.c:2622:20: note: Function 'sec2str' argument 1 names different: declaration 's' definition 'st'. httrack-3.49.6/src/htslib.c:2688:43: style:inconclusive: Function 'convert_time_rfc822' argument 1 names different: declaration 'buffer' definition 'result'. [funcArgNamesDifferent] httrack-3.49.6/src/htslib.h:228:43: note: Function 'convert_time_rfc822' argument 1 names different: declaration 'buffer' definition 'result'. httrack-3.49.6/src/htslib.c:2688:43: note: Function 'convert_time_rfc822' argument 1 names different: declaration 'buffer' definition 'result'. httrack-3.49.6/src/htslib.c:3189:33: style:inconclusive: Function 'is_unicode_utf8' argument 1 names different: declaration 'buffer' definition 'buffer_'. [funcArgNamesDifferent] httrack-3.49.6/src/htslib.h:247:33: note: Function 'is_unicode_utf8' argument 1 names different: declaration 'buffer' definition 'buffer_'. httrack-3.49.6/src/htslib.c:3189:33: note: Function 'is_unicode_utf8' argument 1 names different: declaration 'buffer' definition 'buffer_'. httrack-3.49.6/src/htslib.c:3263:40: style:inconclusive: Function 'ishtml' argument 2 names different: declaration 'urlfil' definition 'fil'. [funcArgNamesDifferent] httrack-3.49.6/src/htslib.h:250:40: note: Function 'ishtml' argument 2 names different: declaration 'urlfil' definition 'fil'. httrack-3.49.6/src/htslib.c:3263:40: note: Function 'ishtml' argument 2 names different: declaration 'urlfil' definition 'fil'. httrack-3.49.6/src/htslib.c:3822:46: style:inconclusive: Function 'x_escape_http' argument 3 names different: declaration 'max_size' definition 'size'. [funcArgNamesDifferent] httrack-3.49.6/src/httrack-library.h:236:85: note: Function 'x_escape_http' argument 3 names different: declaration 'max_size' definition 'size'. httrack-3.49.6/src/htslib.c:3822:46: note: Function 'x_escape_http' argument 3 names different: declaration 'max_size' definition 'size'. httrack-3.49.6/src/htslib.c:4562:39: style:inconclusive: Function 'hts_cache_free' argument 1 names different: declaration 'cache' definition 'root'. [funcArgNamesDifferent] httrack-3.49.6/src/htslib.h:217:39: note: Function 'hts_cache_free' argument 1 names different: declaration 'cache' definition 'root'. httrack-3.49.6/src/htslib.c:4562:39: note: Function 'hts_cache_free' argument 1 names different: declaration 'cache' definition 'root'. httrack-3.49.6/src/htslib.c:4760:55: style:inconclusive: Function 'hts_dns_resolve2' argument 2 names different: declaration 'iadr' definition '_iadr'. [funcArgNamesDifferent] httrack-3.49.6/src/htslib.h:202:66: note: Function 'hts_dns_resolve2' argument 2 names different: declaration 'iadr' definition '_iadr'. httrack-3.49.6/src/htslib.c:4760:55: note: Function 'hts_dns_resolve2' argument 2 names different: declaration 'iadr' definition '_iadr'. httrack-3.49.6/src/htslib.c:4768:54: style:inconclusive: Function 'hts_dns_resolve' argument 2 names different: declaration 'iadr' definition '_iadr'. [funcArgNamesDifferent] httrack-3.49.6/src/htslib.h:205:65: note: Function 'hts_dns_resolve' argument 2 names different: declaration 'iadr' definition '_iadr'. httrack-3.49.6/src/htslib.c:4768:54: note: Function 'hts_dns_resolve' argument 2 names different: declaration 'iadr' definition '_iadr'. httrack-3.49.6/src/htslib.c:5865:41: style:inconclusive: Function 'hts_strdup' argument 1 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] httrack-3.49.6/src/httrack-library.h:154:41: note: Function 'hts_strdup' argument 1 names different: declaration 'string' definition 'str'. httrack-3.49.6/src/htslib.c:5865:41: note: Function 'hts_strdup' argument 1 names different: declaration 'string' definition 'str'. httrack-3.49.6/src/htslib.c:1135:23: style: Local variable 'a' shadows outer variable [shadowVariable] httrack-3.49.6/src/htslib.c:1131:21: note: Shadowed declaration httrack-3.49.6/src/htslib.c:1135:23: note: Shadow variable httrack-3.49.6/src/htslib.c:1465:13: style: Local variable 'p' shadows outer variable [shadowVariable] httrack-3.49.6/src/htslib.c:1289:7: note: Shadowed declaration httrack-3.49.6/src/htslib.c:1465:13: note: Shadow variable httrack-3.49.6/src/htslib.c:1500:15: style: Local variable 'a' shadows outer variable [shadowVariable] httrack-3.49.6/src/htslib.c:1495:13: note: Shadowed declaration httrack-3.49.6/src/htslib.c:1500:15: note: Shadow variable httrack-3.49.6/src/htslib.c:2234:19: style: Local variable 'error' shadows outer variable [shadowVariable] httrack-3.49.6/src/htslib.c:2132:17: note: Shadowed declaration httrack-3.49.6/src/htslib.c:2234:19: note: Shadow variable httrack-3.49.6/src/htslib.c:3289:17: style: Local variable 'fil_noquery' shadows outer variable [shadowVariable] httrack-3.49.6/src/htslib.c:3265:15: note: Shadowed declaration httrack-3.49.6/src/htslib.c:3289:17: note: Shadow variable httrack-3.49.6/src/htslib.c:702:19: style: Pointer expression 'msg' converted to bool is always true. [knownPointerToBool] httrack-3.49.6/src/htslib.c:2186:29: style: Pointer expression 'msg' converted to bool is always true. [knownPointerToBool] httrack-3.49.6/src/htslib.c:2217:29: style: Pointer expression 'msg' converted to bool is always true. [knownPointerToBool] httrack-3.49.6/src/htslib.c:2241:31: style: Pointer expression 'msg' converted to bool is always true. [knownPointerToBool] httrack-3.49.6/src/htslib.c:2298:39: style: Pointer expression 'msg' converted to bool is always true. [knownPointerToBool] httrack-3.49.6/src/htslib.c:1444:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htslib.c:1483:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htslib.c:1495:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htslib.c:1549:24: style: Variable 'token_end' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htslib.c:1550:24: style: Variable 'value_end' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htslib.c:1798:30: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htslib.c:2717:19: style: Variable 'last' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htslib.c:2729:13: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htslib.c:2838:38: style: Parameter 'A' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htslib.c:2848:44: style: Parameter 'A' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htslib.c:2998:18: style: Parameter 'buff' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htslib.c:3085:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htslib.c:3249:36: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htslib.c:3292:11: style: Variable 'dotted' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htslib.c:3559:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htslib.c:3944:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htslib.c:4616:27: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htslib.c:5301:41: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htslib.c:5558:39: style: Variable 'items' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htslib.c:5659:57: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_init' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5781:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5659:57: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5661:59: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_uninit' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5782:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5661:59: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5664:57: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_start' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5783:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5664:57: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5664:74: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_start' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5783:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5664:74: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5667:57: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_chopt' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5785:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5667:57: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5667:74: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_chopt' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5785:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5667:74: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5670:55: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_end' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5784:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5670:55: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5670:72: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_end' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5784:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5670:72: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5673:66: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_preprocesshtml' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5786:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5673:66: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5674:57: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_preprocesshtml' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5786:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5674:57: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5675:51: style: Parameter 'len' can be declared as pointer to const. However it seems that 'htsdefault_preprocesshtml' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5786:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5675:51: note: Parameter 'len' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5679:67: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_postprocesshtml' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5787:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5679:67: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5680:58: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_postprocesshtml' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5787:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5680:58: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5681:52: style: Parameter 'len' can be declared as pointer to const. However it seems that 'htsdefault_postprocesshtml' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5787:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5681:52: note: Parameter 'len' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5685:61: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_checkhtml' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5788:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5685:61: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5686:52: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_checkhtml' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5788:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5686:52: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5686:63: style: Parameter 'html' can be declared as pointer to const. However it seems that 'htsdefault_checkhtml' is a callback function, if 'html' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5788:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5686:63: note: Parameter 'html' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5691:56: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_loop' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5792:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5691:56: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5691:73: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_loop' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5792:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5691:73: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5691:90: style: Parameter 'back' can be declared as pointer to const. However it seems that 'htsdefault_loop' is a callback function, if 'back' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5792:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5691:90: note: Parameter 'back' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5691:185: style: Parameter 'stats' can be declared as pointer to const. However it seems that 'htsdefault_loop' is a callback function, if 'stats' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5792:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5691:185: note: Parameter 'stats' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5694:65: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_query' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5789:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5694:65: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5695:56: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_query' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5789:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5695:56: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5699:66: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_query2' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5790:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5699:66: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5700:57: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_query2' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5790:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5700:57: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5704:66: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_query3' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5791:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5704:66: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5705:57: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_query3' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5791:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5705:57: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5709:57: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_check' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5793:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5709:57: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5709:74: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_check' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5793:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5709:74: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5714:62: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_check_mime' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5794:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5714:62: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5715:53: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_check_mime' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5794:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5715:53: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5726:61: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_filesave' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5796:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5726:61: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5727:52: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_filesave' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5796:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5727:52: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5729:62: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_filesave2' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5797:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5729:62: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5730:53: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_filesave2' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5797:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5730:53: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5735:64: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_linkdetected' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5798:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5735:64: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5736:55: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_linkdetected' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5798:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5736:55: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5736:66: style: Parameter 'link' can be declared as pointer to const. However it seems that 'htsdefault_linkdetected' is a callback function, if 'link' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5798:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5736:66: note: Parameter 'link' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5739:65: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_linkdetected2' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5799:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5739:65: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5740:56: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_linkdetected2' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5799:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5740:56: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5740:67: style: Parameter 'link' can be declared as pointer to const. However it seems that 'htsdefault_linkdetected2' is a callback function, if 'link' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5799:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5740:67: note: Parameter 'link' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5744:61: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_xfrstatus' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5800:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5744:61: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5745:52: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_xfrstatus' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5800:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5745:52: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5745:69: style: Parameter 'back' can be declared as pointer to const. However it seems that 'htsdefault_xfrstatus' is a callback function, if 'back' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5800:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5745:69: note: Parameter 'back' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5748:60: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_savename' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5801:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5748:60: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5748:77: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_savename' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5801:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5748:77: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5752:71: style: Parameter 'save' can be declared as pointer to const. However it seems that 'htsdefault_savename' is a callback function, if 'save' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5801:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5752:71: note: Parameter 'save' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5755:60: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_sendhead' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5802:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5755:60: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5755:77: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_sendhead' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5802:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5755:77: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5756:46: style: Parameter 'buff' can be declared as pointer to const. However it seems that 'htsdefault_sendhead' is a callback function, if 'buff' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5802:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5756:46: note: Parameter 'buff' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5759:49: style: Parameter 'outgoing' can be declared as pointer to const. However it seems that 'htsdefault_sendhead' is a callback function, if 'outgoing' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5802:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5759:49: note: Parameter 'outgoing' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5762:63: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_receivehead' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5803:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5762:63: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5763:54: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_receivehead' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5803:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5763:54: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5763:65: style: Parameter 'buff' can be declared as pointer to const. However it seems that 'htsdefault_receivehead' is a callback function, if 'buff' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5803:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5763:65: note: Parameter 'buff' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5767:52: style: Parameter 'incoming' can be declared as pointer to const. However it seems that 'htsdefault_receivehead' is a callback function, if 'incoming' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5803:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5767:52: note: Parameter 'incoming' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5770:58: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_detect' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5804:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5770:58: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5770:75: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_detect' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5804:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5770:75: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5771:56: style: Parameter 'str' can be declared as pointer to const. However it seems that 'htsdefault_detect' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5804:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5771:56: note: Parameter 'str' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5774:57: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsdefault_parse' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5805:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5774:57: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5774:74: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsdefault_parse' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5805:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5774:74: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/htslib.c:5775:55: style: Parameter 'str' can be declared as pointer to const. However it seems that 'htsdefault_parse' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/htslib.c:5805:4: note: You might need to cast the function pointer here httrack-3.49.6/src/htslib.c:5775:55: note: Parameter 'str' can be declared as pointer to const httrack-3.49.6/src/htslib.c:732:11: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htslib.c:1307:7: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htslib.c:1339:7: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htslib.c:1347:9: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htslib.c:1355:9: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htslib.c:1533:11: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htslib.c:3483:7: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htslib.c:1011:9: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htslib.c:1143:13: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htslib.c:1560:9: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htslib.c:3499:3: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htslib.c:4707:3: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htslib.c:5190:7: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] httrack-3.49.6/src/htslib.c:5199:7: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] httrack-3.49.6/src/htslib.c:3641:5: warning: Conversion of string literal "error escaping html entities" to bool always evaluates to true. [incorrectStringBooleanError] httrack-3.49.6/src/htslib.c:1555:15: style: Variable 'name[0]' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htslib.c:1555:26: style: Variable 'value[0]' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htslib.c:3560:10: style: Variable 'i1' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htslib.c:3560:18: style: Variable 'i2' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htslib.c:4136:14: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/md5.h:17:0: error: #error undefined: SIZEOF_LONG [preprocessorErrorDirective] httrack-3.49.6/src/md5.h:17:2: error: #error undefined: SIZEOF_LONG [preprocessorErrorDirective] httrack-3.49.6/src/htsmodules.c:98:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsmodules.c:99:27: style: Condition 'str->wrapper_name==NULL' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htsmodules.c:95:23: note: Assignment 'str->wrapper_name="wrapper-lib"', assigned value is "wrapper-lib" httrack-3.49.6/src/htsmodules.c:99:27: note: Condition 'str->wrapper_name==NULL' is always false httrack-3.49.6/src/htsmodules.c:164:10: warning: If memory allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfMemory] httrack-3.49.6/src/htsmodules.c:162:16: note: Assuming allocation function fails httrack-3.49.6/src/htsmodules.c:162:16: note: Assignment 'file=malloc(strlen(file_)+32)', assigned value is 0 httrack-3.49.6/src/htsmodules.c:164:10: note: Null pointer dereference httrack-3.49.6/src/htsmodules.c:198:25: warning: If memory allocation fails, then there is a possible null pointer dereference: fncname [nullPointerOutOfMemory] httrack-3.49.6/src/htsmodules.c:193:21: note: Assuming allocation function fails httrack-3.49.6/src/htsmodules.c:193:21: note: Assignment 'fncname=strdup(fncname_)', assigned value is 0 httrack-3.49.6/src/htsmodules.c:198:25: note: Null pointer dereference httrack-3.49.6/src/htsmodules.c:128:36: style:inconclusive: Function 'clearCallbacks' argument 1 names different: declaration 'chain' definition 'chain_'. [funcArgNamesDifferent] httrack-3.49.6/src/htslib.h:314:43: note: Function 'clearCallbacks' argument 1 names different: declaration 'chain' definition 'chain_'. httrack-3.49.6/src/htsmodules.c:128:36: note: Function 'clearCallbacks' argument 1 names different: declaration 'chain' definition 'chain_'. httrack-3.49.6/src/htsmodules.c:190:48: style:inconclusive: Function 'getFunctionPtr' argument 2 names different: declaration 'fncname' definition 'fncname_'. [funcArgNamesDifferent] httrack-3.49.6/src/htslib.h:311:55: note: Function 'getFunctionPtr' argument 2 names different: declaration 'fncname' definition 'fncname_'. httrack-3.49.6/src/htsmodules.c:190:48: note: Function 'getFunctionPtr' argument 2 names different: declaration 'fncname' definition 'fncname_'. httrack-3.49.6/src/htsparse.c:290:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsparse.c:3827:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsparse.c:4144:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsparse.c:4388:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsparse.c:1113:61: style: Array index 'p' is used before limits check. [arrayIndexThenCheck] httrack-3.49.6/src/htsparse.c:3811:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] httrack-3.49.6/src/htsparse.c:3952:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] httrack-3.49.6/src/htsparse.c:2182:21: style: The if condition is the same as the previous if condition [duplicateCondition] httrack-3.49.6/src/htsparse.c:2169:21: note: First condition httrack-3.49.6/src/htsparse.c:2182:21: note: Second condition httrack-3.49.6/src/htsparse.c:4573:15: style: The if condition is the same as the previous if condition [duplicateCondition] httrack-3.49.6/src/htsparse.c:4567:15: note: First condition httrack-3.49.6/src/htsparse.c:4573:15: note: Second condition httrack-3.49.6/src/htsparse.c:874:64: style: Condition '!(ok=1)' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htsparse.c:4282:13: style: Condition 'b>=0' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htsparse.c:4240:11: note: Assuming that condition 'b<0' is not redundant httrack-3.49.6/src/htsparse.c:4282:13: note: Condition 'b>=0' is always true httrack-3.49.6/src/htsparse.c:4313:11: style: Condition 'b>=0' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htsparse.c:4240:11: note: Assuming that condition 'b<0' is not redundant httrack-3.49.6/src/htsparse.c:4313:11: note: Condition 'b>=0' is always true httrack-3.49.6/src/htsparse.c:4227:15: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] httrack-3.49.6/src/htsparse.c:3790:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsparse.c:3843:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsparse.c:4190:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsparse.c:4195:23: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsparse.c:4598:20: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsparse.c:291:8: style: Variable 'r->adr' is assigned an expression that holds the same value. [redundantAssignment] httrack-3.49.6/src/htsparse.c:285:17: note: cAddr is assigned 'r->adr' here. httrack-3.49.6/src/htsparse.c:291:8: note: Variable 'r->adr' is assigned an expression that holds the same value. httrack-3.49.6/src/htsparse.c:3982:3: style: Redundant initialization for 'makestat_time'. The initialized value is overwritten before it is read. [redundantInitialization] httrack-3.49.6/src/htsparse.c:3967:3: note: makestat_time is initialized httrack-3.49.6/src/htsparse.c:3982:3: note: makestat_time is overwritten httrack-3.49.6/src/htsparse.c:3982:3: style: Redundant initialization for 'makestat_fp'. The initialized value is overwritten before it is read. [redundantInitialization] httrack-3.49.6/src/htsparse.c:3967:3: note: makestat_fp is initialized httrack-3.49.6/src/htsparse.c:3982:3: note: makestat_fp is overwritten httrack-3.49.6/src/htsparse.c:2634:36: style: Checking if unsigned expression 'strlen(afs.af.fil)-4' is less than zero. [unsignedLessThanZero] httrack-3.49.6/src/htsparse.c:2638:36: style: Checking if unsigned expression 'strlen(afs.af.fil)-4' is less than zero. [unsignedLessThanZero] httrack-3.49.6/src/htsparse.c:2642:36: style: Checking if unsigned expression 'strlen(afs.af.fil)-4' is less than zero. [unsignedLessThanZero] httrack-3.49.6/src/htsparse.c:568:79: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] httrack-3.49.6/src/htsparse.c:629:82: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] httrack-3.49.6/src/htsparse.c:637:15: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] httrack-3.49.6/src/htsparse.c:729:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] httrack-3.49.6/src/htsparse.c:982:34: style: Local variable 'str' shadows outer argument [shadowArgument] httrack-3.49.6/src/htsparse.c:278:32: note: Shadowed declaration httrack-3.49.6/src/htsparse.c:982:34: note: Shadow variable httrack-3.49.6/src/htsparse.c:1401:41: style: Local variable 'p' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsparse.c:509:13: note: Shadowed declaration httrack-3.49.6/src/htsparse.c:1401:41: note: Shadow variable httrack-3.49.6/src/htsparse.c:1437:42: style: Local variable 'str' shadows outer argument [shadowArgument] httrack-3.49.6/src/htsparse.c:278:32: note: Shadowed declaration httrack-3.49.6/src/htsparse.c:1437:42: note: Shadow variable httrack-3.49.6/src/htsparse.c:1565:39: style: Local variable 'a' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsparse.c:1521:37: note: Shadowed declaration httrack-3.49.6/src/htsparse.c:1565:39: note: Shadow variable httrack-3.49.6/src/htsparse.c:2718:39: style: Local variable 'fp' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsparse.c:296:11: note: Shadowed declaration httrack-3.49.6/src/htsparse.c:2718:39: note: Shadow variable httrack-3.49.6/src/htsparse.c:3924:9: style: Local variable 'b' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsparse.c:3771:7: note: Shadowed declaration httrack-3.49.6/src/htsparse.c:3924:9: note: Shadow variable httrack-3.49.6/src/htsparse.c:4392:19: style: Local variable 'back' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsparse.c:4364:3: note: Shadowed declaration httrack-3.49.6/src/htsparse.c:4392:19: note: Shadow variable httrack-3.49.6/src/htsparse.c:1162:37: style: Variable 'b' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsparse.c:1212:35: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsparse.c:2108:25: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsparse.c:2137:27: style: Variable 'b' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsparse.c:2171:27: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsparse.c:2246:31: style: Variable 'start_of_filename' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsparse.c:2546:33: style: Variable 'aut' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsparse.c:2588:37: style: Variable 'aut' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsparse.c:2694:43: style: Variable 'aut' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsparse.c:2858:33: style: Variable 'aut' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsparse.c:4362:28: style: Parameter 'parent_adr' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htsparse.c:4362:46: style: Parameter 'parent_fil' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htsparse.c:1555:29: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsparse.c:2080:19: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsparse.c:2154:23: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsparse.c:2306:31: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsparse.c:2788:33: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsparse.c:2949:33: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htsparse.c:2011:19: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htsparse.c:1388:34: style: Variable 'b' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsparse.c:3420:22: style: Variable 'reponse' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsparse.c:4098:25: style: Variable 'makestat_time' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsparse.c:4437:23: style: Variable 'continue_loop' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsparse.c:4639:34: style: Variable 'mov_url[0]' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.h:120:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsserver.h:210:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsserver.c:262:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsserver.c:329:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htsserver.c:179:26: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] httrack-3.49.6/src/htsserver.c:1516:7: style: The if condition is the same as the previous if condition [duplicateCondition] httrack-3.49.6/src/htsserver.c:1501:7: note: First condition httrack-3.49.6/src/htsserver.c:1516:7: note: Second condition httrack-3.49.6/src/htsserver.c:257:34: style: Condition 'my_gethostname(h_loc,256)==0' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htsserver.c:257:21: note: Calling function 'my_gethostname' returns 0 httrack-3.49.6/src/htsserver.c:257:34: note: Condition 'my_gethostname(h_loc,256)==0' is always true httrack-3.49.6/src/htsserver.c:802:65: style: Condition '!(*pos='\0')' is always true [knownConditionTrueFalse] httrack-3.49.6/src/htsserver.c:1197:35: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] httrack-3.49.6/src/htsserver.c:331:5: error: Memory leak: buffer [memleak] httrack-3.49.6/src/htsserver.c:1518:22: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsserver.c:1597:18: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htsserver.h:281:7: style: Redundant pointer operation on 'tempo' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htsserver.h:287:7: style: Redundant pointer operation on 'tempo' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htsserver.h:290:7: style: Redundant pointer operation on 'tempo' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htsserver.h:292:7: style: Redundant pointer operation on 'tempo' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htsserver.h:303:7: style: Redundant pointer operation on 'tempo' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htsserver.h:310:9: style: Redundant pointer operation on 'tempo' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htsserver.h:314:7: style: Redundant pointer operation on 'tempo' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htsserver.c:1493:53: style:inconclusive: Function 'htslang_load' argument 2 names different: declaration 'apppath' definition 'path'. [funcArgNamesDifferent] httrack-3.49.6/src/htsserver.c:132:64: note: Function 'htslang_load' argument 2 names different: declaration 'apppath' definition 'path'. httrack-3.49.6/src/htsserver.c:1493:53: note: Function 'htslang_load' argument 2 names different: declaration 'apppath' definition 'path'. httrack-3.49.6/src/htsserver.c:1777:61: style:inconclusive: Function 'LANG_LIST' argument 3 names different: declaration 'size' definition 'buffer_size'. [funcArgNamesDifferent] httrack-3.49.6/src/htsserver.c:141:72: note: Function 'LANG_LIST' argument 3 names different: declaration 'size' definition 'buffer_size'. httrack-3.49.6/src/htsserver.c:1777:61: note: Function 'LANG_LIST' argument 3 names different: declaration 'size' definition 'buffer_size'. httrack-3.49.6/src/htsserver.c:800:15: style: Local variable 'url' shadows outer argument [shadowArgument] httrack-3.49.6/src/htsserver.c:313:34: note: Shadowed declaration httrack-3.49.6/src/htsserver.c:800:15: note: Shadow variable httrack-3.49.6/src/htsserver.c:925:25: style: Local variable 'pos' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsserver.c:799:15: note: Shadowed declaration httrack-3.49.6/src/htsserver.c:925:25: note: Shadow variable httrack-3.49.6/src/htsserver.c:1153:33: style: Local variable 'n' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsserver.c:926:26: note: Shadowed declaration httrack-3.49.6/src/htsserver.c:1153:33: note: Shadow variable httrack-3.49.6/src/htsserver.c:1194:35: style: Local variable 'n' shadows outer variable [shadowVariable] httrack-3.49.6/src/htsserver.c:926:26: note: Shadowed declaration httrack-3.49.6/src/htsserver.c:1194:35: note: Shadow variable httrack-3.49.6/src/htsserver.c:179:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsserver.c:244:29: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htsserver.c:313:71: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htsserver.c:562:17: style: Variable 'pname' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsserver.c:570:17: style: Variable 'pname' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsserver.c:1138:29: style: Variable 'pos2' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsserver.c:1850:37: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htsserver.h:236:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htsserver.h:296:42: style: Parameter 's' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htsserver.c:381:5: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htsserver.c:268:23: error: Uninitialized variable: h_loc [legacyUninitvar] httrack-3.49.6/src/htsserver.c:646:15: style: Variable 'p' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:667:25: style: Variable 'p' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:671:25: style: Variable 'p' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:1427:3: style: Variable 'headers.capacity_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:1427:3: style: Variable 'headers.length_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:1428:3: style: Variable 'output.capacity_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:1428:3: style: Variable 'output.length_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:1429:3: style: Variable 'tmpbuff.capacity_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:1429:3: style: Variable 'tmpbuff.length_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:1430:3: style: Variable 'tmpbuff2.capacity_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:1430:3: style: Variable 'tmpbuff2.length_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:1431:3: style: Variable 'fspath.capacity_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsserver.c:1431:3: style: Variable 'fspath.length_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htsthread.c:63:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] httrack-3.49.6/src/htsthread.c:152:21: style: Variable 'retcode' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htstools.c:670:12: style: Condition '*adr=='"'' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htstools.c:670:27: style: Condition '*adr=='\''' is always false [knownConditionTrueFalse] httrack-3.49.6/src/htstools.c:908:17: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htstools.c:1226:14: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htstools.c:916:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] httrack-3.49.6/src/htstools.c:1007:71: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] httrack-3.49.6/src/htstools.c:1009:84: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] httrack-3.49.6/src/htstools.c:1029:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] httrack-3.49.6/src/htstools.c:104:7: style: Redundant pointer operation on 'tempo' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htstools.c:110:7: style: Redundant pointer operation on 'tempo' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htstools.c:113:7: style: Redundant pointer operation on 'tempo' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htstools.c:115:7: style: Redundant pointer operation on 'tempo' - it's already a pointer. [redundantPointerOp] httrack-3.49.6/src/htstools.c:289:56: style:inconclusive: Function 'lienrelatif' argument 3 names different: declaration 'curr' definition 'curr_fil'. [funcArgNamesDifferent] httrack-3.49.6/src/htstools.h:64:56: note: Function 'lienrelatif' argument 3 names different: declaration 'curr' definition 'curr_fil'. httrack-3.49.6/src/htstools.c:289:56: note: Function 'lienrelatif' argument 3 names different: declaration 'curr' definition 'curr_fil'. httrack-3.49.6/src/htstools.c:305:17: style: Local variable 'a' shadows outer variable [shadowVariable] httrack-3.49.6/src/htstools.c:295:9: note: Shadowed declaration httrack-3.49.6/src/htstools.c:305:17: note: Shadow variable httrack-3.49.6/src/htstools.c:514:11: style: Local variable 'j' shadows outer variable [shadowVariable] httrack-3.49.6/src/htstools.c:441:7: note: Shadowed declaration httrack-3.49.6/src/htstools.c:514:11: note: Shadow variable httrack-3.49.6/src/htstools.c:988:36: style: Local variable 'chain' shadows outer variable [shadowVariable] httrack-3.49.6/src/htstools.c:921:32: note: Shadowed declaration httrack-3.49.6/src/htstools.c:988:36: note: Shadow variable httrack-3.49.6/src/htstools.c:730:20: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htstools.c:882:40: style: Variable 'toptemplate_bodycat' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/htstools.c:236:17: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htstools.c:369:3: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/htstools.c:197:9: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htstools.c:201:9: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htstools.c:205:9: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htstools.c:966:17: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htstools.c:975:9: style: Variable 'iname.capacity_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htstools.c:975:9: style: Variable 'iname.length_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htstools.c:1132:24: style: Variable 'line2[0]' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htstools.c:1146:5: style: Variable 'iname.capacity_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htstools.c:1146:5: style: Variable 'iname.length_' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htswizard.c:114:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htswizard.c:647:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htswizard.c:894:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htswizard.c:913:14: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] httrack-3.49.6/src/htswizard.c:909:12: note: outer condition: size>=0 httrack-3.49.6/src/htswizard.c:913:14: note: identical inner condition: size>=0 httrack-3.49.6/src/htswizard.c:678:9: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] httrack-3.49.6/src/htswizard.c:947:14: style: Redundant initialization for 'sz'. The initialized value is overwritten before it is read. [redundantInitialization] httrack-3.49.6/src/htswizard.c:914:16: note: sz is initialized httrack-3.49.6/src/htswizard.c:947:14: note: sz is overwritten httrack-3.49.6/src/htswizard.c:106:25: style:inconclusive: Function 'hts_acceptlink' argument 7 names different: declaration 'set_prio_to_0' definition 'set_prio_to'. [funcArgNamesDifferent] httrack-3.49.6/src/htswizard.h:55:25: note: Function 'hts_acceptlink' argument 7 names different: declaration 'set_prio_to_0' definition 'set_prio_to'. httrack-3.49.6/src/htswizard.c:106:25: note: Function 'hts_acceptlink' argument 7 names different: declaration 'set_prio_to_0' definition 'set_prio_to'. httrack-3.49.6/src/htswizard.c:462:5: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htswizard.c:714:9: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htswizard.c:730:13: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htswizard.c:747:9: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htswizard.c:789:13: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htswizard.c:798:11: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htswizard.c:806:9: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htswizard.c:819:13: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htswizard.c:918:7: warning: Found function call inside sizeof(). [sizeofFunctionCall] httrack-3.49.6/src/htswizard.c:701:11: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] httrack-3.49.6/src/htswizard.c:869:22: style: Variable 'mdepth' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/htszlib.c:157:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/htszlib.c:60:30: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htszlib.c:67:35: error: Null pointer dereference [nullPointer] httrack-3.49.6/src/htszlib.c:54:23: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/htszlib.c:54:39: style: Parameter 'newfile' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/httrack.c:233:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/httrack.c:625:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/httrack.c:635:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/httrack.c:655:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/httrack.c:740:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/httrack.c:765:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/httrack.c:773:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/httrack.c:801:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/httrack.c:850:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/httrack.c:922:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/httrack.c:673:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] httrack-3.49.6/src/httrack.c:942:20: style: Condition 'global_opt!=NULL' is always true [knownConditionTrueFalse] httrack-3.49.6/src/httrack.c:625:3: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] httrack-3.49.6/src/httrack.c:635:3: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] httrack-3.49.6/src/httrack.c:655:5: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] httrack-3.49.6/src/httrack.c:285:54: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_init' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:242:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:285:54: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:287:56: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_uninit' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:243:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:287:56: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:289:54: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_start' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:244:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:289:54: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:289:71: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_start' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:244:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:289:71: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:300:52: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_end' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:245:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:300:52: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:300:69: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_end' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:245:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:300:69: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:303:63: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_preprocesshtml' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:247:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:303:63: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:304:54: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_preprocesshtml' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:247:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:304:54: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:304:77: style: Parameter 'len' can be declared as pointer to const. However it seems that 'htsshow_preprocesshtml' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:247:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:304:77: note: Parameter 'len' can be declared as pointer to const httrack-3.49.6/src/httrack.c:309:64: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_postprocesshtml' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:248:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:309:64: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:310:55: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_postprocesshtml' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:248:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:310:55: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:311:49: style: Parameter 'len' can be declared as pointer to const. However it seems that 'htsshow_postprocesshtml' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:248:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:311:49: note: Parameter 'len' can be declared as pointer to const httrack-3.49.6/src/httrack.c:315:58: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_checkhtml' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:249:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:315:58: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:315:75: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_checkhtml' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:249:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:315:75: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:316:44: style: Parameter 'html' can be declared as pointer to const. However it seems that 'htsshow_checkhtml' is a callback function, if 'html' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:249:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:316:44: note: Parameter 'html' can be declared as pointer to const httrack-3.49.6/src/httrack.c:321:182: style: Parameter 'stats' can be declared as pointer to const. However it seems that 'htsshow_loop' is a callback function, if 'stats' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:253:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:321:182: note: Parameter 'stats' can be declared as pointer to const httrack-3.49.6/src/httrack.c:661:54: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_check' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:254:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:661:54: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:661:71: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_check' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:254:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:661:71: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:665:59: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_check_mime' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:255:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:665:59: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:665:76: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_check_mime' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:255:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:665:76: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:676:58: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_filesave' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:257:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:676:58: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:676:75: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_filesave' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:257:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:676:75: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:679:59: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_filesave2' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:258:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:679:59: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:679:76: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_filesave2' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:258:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:679:76: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:684:61: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_linkdetected' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:259:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:684:61: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:685:52: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_linkdetected' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:259:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:685:52: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:685:63: style: Parameter 'link' can be declared as pointer to const. However it seems that 'htsshow_linkdetected' is a callback function, if 'link' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:259:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:685:63: note: Parameter 'link' can be declared as pointer to const httrack-3.49.6/src/httrack.c:688:62: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_linkdetected2' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:260:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:688:62: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:689:53: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_linkdetected2' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:260:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:689:53: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:689:64: style: Parameter 'link' can be declared as pointer to const. However it seems that 'htsshow_linkdetected2' is a callback function, if 'link' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:260:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:689:64: note: Parameter 'link' can be declared as pointer to const httrack-3.49.6/src/httrack.c:693:58: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_xfrstatus' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:261:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:693:58: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:693:75: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_xfrstatus' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:261:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:693:75: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:694:50: style: Parameter 'back' can be declared as pointer to const. However it seems that 'htsshow_xfrstatus' is a callback function, if 'back' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:261:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:694:50: note: Parameter 'back' can be declared as pointer to const httrack-3.49.6/src/httrack.c:697:57: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_savename' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:262:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:697:57: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:697:74: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_savename' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:262:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:697:74: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:701:68: style: Parameter 'save' can be declared as pointer to const. However it seems that 'htsshow_savename' is a callback function, if 'save' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:262:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:701:68: note: Parameter 'save' can be declared as pointer to const httrack-3.49.6/src/httrack.c:704:59: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_sendheader' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:263:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:704:59: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:704:76: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_sendheader' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:263:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:704:76: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:705:45: style: Parameter 'buff' can be declared as pointer to const. However it seems that 'htsshow_sendheader' is a callback function, if 'buff' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:263:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:705:45: note: Parameter 'buff' can be declared as pointer to const httrack-3.49.6/src/httrack.c:708:48: style: Parameter 'outgoing' can be declared as pointer to const. However it seems that 'htsshow_sendheader' is a callback function, if 'outgoing' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:263:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:708:48: note: Parameter 'outgoing' can be declared as pointer to const httrack-3.49.6/src/httrack.c:711:62: style: Parameter 'carg' can be declared as pointer to const. However it seems that 'htsshow_receiveheader' is a callback function, if 'carg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:264:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:711:62: note: Parameter 'carg' can be declared as pointer to const httrack-3.49.6/src/httrack.c:712:53: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'htsshow_receiveheader' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:264:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:712:53: note: Parameter 'opt' can be declared as pointer to const httrack-3.49.6/src/httrack.c:712:64: style: Parameter 'buff' can be declared as pointer to const. However it seems that 'htsshow_receiveheader' is a callback function, if 'buff' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:264:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:712:64: note: Parameter 'buff' can be declared as pointer to const httrack-3.49.6/src/httrack.c:716:51: style: Parameter 'incoming' can be declared as pointer to const. However it seems that 'htsshow_receiveheader' is a callback function, if 'incoming' is declared with const you might also need to cast function pointer(s). [constParameterCallback] httrack-3.49.6/src/httrack.c:264:3: note: You might need to cast the function pointer here httrack-3.49.6/src/httrack.c:716:51: note: Parameter 'incoming' can be declared as pointer to const httrack-3.49.6/src/httrack.c:538:19: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] httrack-3.49.6/src/minizip/iowin32.c:57:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_READ [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/minizip/iowin32.c:200:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_HANDLE_EOF [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/minizip/iowin32.c:221:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_HANDLE_EOF [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/minizip/iowin32.c:236:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/minizip/iowin32.c:259:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_CURRENT [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/minizip/iowin32.c:282:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_CURRENT [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/minizip/iowin32.c:305:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_CURRENT [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/minizip/iowin32.c:343:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_CURRENT [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/minizip/iowin32.c:286:13: style: Variable 'ret' is assigned an expression that holds the same value. [redundantAssignment] httrack-3.49.6/src/minizip/iowin32.c:272:17: note: ret is assigned '(unsigned long long)-1' here. httrack-3.49.6/src/minizip/iowin32.c:286:13: note: Variable 'ret' is assigned an expression that holds the same value. httrack-3.49.6/src/minizip/iowin32.c:92:17: style: Variable 'mode_fopen' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/minizip/iowin32.c:120:17: style: Variable 'mode_fopen' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/minizip/iowin32.c:143:17: style: Variable 'mode_fopen' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/minizip/iowin32.c:162:17: style: Variable 'mode_fopen' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/minizip/mztools.c:192:25: style: Condition 'comsize>0' is always false [knownConditionTrueFalse] httrack-3.49.6/src/minizip/mztools.c:145:33: note: Assignment 'comment=""', assigned value is "" httrack-3.49.6/src/minizip/mztools.c:146:40: note: Assignment 'comsize=strlen(comment)', assigned value is 0 httrack-3.49.6/src/minizip/mztools.c:192:25: note: Condition 'comsize>0' is always false httrack-3.49.6/src/minizip/mztools.c:238:21: style: Condition 'comsize>0' is always false [knownConditionTrueFalse] httrack-3.49.6/src/minizip/mztools.c:220:29: note: Assignment 'comment=""', assigned value is "" httrack-3.49.6/src/minizip/mztools.c:221:36: note: Assignment 'comsize=strlen(comment)', assigned value is 0 httrack-3.49.6/src/minizip/mztools.c:238:21: note: Condition 'comsize>0' is always false httrack-3.49.6/src/minizip/mztools.c:144:16: style: Local variable 'header' shadows outer variable [shadowVariable] httrack-3.49.6/src/minizip/mztools.c:39:10: note: Shadowed declaration httrack-3.49.6/src/minizip/mztools.c:144:16: note: Shadow variable httrack-3.49.6/src/minizip/mztools.c:219:12: style: Local variable 'header' shadows outer variable [shadowVariable] httrack-3.49.6/src/minizip/mztools.c:39:10: note: Shadowed declaration httrack-3.49.6/src/minizip/mztools.c:219:12: note: Shadow variable httrack-3.49.6/src/minizip/unzip.c:1455:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/minizip/unzip.c:510:25: style: Condition 'unz_copyright[0]!=' '' is always false [knownConditionTrueFalse] httrack-3.49.6/src/minizip/unzip.c:1274:12: style: The comparison 'err == 0' is always true. [knownConditionTrueFalse] httrack-3.49.6/src/minizip/unzip.c:1263:13: note: 'err' is assigned value '0' here. httrack-3.49.6/src/minizip/unzip.c:1274:12: note: The comparison 'err == 0' is always true. httrack-3.49.6/src/minizip/unzip.c:1162:6: style: Variable 's->num_file' is assigned an expression that holds the same value. [redundantAssignment] httrack-3.49.6/src/minizip/unzip.c:1137:19: note: num_fileSaved is assigned 's->num_file' here. httrack-3.49.6/src/minizip/unzip.c:1162:6: note: Variable 's->num_file' is assigned an expression that holds the same value. httrack-3.49.6/src/minizip/unzip.c:673:52: style:inconclusive: Function 'unzOpen2' argument 2 names different: declaration 'pzlib_filefunc_def' definition 'pzlib_filefunc32_def'. [funcArgNamesDifferent] httrack-3.49.6/src/minizip/unzip.h:185:52: note: Function 'unzOpen2' argument 2 names different: declaration 'pzlib_filefunc_def' definition 'pzlib_filefunc32_def'. httrack-3.49.6/src/minizip/unzip.c:673:52: note: Function 'unzOpen2' argument 2 names different: declaration 'pzlib_filefunc_def' definition 'pzlib_filefunc32_def'. httrack-3.49.6/src/minizip/unzip.c:739:68: style:inconclusive: Function 'unzGetGlobalInfo' argument 2 names different: declaration 'pglobal_info' definition 'pglobal_info32'. [funcArgNamesDifferent] httrack-3.49.6/src/minizip/unzip.h:206:54: note: Function 'unzGetGlobalInfo' argument 2 names different: declaration 'pglobal_info' definition 'pglobal_info32'. httrack-3.49.6/src/minizip/unzip.c:739:68: note: Function 'unzGetGlobalInfo' argument 2 names different: declaration 'pglobal_info' definition 'pglobal_info32'. httrack-3.49.6/src/minizip/unzip.c:493:55: style: Parameter 'pzlib_filefunc64_32_def' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/minizip/unzip.c:673:52: style: Parameter 'pzlib_filefunc32_def' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/minizip/unzip.c:685:57: style: Parameter 'pzlib_filefunc_def' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/minizip/unzip.c:731:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/minizip/unzip.c:1189:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/minizip/unzip.c:1235:63: style: Parameter 'file_pos' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/minizip/unzip.c:1529:32: style: Variable 'pfile_in_zip_read_info' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/minizip/unzip.c:1776:32: style: Variable 'pfile_in_zip_read_info' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/minizip/unzip.c:1794:32: style: Variable 'pfile_in_zip_read_info' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/minizip/unzip.c:1944:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/minizip/unzip.c:518:25: warning: Uninitialized variable: *pzlib_filefunc64_32_def.zopen32_file [uninitvar] httrack-3.49.6/src/minizip/unzip.c:692:38: note: Calling function 'unzOpenInternal', 2nd argument '&zlib_filefunc64_32_def_fill' value is httrack-3.49.6/src/minizip/unzip.c:518:25: note: Uninitialized variable: *pzlib_filefunc64_32_def.zopen32_file httrack-3.49.6/src/minizip/unzip.c:979:22: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/minizip/unzip.c:987:14: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/minizip/unzip.c:990:14: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/minizip/unzip.c:1408:12: style: Variable 'err' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/minizip/zip.c:1183:26: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] httrack-3.49.6/src/minizip/zip.c:1180:41: note: outer condition: zi->ci.method==8 httrack-3.49.6/src/minizip/zip.c:1183:26: note: identical inner condition: zi->ci.method==8 httrack-3.49.6/src/minizip/zip.c:637:23: style: Condition 'central_pos==0' is always true [knownConditionTrueFalse] httrack-3.49.6/src/minizip/zip.c:633:18: note: Assuming that condition 'central_pos>0' is not redundant httrack-3.49.6/src/minizip/zip.c:637:23: note: Condition 'central_pos==0' is always true httrack-3.49.6/src/minizip/zip.c:999:11: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] httrack-3.49.6/src/minizip/zip.c:998:11: note: err is assigned httrack-3.49.6/src/minizip/zip.c:999:11: note: err is overwritten httrack-3.49.6/src/minizip/zip.c:1001:11: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] httrack-3.49.6/src/minizip/zip.c:999:11: note: err is assigned httrack-3.49.6/src/minizip/zip.c:1001:11: note: err is overwritten httrack-3.49.6/src/minizip/zip.c:1002:11: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] httrack-3.49.6/src/minizip/zip.c:1001:11: note: err is assigned httrack-3.49.6/src/minizip/zip.c:1002:11: note: err is overwritten httrack-3.49.6/src/minizip/zip.c:1498:36: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] httrack-3.49.6/src/minizip/zip.c:1493:53: note: err is assigned httrack-3.49.6/src/minizip/zip.c:1498:36: note: err is overwritten httrack-3.49.6/src/minizip/zip.c:886:112: style:inconclusive: Function 'zipOpen2' argument 4 names different: declaration 'pzlib_filefunc_def' definition 'pzlib_filefunc32_def'. [funcArgNamesDifferent] httrack-3.49.6/src/minizip/zip.h:140:52: note: Function 'zipOpen2' argument 4 names different: declaration 'pzlib_filefunc_def' definition 'pzlib_filefunc32_def'. httrack-3.49.6/src/minizip/zip.c:886:112: note: Function 'zipOpen2' argument 4 names different: declaration 'pzlib_filefunc_def' definition 'pzlib_filefunc32_def'. httrack-3.49.6/src/minizip/zip.c:816:117: style: Parameter 'pzlib_filefunc64_32_def' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/minizip/zip.c:886:112: style: Parameter 'pzlib_filefunc32_def' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/minizip/zip.c:897:117: style: Parameter 'pzlib_filefunc_def' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/minizip/crypt.h:35:40: style: Parameter 'pkeys' can be declared as pointer to const [constParameterPointer] httrack-3.49.6/src/minizip/zip.c:826:29: warning: Uninitialized variable: *pzlib_filefunc64_32_def.zopen32_file [uninitvar] httrack-3.49.6/src/minizip/zip.c:904:58: note: Calling function 'zipOpen3', 4th argument '&zlib_filefunc64_32_def_fill' value is httrack-3.49.6/src/minizip/zip.c:826:29: note: Uninitialized variable: *pzlib_filefunc64_32_def.zopen32_file httrack-3.49.6/src/minizip/zip.c:1638:11: style: Variable 'p' is assigned a value that is never used. [unreadVariable] httrack-3.49.6/src/proxy/proxytrack.h:65:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/proxy/proxytrack.h:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/proxy/proxytrack.h:252:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _S_IFREG [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/proxy/main.c:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] httrack-3.49.6/src/proxy/proxytrack.h:378:10: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] httrack-3.49.6/src/proxy/main.c:49:9: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/proxy/proxytrack.h:219:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/proxy/proxytrack.h:296:11: style: Variable 'first' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/proxy/proxytrack.h:296:19: style: Variable 'last' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/proxy/proxytrack.h:308:13: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] httrack-3.49.6/src/proxy/proxytrack.c:160:28: error: There is an unknown macro here somewhere. Configuration is required. If HTTRACK_VERSIONID is a macro then please configure it. [unknownMacro] httrack-3.49.6/src/proxy/store.c:380:24: error: There is an unknown macro here somewhere. Configuration is required. If HTTRACK_VERSIONID is a macro then please configure it. [unknownMacro] httrack-3.49.6/src/punycode.c:153:21: style: Condition '++delta==0' is always false [knownConditionTrueFalse] httrack-3.49.6/src/punycode.c:255:23: style: Condition 'i/(out+1)>maxint-n' is always true [knownConditionTrueFalse] httrack-3.49.6/src/coucal/coucal.c:333:10: warning: Null pointer dereference: hashtable [ctunullpointer] httrack-3.49.6/src/coucal/coucal.c:297:17: note: Assuming that condition 'hashtable!=NULL' is not redundant httrack-3.49.6/src/coucal/coucal.c:294:43: note: Calling function coucal_get_name, 1st argument is null httrack-3.49.6/src/coucal/coucal.c:333:10: note: Dereferencing argument hashtable that is null httrack-3.49.6/src/htslib.h:434:9: warning: Null pointer dereference: f [ctunullpointer] httrack-3.49.6/src/htslib.c:1262:18: note: Assuming that condition '(a)!=NULL' is not redundant httrack-3.49.6/src/htslib.c:1225:17: note: Calling function strfield, 1st argument is null httrack-3.49.6/src/htslib.h:434:9: note: Dereferencing argument f that is null httrack-3.49.6/src/htsjava.c:326:44: warning: Null pointer dereference: fp [ctunullpointer] httrack-3.49.6/src/htsjava.c:234:17: note: Assuming that condition 'fpout' is not redundant httrack-3.49.6/src/htsjava.c:226:29: note: Calling function readtable, 2nd argument is null httrack-3.49.6/src/htsjava.c:326:44: note: Dereferencing argument fp that is null diff: head httrack-3.49.6/src/htsback.c:83:32: warning: If memory allocation fails, then there is a possible null pointer dereference: sback [nullPointerOutOfMemory] httrack-3.49.6/src/htsback.c:72:24: note: Assuming allocation function fails httrack-3.49.6/src/htsback.c:72:24: note: Assignment 'sback=calloc(1,sizeof(struct struct_back))', assigned value is 0 httrack-3.49.6/src/htsback.c:83:32: note: Null pointer dereference head httrack-3.49.6/src/htscore.c:362:59: style: Condition '(link->adr=hts_record_link_strdup(opt,address))==NULL' is always false [knownConditionTrueFalse] head httrack-3.49.6/src/htscore.c:363:56: style: Condition '(link->fil=hts_record_link_strdup(opt,file))==NULL' is always false [knownConditionTrueFalse] head httrack-3.49.6/src/htscore.c:364:56: style: Condition '(link->sav=hts_record_link_strdup(opt,save))==NULL' is always false [knownConditionTrueFalse] head httrack-3.49.6/src/htscore.c:365:70: style: Condition '(link->former_adr=hts_record_link_strdup(opt,ref_address))==NULL' is always false [knownConditionTrueFalse] head httrack-3.49.6/src/htscore.c:366:67: style: Condition '(link->former_fil=hts_record_link_strdup(opt,ref_file))==NULL' is always false [knownConditionTrueFalse] head httrack-3.49.6/src/htscore.c:375:63: style: Condition '(link->cod=hts_record_link_strdup(opt,codebase))==NULL' is always false [knownConditionTrueFalse] 2.17.0 httrack-3.49.6/src/htscoremain.c:3248:35: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head httrack-3.49.6/src/htshelp.c:169:23: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:169:23: note: Null pointer dereference head httrack-3.49.6/src/htshelp.c:169:43: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:169:43: note: Null pointer dereference head httrack-3.49.6/src/htshelp.c:169:63: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:169:63: note: Null pointer dereference head httrack-3.49.6/src/htshelp.c:170:29: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:170:29: note: Null pointer dereference head httrack-3.49.6/src/htshelp.c:170:48: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:170:48: note: Null pointer dereference head httrack-3.49.6/src/htshelp.c:170:63: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:170:63: note: Null pointer dereference head httrack-3.49.6/src/htshelp.c:175:13: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:175:13: note: Null pointer dereference head httrack-3.49.6/src/htshelp.c:175:27: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:175:27: note: Null pointer dereference head httrack-3.49.6/src/htshelp.c:175:41: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:175:41: note: Null pointer dereference head httrack-3.49.6/src/htshelp.c:175:53: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:175:53: note: Null pointer dereference head httrack-3.49.6/src/htshelp.c:175:66: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:175:66: note: Null pointer dereference head httrack-3.49.6/src/htshelp.c:176:14: warning: If memory allocation fails, then there is a possible null pointer dereference: buffers [nullPointerOutOfMemory] httrack-3.49.6/src/htshelp.c:133:34: note: Assuming allocation function fails httrack-3.49.6/src/htshelp.c:133:34: note: Assignment 'buffers=malloc(sizeof(struct help_wizard_buffers))', assigned value is 0 httrack-3.49.6/src/htshelp.c:171:7: note: Assuming condition is false httrack-3.49.6/src/htshelp.c:176:14: note: Null pointer dereference 2.17.0 httrack-3.49.6/src/htstools.c:1223:23: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head httrack-3.49.6/src/md5.h:17:2: error: #error undefined: SIZEOF_LONG [preprocessorErrorDirective] DONE