2025-08-31 16:46 ftp://ftp.de.debian.org/debian/pool/main/j/jython/jython_2.7.3+repack1.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.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 4 4 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: jython-2.7.3/tests/c/ctypes_test.c:27:12: warning: If memory allocation fails, then there is a possible null pointer dereference: x1 [nullPointerOutOfMemory] jython-2.7.3/tests/c/ctypes_test.c:25:34: note: Assuming allocation function fails jython-2.7.3/tests/c/ctypes_test.c:25:17: note: Assignment 'x1=(struct x*)malloc(sizeof(struct x))', assigned value is 0 jython-2.7.3/tests/c/ctypes_test.c:27:12: note: Null pointer dereference jython-2.7.3/tests/c/ctypes_test.c:28:12: warning: If memory allocation fails, then there is a possible null pointer dereference: x2 [nullPointerOutOfMemory] jython-2.7.3/tests/c/ctypes_test.c:26:34: note: Assuming allocation function fails jython-2.7.3/tests/c/ctypes_test.c:26:17: note: Assignment 'x2=(struct x*)malloc(sizeof(struct x))', assigned value is 0 jython-2.7.3/tests/c/ctypes_test.c:28:12: note: Null pointer dereference jython-2.7.3/tests/c/ctypes_test.c:52:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] jython-2.7.3/tests/c/ctypes_test.c:64:33: style: Parameter 'stuff' can be declared as pointer to const [constParameterPointer] diff: DONE