2026-04-30 07:58 ftp://ftp.de.debian.org/debian/pool/main/r/ruby-posix-spawn/ruby-posix-spawn_0.3.15.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=ruby --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-110-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: 9305216 (2026-04-30 09:52:46 +0200) count: 12 11 elapsed-time: 0.2 0.1 head-timing-info: old-timing-info: head results: posix-spawn-0.3.15/ext/posix-spawn.c:112:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SYMBOL [valueFlowBailoutIncompleteVar] posix-spawn-0.3.15/ext/posix-spawn.c:146:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_CONTINUE [valueFlowBailoutIncompleteVar] posix-spawn-0.3.15/ext/posix-spawn.c:177:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_CONTINUE [valueFlowBailoutIncompleteVar] posix-spawn-0.3.15/ext/posix-spawn.c:204:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_CONTINUE [valueFlowBailoutIncompleteVar] posix-spawn-0.3.15/ext/posix-spawn.c:250:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POSIX_SPAWN_SETPGROUP [valueFlowBailoutIncompleteVar] posix-spawn-0.3.15/ext/posix-spawn.c:270:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_CONTINUE [valueFlowBailoutIncompleteVar] posix-spawn-0.3.15/ext/posix-spawn.c:320:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_CONTINUE [valueFlowBailoutIncompleteVar] posix-spawn-0.3.15/ext/posix-spawn.c:339:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] posix-spawn-0.3.15/ext/posix-spawn.c:397:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_env [nullPointerOutOfMemory] posix-spawn-0.3.15/ext/posix-spawn.c:395:20: note: Assuming allocation function fails posix-spawn-0.3.15/ext/posix-spawn.c:395:20: note: Assignment 'new_env=calloc(size+RHASH(env)->tbl->num_entries+1,sizeof(char*))', assigned value is 0 posix-spawn-0.3.15/ext/posix-spawn.c:397:5: note: Null pointer dereference posix-spawn-0.3.15/ext/posix-spawn.c:305:9: style: Variable 'cval' can be declared as pointer to const [constVariablePointer] posix-spawn-0.3.15/ext/posix-spawn.c:340:8: style: Variable 'file' can be declared as pointer to const [constVariablePointer] posix-spawn-0.3.15/ext/posix-spawn.c:431:9: style: Variable 'new_cwd' can be declared as pointer to const [constVariablePointer] diff: head posix-spawn-0.3.15/ext/posix-spawn.c:340:8: style: Variable 'file' can be declared as pointer to const [constVariablePointer] DONE