2026-09-26 22:32 ftp://ftp.de.debian.org/debian/pool/main/g/geekcode/geekcode_1.7.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.12.107+deb13-amd64-x86_64-with-glibc2.41 python: 3.12.14 client-version: 1.4.0 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.22.0 head-info: eb4b652 (2026-09-25 14:05:56 +0200) count: 11 12 elapsed-time: 0.4 0.4 head-timing-info: old-timing-info: head results: geekcode-1.7.3.orig/gc_computers.c:111:10: style: Variable 'unix_type' can be declared as pointer to const [constVariablePointer] geekcode-1.7.3.orig/gc_lifestyle.c:191:10: style: Variable 'sex' can be declared as pointer to const [constVariablePointer] geekcode-1.7.3.orig/gc_lifestyle.c:207:10: style: Variable 'sex' can be declared as pointer to const [constVariablePointer] geekcode-1.7.3.orig/gc_translate.c:6:19: style: Parameter 'sexcode' can be declared as const array [constParameter] geekcode-1.7.3.orig/geekcode.c:56:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] geekcode-1.7.3.orig/geekcode.c:188:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] geekcode-1.7.3.orig/geekcode.c:716:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fcode [nullPointerOutOfResources] geekcode-1.7.3.orig/geekcode.c:714:17: note: Assuming allocation function fails geekcode-1.7.3.orig/geekcode.c:714:17: note: Assignment 'fcode=fopen("geekcode.sig","w")', assigned value is 0 geekcode-1.7.3.orig/geekcode.c:716:12: note: Null pointer dereference geekcode-1.7.3.orig/geekcode.c:717:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fcode [nullPointerOutOfResources] geekcode-1.7.3.orig/geekcode.c:714:17: note: Assuming allocation function fails geekcode-1.7.3.orig/geekcode.c:714:17: note: Assignment 'fcode=fopen("geekcode.sig","w")', assigned value is 0 geekcode-1.7.3.orig/geekcode.c:717:12: note: Null pointer dereference geekcode-1.7.3.orig/geekcode.c:27:42: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] geekcode-1.7.3.orig/geekcode.c:193:10: style: Variable 'sex_type' can be declared as pointer to const [constVariablePointer] geekcode-1.7.3.orig/geekcode.c:711:10: style: Variable 'sex_type' can be declared as pointer to const [constVariablePointer] diff: 2.22.0 geekcode-1.7.3.orig/geekcode.c:95:38: style: Condition 'readgeek(geekcode,data,&j,&k)!=0' is always false [knownConditionTrueFalse] geekcode-1.7.3.orig/geekcode.c:95:16: note: Calling function 'readgeek' returns 0 geekcode-1.7.3.orig/geekcode.c:95:38: note: Condition 'readgeek(geekcode,data,&j,&k)!=0' is always false DONE