2026-02-20 04:02 ftp://ftp.de.debian.org/debian/pool/main/c/cconv/cconv_0.6.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 -j12 platform: Linux-6.18.9+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-13) 15.2.0 cppcheck: head 2.19.0 head-info: 179f04a0 (2026-02-19 22:01:17 +0100) count: 29 29 elapsed-time: 3.1 1.3 head-timing-info: old-timing-info: head results: cconv-0.6.3/main.c:137:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cconv-0.6.3/main.c:40:20: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] cconv-0.6.3/main.c:182:46: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cconv-0.6.3/main.c:251:27: style: Unsigned expression 'ret' can't be negative so it is unnecessary to test it. [unsignedPositive] cconv-0.6.3/main.c:38:25: style: Parameter 's_program' can be declared as pointer to const [constParameterPointer] cconv-0.6.3/main.c:40:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cconv-0.6.3/cconv.c:380:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cconv-0.6.3/cconv.c:518:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cconv-0.6.3/cconv.c:530:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cconv-0.6.3/cconv.c:94:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:94:2: note: Null pointer dereference cconv-0.6.3/cconv.c:95:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:95:2: note: Null pointer dereference cconv-0.6.3/cconv.c:96:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:96:2: note: Null pointer dereference cconv-0.6.3/cconv.c:97:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:97:2: note: Null pointer dereference cconv-0.6.3/cconv.c:98:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:98:2: note: Null pointer dereference cconv-0.6.3/cconv.c:99:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:99:2: note: Null pointer dereference cconv-0.6.3/cconv.c:100:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:100:2: note: Null pointer dereference cconv-0.6.3/cconv.c:180:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:180:5: note: Null pointer dereference cconv-0.6.3/cconv.c:183:6: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:183:6: note: Null pointer dereference cconv-0.6.3/cconv.c:183:39: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:183:39: note: Null pointer dereference cconv-0.6.3/cconv.c:184:6: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:184:6: note: Null pointer dereference cconv-0.6.3/cconv.c:184:39: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:184:39: note: Null pointer dereference cconv-0.6.3/cconv.c:185:6: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:93:42: note: Assuming allocation function fails cconv-0.6.3/cconv.c:93:21: note: Assignment 'cd=(struct cconv_struct*)malloc(sizeof(struct cconv_struct))', assigned value is 0 cconv-0.6.3/cconv.c:185:6: note: Null pointer dereference cconv-0.6.3/cconv.c:515:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:514:20: note: Assuming allocation function fails cconv-0.6.3/cconv.c:514:6: note: Assignment 'p=(char*)malloc(size+1)', assigned value is 0 cconv-0.6.3/cconv.c:515:9: note: Null pointer dereference cconv-0.6.3/cconv.c:516:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cconv-0.6.3/cconv.c:514:20: note: Assuming allocation function fails cconv-0.6.3/cconv.c:514:6: note: Assignment 'p=(char*)malloc(size+1)', assigned value is 0 cconv-0.6.3/cconv.c:516:2: note: Null pointer dereference cconv-0.6.3/cconv.c:92:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cconv-0.6.3/cconv.c:260:19: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cconv-0.6.3/cconv.c:428:46: style: Parameter 'length' can be declared as pointer to const [constParameterPointer] cconv-0.6.3/cconv.c:511:8: style: Variable 'm_one' can be declared as pointer to const [constVariablePointer] cconv-0.6.3/cconv.c:436:9: style: Variable 'last' is assigned a value that is never used. [unreadVariable] diff: DONE