2026-03-29 08:21 ftp://ftp.de.debian.org/debian/pool/main/l/lz4json/lz4json_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-106-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: e06e98f (2026-03-28 10:25:12 +0100) count: 2 2 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: lz4json-2/lz4jsoncat.c:38:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] lz4json-2/lz4jsoncat.c:58:14: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] lz4json-2/lz4jsoncat.c:53:19: note: Assuming allocation function fails lz4json-2/lz4jsoncat.c:53:19: note: Assignment 'map=mmap(NULL,st.st_size,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 lz4json-2/lz4jsoncat.c:58:14: note: Null pointer dereference diff: DONE