2026-05-29 02:42 ftp://ftp.de.debian.org/debian/pool/main/p/python-pkcs11/python-pkcs11_0.9.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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-117-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: f1379d6 (2026-05-28 13:47:32 +0200) count: 4 4 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: pyauth-python-pkcs11-c6b8dd3/extern/load_module.c:63:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] pyauth-python-pkcs11-c6b8dd3/extern/load_module.c:90:5: error: Resource leak: handle [resourceLeak] pyauth-python-pkcs11-c6b8dd3/extern/load_module.c:86:14: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] pyauth-python-pkcs11-c6b8dd3/extern/load_module.c:85:49: note: Assuming allocation function fails pyauth-python-pkcs11-c6b8dd3/extern/load_module.c:85:23: note: Assignment 'result=(struct P11_HANDLE*)PyMem_Malloc(sizeof(struct P11_HANDLE))', assigned value is 0 pyauth-python-pkcs11-c6b8dd3/extern/load_module.c:86:14: note: Null pointer dereference pyauth-python-pkcs11-c6b8dd3/extern/load_module.c:87:14: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] pyauth-python-pkcs11-c6b8dd3/extern/load_module.c:85:49: note: Assuming allocation function fails pyauth-python-pkcs11-c6b8dd3/extern/load_module.c:85:23: note: Assignment 'result=(struct P11_HANDLE*)PyMem_Malloc(sizeof(struct P11_HANDLE))', assigned value is 0 pyauth-python-pkcs11-c6b8dd3/extern/load_module.c:87:14: note: Null pointer dereference diff: DONE