2025-11-24 17:46 ftp://ftp.de.debian.org/debian/pool/main/w/wipe/wipe_0.24.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 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 11 11 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: wipe-0.24/misc.c:38:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wipe-0.24/misc.c:54:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wipe-0.24/arcfour.c:11:28: style: Parameter 'k' can be declared as pointer to const [constParameterPointer] wipe-0.24/random.c:95:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wipe-0.24/random.c:98:19: warning: Either the condition 'fd<0' is redundant or read() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] wipe-0.24/random.c:96:10: note: Assuming that condition 'fd<0' is not redundant wipe-0.24/random.c:98:19: note: Invalid argument wipe-0.24/random.c:119:38: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] wipe-0.24/random.c:115:13: note: Assuming allocation function fails wipe-0.24/random.c:115:13: note: Assignment 'f=popen(o_devrandom,"r")', assigned value is 0 wipe-0.24/random.c:119:38: note: Null pointer dereference wipe-0.24/wipe.c:1271:41: error: There is an unknown macro here somewhere. Configuration is required. If WIPE_GIT is a macro then please configure it. [unknownMacro] wipe-0.24/md5.c:116:61: style:inconclusive: Function 'MD5Update' argument 2 names different: declaration 'bug' definition 'inBuf'. [funcArgNamesDifferent] wipe-0.24/md5.h:63:51: note: Function 'MD5Update' argument 2 names different: declaration 'bug' definition 'inBuf'. wipe-0.24/md5.c:116:61: note: Function 'MD5Update' argument 2 names different: declaration 'bug' definition 'inBuf'. wipe-0.24/md5.c:117:17: style:inconclusive: Function 'MD5Update' argument 3 names different: declaration 'len' definition 'inLen'. [funcArgNamesDifferent] wipe-0.24/md5.h:63:69: note: Function 'MD5Update' argument 3 names different: declaration 'len' definition 'inLen'. wipe-0.24/md5.c:117:17: note: Function 'MD5Update' argument 3 names different: declaration 'len' definition 'inLen'. wipe-0.24/md5.c:116:61: style: Parameter 'inBuf' can be declared as pointer to const [constParameterPointer] wipe-0.24/md5.c:191:52: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] diff: DONE