2025-10-16 16:26 ftp://ftp.de.debian.org/debian/pool/main/f/feersum/feersum_1.505.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-85-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 7828eb5 (2025-10-15 23:40:19 +0200) count: 15 15 elapsed-time: 0.4 0.5 head-timing-info: old-timing-info: head results: Feersum-1.505/picohttpparser-git/picohttpparser.c:401:35: style:inconclusive: Function 'phr_parse_request' argument 1 names different: declaration 'buf' definition 'buf_start'. [funcArgNamesDifferent] Feersum-1.505/picohttpparser-git/picohttpparser.h:52:35: note: Function 'phr_parse_request' argument 1 names different: declaration 'buf' definition 'buf_start'. Feersum-1.505/picohttpparser-git/picohttpparser.c:401:35: note: Function 'phr_parse_request' argument 1 names different: declaration 'buf' definition 'buf_start'. Feersum-1.505/picohttpparser-git/picohttpparser.c:474:36: style:inconclusive: Function 'phr_parse_response' argument 1 names different: declaration '_buf' definition 'buf_start'. [funcArgNamesDifferent] Feersum-1.505/picohttpparser-git/picohttpparser.h:56:36: note: Function 'phr_parse_response' argument 1 names different: declaration '_buf' definition 'buf_start'. Feersum-1.505/picohttpparser-git/picohttpparser.c:474:36: note: Function 'phr_parse_response' argument 1 names different: declaration '_buf' definition 'buf_start'. Feersum-1.505/picohttpparser-git/picohttpparser.c:500:35: style:inconclusive: Function 'phr_parse_headers' argument 1 names different: declaration 'buf' definition 'buf_start'. [funcArgNamesDifferent] Feersum-1.505/picohttpparser-git/picohttpparser.h:60:35: note: Function 'phr_parse_headers' argument 1 names different: declaration 'buf' definition 'buf_start'. Feersum-1.505/picohttpparser-git/picohttpparser.c:500:35: note: Function 'phr_parse_headers' argument 1 names different: declaration 'buf' definition 'buf_start'. Feersum-1.505/picohttpparser-git/picohttpparser.c:543:84: style:inconclusive: Function 'phr_decode_chunked' argument 3 names different: declaration 'bufsz' definition '_bufsz'. [funcArgNamesDifferent] Feersum-1.505/picohttpparser-git/picohttpparser.h:81:84: note: Function 'phr_decode_chunked' argument 3 names different: declaration 'bufsz' definition '_bufsz'. Feersum-1.505/picohttpparser-git/picohttpparser.c:543:84: note: Function 'phr_decode_chunked' argument 3 names different: declaration 'bufsz' definition '_bufsz'. Feersum-1.505/picohttpparser-git/picohttpparser.c:678:63: style: Parameter 'decoder' can be declared as pointer to const [constParameterPointer] Feersum-1.505/picohttpparser-git/picohttpparser.c:294:5: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] Feersum-1.505/picohttpparser-git/picohttpparser.c:450:5: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] Feersum-1.505/picohttpparser-git/test.c:510:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] Feersum-1.505/picohttpparser-git/test.c:39:37: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] Feersum-1.505/picohttpparser-git/test.c:311:17: note: Assuming allocation function fails Feersum-1.505/picohttpparser-git/test.c:311:17: note: Assignment 'buf=strdup(encoded)', assigned value is 0 Feersum-1.505/picohttpparser-git/test.c:318:14: note: Calling function 'bufis', 1st argument 'buf' value is 0 Feersum-1.505/picohttpparser-git/test.c:39:37: note: Null pointer dereference Feersum-1.505/picohttpparser-git/test.c:312:20: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] Feersum-1.505/picohttpparser-git/test.c:311:17: note: Assuming allocation function fails Feersum-1.505/picohttpparser-git/test.c:311:17: note: Assignment 'buf=strdup(encoded)', assigned value is 0 Feersum-1.505/picohttpparser-git/test.c:312:20: note: Null pointer dereference Feersum-1.505/picohttpparser-git/test.c:341:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] Feersum-1.505/picohttpparser-git/test.c:332:23: note: Assuming allocation function fails Feersum-1.505/picohttpparser-git/test.c:332:23: note: Assignment 'buf=malloc(strlen(encoded)+1)', assigned value is 0 Feersum-1.505/picohttpparser-git/test.c:341:9: note: Null pointer dereference Feersum-1.505/picohttpparser-git/test.c:376:20: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] Feersum-1.505/picohttpparser-git/test.c:371:23: note: Assuming allocation function fails Feersum-1.505/picohttpparser-git/test.c:371:23: note: Assignment 'buf=strdup(encoded)', assigned value is 0 Feersum-1.505/picohttpparser-git/test.c:376:20: note: Null pointer dereference Feersum-1.505/picohttpparser-git/test.c:383:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] Feersum-1.505/picohttpparser-git/test.c:371:23: note: Assuming allocation function fails Feersum-1.505/picohttpparser-git/test.c:371:23: note: Assignment 'buf=strdup(encoded)', assigned value is 0 Feersum-1.505/picohttpparser-git/test.c:383:9: note: Null pointer dereference Feersum-1.505/picohttpparser-git/test.c:343:44: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] Feersum-1.505/picohttpparser-git/test.c:332:23: note: Assuming allocation function fails Feersum-1.505/picohttpparser-git/test.c:332:23: note: Assignment 'buf=malloc(strlen(encoded)+1)', assigned value is 0 Feersum-1.505/picohttpparser-git/test.c:343:44: note: Null pointer addition Feersum-1.505/rinq.c:46:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] Feersum-1.505/rinq.c:46:5: note: Assuming allocation function fails Feersum-1.505/rinq.c:46:5: note: Assignment 'x=(struct rinq*)malloc(sizeof(struct rinq))', assigned value is 0 Feersum-1.505/rinq.c:46:5: note: Null pointer dereference diff: DONE