2026-09-01 00:57 ftp://ftp.de.debian.org/debian/pool/main/e/eflite/eflite_0.4.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 -j1 platform: Linux-6.12.90+deb13.1-amd64-x86_64-with-glibc2.41 python: 3.12.13 client-version: 1.4.0 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.21.0 head-info: 8357500 (2026-08-31 12:14:55 +0200) count: 59 51 elapsed-time: 0.6 0.2 head-timing-info: old-timing-info: head results: eflite-0.4.1/es.c:364:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] eflite-0.4.1/es.c:686:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] eflite-0.4.1/es.c:703:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] eflite-0.4.1/es.c:785:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] eflite-0.4.1/es.c:836:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] eflite-0.4.1/es.c:899:2: error: Common realloc mistake: 'client' nulled but not freed upon failure [memleakOnRealloc] eflite-0.4.1/es.c:320:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] eflite-0.4.1/es.c:313:50: note: Assuming allocation function fails eflite-0.4.1/es.c:313:31: note: Assignment 'p=settings=(struct setting*)malloc(sizeof(struct setting))', assigned value is 0 eflite-0.4.1/es.c:320:3: note: Null pointer dereference eflite-0.4.1/es.c:321:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] eflite-0.4.1/es.c:313:50: note: Assuming allocation function fails eflite-0.4.1/es.c:313:31: note: Assignment 'p=settings=(struct setting*)malloc(sizeof(struct setting))', assigned value is 0 eflite-0.4.1/es.c:321:3: note: Null pointer dereference eflite-0.4.1/es.c:322:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] eflite-0.4.1/es.c:313:50: note: Assuming allocation function fails eflite-0.4.1/es.c:313:31: note: Assignment 'p=settings=(struct setting*)malloc(sizeof(struct setting))', assigned value is 0 eflite-0.4.1/es.c:322:3: note: Null pointer dereference eflite-0.4.1/es.c:328:8: style: Local variable 'buf' shadows outer variable [shadowVariable] eflite-0.4.1/es.c:287:14: note: Shadowed variable eflite-0.4.1/es.c:328:8: note: Shadow local variable eflite-0.4.1/es.c:392:25: style: Argument 'client' shadows outer variable [shadowVariable] eflite-0.4.1/es.c:289:11: note: Shadowed variable eflite-0.4.1/es.c:392:25: note: Shadow argument eflite-0.4.1/es.c:392:39: style: Argument 'buf' shadows outer variable [shadowVariable] eflite-0.4.1/es.c:287:14: note: Shadowed variable eflite-0.4.1/es.c:392:39: note: Shadow argument eflite-0.4.1/es.c:459:26: style: Argument 'client' shadows outer variable [shadowVariable] eflite-0.4.1/es.c:289:11: note: Shadowed variable eflite-0.4.1/es.c:459:26: note: Shadow argument eflite-0.4.1/es.c:465:30: style: Argument 'client' shadows outer variable [shadowVariable] eflite-0.4.1/es.c:289:11: note: Shadowed variable eflite-0.4.1/es.c:465:30: note: Shadow argument eflite-0.4.1/es.c:478:40: style: Argument 'buf' shadows outer variable [shadowVariable] eflite-0.4.1/es.c:287:14: note: Shadowed variable eflite-0.4.1/es.c:478:40: note: Shadow argument eflite-0.4.1/es.c:494:20: style: Argument 'client' shadows outer variable [shadowVariable] eflite-0.4.1/es.c:289:11: note: Shadowed variable eflite-0.4.1/es.c:494:20: note: Shadow argument eflite-0.4.1/es.c:494:34: style: Argument 'buf' shadows outer variable [shadowVariable] eflite-0.4.1/es.c:287:14: note: Shadowed variable eflite-0.4.1/es.c:494:34: note: Shadow argument eflite-0.4.1/es.c:612:37: style: Argument 'buf' shadows outer variable [shadowVariable] eflite-0.4.1/es.c:287:14: note: Shadowed variable eflite-0.4.1/es.c:612:37: note: Shadow argument eflite-0.4.1/es.c:625:20: style: Argument 'client' shadows outer variable [shadowVariable] eflite-0.4.1/es.c:289:11: note: Shadowed variable eflite-0.4.1/es.c:625:20: note: Shadow argument eflite-0.4.1/es.c:695:8: style: Local variable 'buf' shadows outer variable [shadowVariable] eflite-0.4.1/es.c:287:14: note: Shadowed variable eflite-0.4.1/es.c:695:8: note: Shadow local variable eflite-0.4.1/es.c:309:24: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] eflite-0.4.1/es.c:309:36: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] eflite-0.4.1/es.c:358:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] eflite-0.4.1/es.c:377:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] eflite-0.4.1/es.c:379:9: style: Variable 'val' can be declared as pointer to const [constVariablePointer] eflite-0.4.1/es.c:612:37: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] eflite-0.4.1/es.c:693:24: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] eflite-0.4.1/es.c:759:27: style: Parameter 'argv' can be declared as const array [constParameter] eflite-0.4.1/es.c:765:9: style: Variable 'context' can be declared as pointer to const [constVariablePointer] eflite-0.4.1/fs.c:353:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] eflite-0.4.1/fs.c:556:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] eflite-0.4.1/fs.c:737:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] eflite-0.4.1/fs.c:803:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] eflite-0.4.1/fs.c:942:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] eflite-0.4.1/fs.c:427:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] eflite-0.4.1/fs.c:438:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] eflite-0.4.1/fs.c:372:37: error: Null pointer dereference [nullPointer] eflite-0.4.1/fs.c:384:37: error: Null pointer dereference [nullPointer] eflite-0.4.1/fs.c:565:51: error: Null pointer dereference [nullPointer] eflite-0.4.1/fs.c:567:50: error: Null pointer dereference [nullPointer] eflite-0.4.1/fs.c:576:41: error: Null pointer dereference [nullPointer] eflite-0.4.1/fs.c:609:55: error: Null pointer dereference [nullPointer] eflite-0.4.1/fs.c:618:49: error: Null pointer dereference [nullPointer] eflite-0.4.1/fs.c:945:38: error: Null pointer dereference [nullPointer] eflite-0.4.1/fs.c:474:15: style: The comparison 'value != -1' is always false. [knownConditionTrueFalse] eflite-0.4.1/fs.c:465:18: note: 'value' is assigned value '-1' here. eflite-0.4.1/fs.c:474:15: note: The comparison 'value != -1' is always false. eflite-0.4.1/fs.c:489:39: style: Argument 'ac' shadows outer variable [shadowVariable] eflite-0.4.1/fs.c:163:23: note: Shadowed variable eflite-0.4.1/fs.c:489:39: note: Shadow argument eflite-0.4.1/fs.c:350:12: style: Variable 'language' can be declared as pointer to const [constVariablePointer] eflite-0.4.1/fs.c:463:50: style: Parameter 's' can be declared as pointer to const [constParameterPointer] eflite-0.4.1/fs.c:521:59: style: Parameter 'wptr' can be declared as pointer to const [constParameterPointer] eflite-0.4.1/fs.c:547:8: style: Variable 'sparam' can be declared as pointer to const [constVariablePointer] eflite-0.4.1/fs.c:671:8: style: Variable 'sparam' can be declared as pointer to const [constVariablePointer] eflite-0.4.1/fs.c:785:72: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] eflite-0.4.1/fs.c:396:8: style: Variable 'langi' is assigned a value that is never used. [unreadVariable] eflite-0.4.1/soccon.c:26:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] eflite-0.4.1/soccon.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] eflite-0.4.1/soccon.c:42:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] eflite-0.4.1/sockopen.c:25:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] eflite-0.4.1/sockopen.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] eflite-0.4.1/tone.c:95:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] diff: head eflite-0.4.1/fs.c:372:37: error: Null pointer dereference [nullPointer] head eflite-0.4.1/fs.c:384:37: error: Null pointer dereference [nullPointer] head eflite-0.4.1/fs.c:565:51: error: Null pointer dereference [nullPointer] head eflite-0.4.1/fs.c:567:50: error: Null pointer dereference [nullPointer] head eflite-0.4.1/fs.c:576:41: error: Null pointer dereference [nullPointer] head eflite-0.4.1/fs.c:609:55: error: Null pointer dereference [nullPointer] head eflite-0.4.1/fs.c:618:49: error: Null pointer dereference [nullPointer] head eflite-0.4.1/fs.c:945:38: error: Null pointer dereference [nullPointer] DONE