2025-11-23 00:40 ftp://ftp.de.debian.org/debian/pool/main/o/ocaml-cry/ocaml-cry_1.0.3.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: 7 7 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: ocaml-cry-1.0.3/src/cry_stubs.c:54:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] ocaml-cry-1.0.3/src/cry_stubs.c:59:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fds [nullPointerOutOfMemory] ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assuming allocation function fails ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assignment 'fds=calloc(nfds,sizeof(struct pollfd))', assigned value is 0 ocaml-cry-1.0.3/src/cry_stubs.c:59:5: note: Null pointer dereference ocaml-cry-1.0.3/src/cry_stubs.c:60:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fds [nullPointerOutOfMemory] ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assuming allocation function fails ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assignment 'fds=calloc(nfds,sizeof(struct pollfd))', assigned value is 0 ocaml-cry-1.0.3/src/cry_stubs.c:60:5: note: Null pointer dereference ocaml-cry-1.0.3/src/cry_stubs.c:65:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fds [nullPointerOutOfMemory] ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assuming allocation function fails ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assignment 'fds=calloc(nfds,sizeof(struct pollfd))', assigned value is 0 ocaml-cry-1.0.3/src/cry_stubs.c:65:5: note: Null pointer dereference ocaml-cry-1.0.3/src/cry_stubs.c:66:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fds [nullPointerOutOfMemory] ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assuming allocation function fails ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assignment 'fds=calloc(nfds,sizeof(struct pollfd))', assigned value is 0 ocaml-cry-1.0.3/src/cry_stubs.c:66:5: note: Null pointer dereference ocaml-cry-1.0.3/src/cry_stubs.c:71:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fds [nullPointerOutOfMemory] ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assuming allocation function fails ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assignment 'fds=calloc(nfds,sizeof(struct pollfd))', assigned value is 0 ocaml-cry-1.0.3/src/cry_stubs.c:71:5: note: Null pointer dereference ocaml-cry-1.0.3/src/cry_stubs.c:72:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fds [nullPointerOutOfMemory] ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assuming allocation function fails ocaml-cry-1.0.3/src/cry_stubs.c:54:15: note: Assignment 'fds=calloc(nfds,sizeof(struct pollfd))', assigned value is 0 ocaml-cry-1.0.3/src/cry_stubs.c:72:5: note: Null pointer dereference diff: DONE