2025-11-25 14:06 ftp://ftp.de.debian.org/debian/pool/main/c/cl-uffi/cl-uffi_2.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-88-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: cb76e52 (2025-11-22 14:47:37 +0100) count: 4 4 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: cl-uffi-2.1.2/examples/c-test-fns.c:39:23: style: Parameter 'psz' can be declared as pointer to const [constParameterPointer] cl-uffi-2.1.2/tests/uffi-c-test.c:103:4: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] cl-uffi-2.1.2/tests/uffi-c-test.c:102:26: note: Assuming allocation function fails cl-uffi-2.1.2/tests/uffi-c-test.c:102:12: note: Assignment 'x=(int*)malloc(sizeof(int))', assigned value is 0 cl-uffi-2.1.2/tests/uffi-c-test.c:103:4: note: Null pointer dereference cl-uffi-2.1.2/tests/uffi-c-test.c:112:4: warning: If memory allocation fails, then there is a possible null pointer dereference: y [nullPointerOutOfMemory] cl-uffi-2.1.2/tests/uffi-c-test.c:111:32: note: Assuming allocation function fails cl-uffi-2.1.2/tests/uffi-c-test.c:111:15: note: Assignment 'y=(double*)malloc(sizeof(double))', assigned value is 0 cl-uffi-2.1.2/tests/uffi-c-test.c:112:4: note: Null pointer dereference cl-uffi-2.1.2/tests/uffi-c-test.c:48:23: style: Parameter 'psz' can be declared as pointer to const [constParameterPointer] diff: DONE