2025-09-13 21:38 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-79-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: fea194b (2025-09-13 13:40:14 +0200) 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