2026-05-03 05:53 ftp://ftp.de.debian.org/debian/pool/main/libp/libpicohttpparser/libpicohttpparser_1.2.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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 14 14 elapsed-time: 0.5 0.4 head-timing-info: old-timing-info: head results: libpicohttpparser-1.2/picohttpparser.c:401:35: style:inconclusive: Function 'phr_parse_request' argument 1 names different: declaration 'buf' definition 'buf_start'. [funcArgNamesDifferent] libpicohttpparser-1.2/picohttpparser.h:58:35: note: Function 'phr_parse_request' argument 1 names different: declaration 'buf' definition 'buf_start'. libpicohttpparser-1.2/picohttpparser.c:401:35: note: Function 'phr_parse_request' argument 1 names different: declaration 'buf' definition 'buf_start'. libpicohttpparser-1.2/picohttpparser.c:474:36: style:inconclusive: Function 'phr_parse_response' argument 1 names different: declaration '_buf' definition 'buf_start'. [funcArgNamesDifferent] libpicohttpparser-1.2/picohttpparser.h:62:36: note: Function 'phr_parse_response' argument 1 names different: declaration '_buf' definition 'buf_start'. libpicohttpparser-1.2/picohttpparser.c:474:36: note: Function 'phr_parse_response' argument 1 names different: declaration '_buf' definition 'buf_start'. libpicohttpparser-1.2/picohttpparser.c:500:35: style:inconclusive: Function 'phr_parse_headers' argument 1 names different: declaration 'buf' definition 'buf_start'. [funcArgNamesDifferent] libpicohttpparser-1.2/picohttpparser.h:66:35: note: Function 'phr_parse_headers' argument 1 names different: declaration 'buf' definition 'buf_start'. libpicohttpparser-1.2/picohttpparser.c:500:35: note: Function 'phr_parse_headers' argument 1 names different: declaration 'buf' definition 'buf_start'. libpicohttpparser-1.2/picohttpparser.c:545:84: style:inconclusive: Function 'phr_decode_chunked' argument 3 names different: declaration 'bufsz' definition '_bufsz'. [funcArgNamesDifferent] libpicohttpparser-1.2/picohttpparser.h:87:84: note: Function 'phr_decode_chunked' argument 3 names different: declaration 'bufsz' definition '_bufsz'. libpicohttpparser-1.2/picohttpparser.c:545:84: note: Function 'phr_decode_chunked' argument 3 names different: declaration 'bufsz' definition '_bufsz'. libpicohttpparser-1.2/picohttpparser.c:700:63: style: Parameter 'decoder' can be declared as pointer to const [constParameterPointer] libpicohttpparser-1.2/picohttpparser.c:294:5: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] libpicohttpparser-1.2/picohttpparser.c:450:5: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] libpicohttpparser-1.2/test.c:520:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] libpicohttpparser-1.2/test.c:39:37: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] libpicohttpparser-1.2/test.c:311:17: note: Assuming allocation function fails libpicohttpparser-1.2/test.c:311:17: note: Assignment 'buf=strdup(encoded)', assigned value is 0 libpicohttpparser-1.2/test.c:318:5: note: Calling function 'bufis', 1st argument 'buf' value is 0 libpicohttpparser-1.2/test.c:39:37: note: Null pointer dereference libpicohttpparser-1.2/test.c:312:20: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] libpicohttpparser-1.2/test.c:311:17: note: Assuming allocation function fails libpicohttpparser-1.2/test.c:311:17: note: Assignment 'buf=strdup(encoded)', assigned value is 0 libpicohttpparser-1.2/test.c:312:20: note: Null pointer dereference libpicohttpparser-1.2/test.c:341:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] libpicohttpparser-1.2/test.c:332:23: note: Assuming allocation function fails libpicohttpparser-1.2/test.c:332:23: note: Assignment 'buf=malloc(strlen(encoded)+1)', assigned value is 0 libpicohttpparser-1.2/test.c:341:9: note: Null pointer dereference libpicohttpparser-1.2/test.c:376:20: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] libpicohttpparser-1.2/test.c:371:23: note: Assuming allocation function fails libpicohttpparser-1.2/test.c:371:23: note: Assignment 'buf=strdup(encoded)', assigned value is 0 libpicohttpparser-1.2/test.c:376:20: note: Null pointer dereference libpicohttpparser-1.2/test.c:383:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] libpicohttpparser-1.2/test.c:371:23: note: Assuming allocation function fails libpicohttpparser-1.2/test.c:371:23: note: Assignment 'buf=strdup(encoded)', assigned value is 0 libpicohttpparser-1.2/test.c:383:9: note: Null pointer dereference libpicohttpparser-1.2/test.c:343:44: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] libpicohttpparser-1.2/test.c:332:23: note: Assuming allocation function fails libpicohttpparser-1.2/test.c:332:23: note: Assignment 'buf=malloc(strlen(encoded)+1)', assigned value is 0 libpicohttpparser-1.2/test.c:343:44: note: Null pointer addition diff: DONE