2026-05-27 18:17 ftp://ftp.de.debian.org/debian/pool/main/libd/libdeflate/libdeflate_1.23.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --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 -j8 platform: Linux-6.17.0-29-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: 6e46c6b (2026-05-27 18:39:55 +0200) count: 12 12 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: libdeflate-1.23/common_defs.h:139:6: error: #error "gcc versions older than 4.9 are no longer supported" [preprocessorErrorDirective] libdeflate-1.23/scripts/libFuzzer/deflate_decompress/fuzz.c:13:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:13:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:83:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDEFLATE_SUCCESS [valueFlowBailoutIncompleteVar] libdeflate-1.23/scripts/libFuzzer/deflate_decompress/fuzz.c:25:9: warning: If memory allocation fails, then there is a possible null pointer dereference: base_addr [nullPointerOutOfMemory] libdeflate-1.23/scripts/libFuzzer/deflate_decompress/fuzz.c:18:18: note: Assuming allocation function fails libdeflate-1.23/scripts/libFuzzer/deflate_decompress/fuzz.c:18:18: note: Assignment 'base_addr=mmap(NULL,(nr_pages+2)*pagesize,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 libdeflate-1.23/scripts/libFuzzer/deflate_decompress/fuzz.c:25:9: note: Null pointer dereference libdeflate-1.23/scripts/libFuzzer/deflate_decompress/fuzz.c:21:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] libdeflate-1.23/scripts/libFuzzer/deflate_decompress/fuzz.c:18:18: note: Assuming allocation function fails libdeflate-1.23/scripts/libFuzzer/deflate_decompress/fuzz.c:18:18: note: Assignment 'base_addr=mmap(NULL,(nr_pages+2)*pagesize,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 libdeflate-1.23/scripts/libFuzzer/deflate_decompress/fuzz.c:21:20: note: Null pointer addition libdeflate-1.23/scripts/libFuzzer/deflate_decompress/fuzz.c:33:30: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] libdeflate-1.23/scripts/libFuzzer/deflate_decompress/fuzz.c:33:46: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:25:9: warning: If memory allocation fails, then there is a possible null pointer dereference: base_addr [nullPointerOutOfMemory] libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:18:18: note: Assuming allocation function fails libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:18:18: note: Assignment 'base_addr=mmap(NULL,(nr_pages+2)*pagesize,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:25:9: note: Null pointer dereference libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:21:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:18:18: note: Assuming allocation function fails libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:18:18: note: Assignment 'base_addr=mmap(NULL,(nr_pages+2)*pagesize,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:21:20: note: Null pointer addition libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:33:30: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] libdeflate-1.23/scripts/libFuzzer/deflate_compress/fuzz.c:33:46: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] diff: DONE