2025-07-14 22:29 ftp://ftp.de.debian.org/debian/pool/main/m/monsterz/monsterz_0.7.1.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 -j3 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: a2600d0 (2025-07-14 12:39:20 +0200) count: 11 11 elapsed-time: 0.0 0.0 head-timing-info: old-timing-info: head results: monsterz-0.7.1/monsterz.c:19:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] monsterz-0.7.1/monsterz.c:29:5: warning: Return value of function pipe() is not used. [ignoredReturnValue] monsterz-0.7.1/monsterz.c:48:17: warning: If memory allocation fails, then there is a possible null pointer dereference: newargv [nullPointerOutOfMemory] monsterz-0.7.1/monsterz.c:46:29: note: Assuming allocation function fails monsterz-0.7.1/monsterz.c:46:29: note: Assignment 'newargv=malloc((argc+7)*sizeof(char*))', assigned value is 0 monsterz-0.7.1/monsterz.c:48:17: note: Null pointer dereference monsterz-0.7.1/monsterz.c:49:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newargv [nullPointerOutOfMemory] monsterz-0.7.1/monsterz.c:46:29: note: Assuming allocation function fails monsterz-0.7.1/monsterz.c:46:29: note: Assignment 'newargv=malloc((argc+7)*sizeof(char*))', assigned value is 0 monsterz-0.7.1/monsterz.c:49:13: note: Null pointer dereference monsterz-0.7.1/monsterz.c:50:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newargv [nullPointerOutOfMemory] monsterz-0.7.1/monsterz.c:46:29: note: Assuming allocation function fails monsterz-0.7.1/monsterz.c:46:29: note: Assignment 'newargv=malloc((argc+7)*sizeof(char*))', assigned value is 0 monsterz-0.7.1/monsterz.c:50:13: note: Null pointer dereference monsterz-0.7.1/monsterz.c:51:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newargv [nullPointerOutOfMemory] monsterz-0.7.1/monsterz.c:46:29: note: Assuming allocation function fails monsterz-0.7.1/monsterz.c:46:29: note: Assignment 'newargv=malloc((argc+7)*sizeof(char*))', assigned value is 0 monsterz-0.7.1/monsterz.c:51:13: note: Null pointer dereference monsterz-0.7.1/monsterz.c:52:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newargv [nullPointerOutOfMemory] monsterz-0.7.1/monsterz.c:46:29: note: Assuming allocation function fails monsterz-0.7.1/monsterz.c:46:29: note: Assignment 'newargv=malloc((argc+7)*sizeof(char*))', assigned value is 0 monsterz-0.7.1/monsterz.c:52:13: note: Null pointer dereference monsterz-0.7.1/monsterz.c:53:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newargv [nullPointerOutOfMemory] monsterz-0.7.1/monsterz.c:46:29: note: Assuming allocation function fails monsterz-0.7.1/monsterz.c:46:29: note: Assignment 'newargv=malloc((argc+7)*sizeof(char*))', assigned value is 0 monsterz-0.7.1/monsterz.c:53:13: note: Null pointer dereference monsterz-0.7.1/monsterz.c:54:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newargv [nullPointerOutOfMemory] monsterz-0.7.1/monsterz.c:46:29: note: Assuming allocation function fails monsterz-0.7.1/monsterz.c:46:29: note: Assignment 'newargv=malloc((argc+7)*sizeof(char*))', assigned value is 0 monsterz-0.7.1/monsterz.c:54:13: note: Null pointer dereference monsterz-0.7.1/monsterz.c:55:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newargv [nullPointerOutOfMemory] monsterz-0.7.1/monsterz.c:46:29: note: Assuming allocation function fails monsterz-0.7.1/monsterz.c:46:29: note: Assignment 'newargv=malloc((argc+7)*sizeof(char*))', assigned value is 0 monsterz-0.7.1/monsterz.c:55:13: note: Null pointer dereference monsterz-0.7.1/monsterz.c:56:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newargv [nullPointerOutOfMemory] monsterz-0.7.1/monsterz.c:46:29: note: Assuming allocation function fails monsterz-0.7.1/monsterz.c:46:29: note: Assignment 'newargv=malloc((argc+7)*sizeof(char*))', assigned value is 0 monsterz-0.7.1/monsterz.c:56:13: note: Null pointer dereference diff: DONE