2026-05-02 16:13 ftp://ftp.de.debian.org/debian/pool/main/i/integrit/integrit_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.8.0-111-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: e5c4a73 (2026-05-01 11:10:43 +0200) count: 48 46 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: integrit-4.1/cdb.c:42:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/cdb_get.c:26:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/cdb_hash.c:34:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/cdb_make.c:39:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/cdb_put.c:32:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/cdb_seq.c:31:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/checkset.c:51:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] integrit-4.1/checkset.c:96:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] integrit-4.1/checkset.c:195:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] integrit-4.1/checkset.c:206:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] integrit-4.1/checkset.c:37:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] integrit-4.1/checkset.c:192:28: note: Assuming allocation function fails integrit-4.1/checkset.c:192:28: note: Assignment 'new=malloc(sizeof(struct checkset))', assigned value is 0 integrit-4.1/checkset.c:196:19: note: Calling function 'checkset_init', 1st argument 'new' value is 0 integrit-4.1/checkset.c:37:5: note: Null pointer dereference integrit-4.1/checkset.c:38:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] integrit-4.1/checkset.c:192:28: note: Assuming allocation function fails integrit-4.1/checkset.c:192:28: note: Assignment 'new=malloc(sizeof(struct checkset))', assigned value is 0 integrit-4.1/checkset.c:196:19: note: Calling function 'checkset_init', 1st argument 'new' value is 0 integrit-4.1/checkset.c:38:5: note: Null pointer dereference integrit-4.1/checkset.c:43:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: nic [nullPointerOutOfMemory] integrit-4.1/checkset.c:203:31: note: Assuming allocation function fails integrit-4.1/checkset.c:203:31: note: Assignment 'new=malloc(sizeof(struct ni_checkset))', assigned value is 0 integrit-4.1/checkset.c:207:22: note: Calling function 'ni_checkset_init', 1st argument 'new' value is 0 integrit-4.1/checkset.c:43:5: note: Null pointer dereference integrit-4.1/checkset.c:44:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: nic [nullPointerOutOfMemory] integrit-4.1/checkset.c:203:31: note: Assuming allocation function fails integrit-4.1/checkset.c:203:31: note: Assignment 'new=malloc(sizeof(struct ni_checkset))', assigned value is 0 integrit-4.1/checkset.c:207:22: note: Calling function 'ni_checkset_init', 1st argument 'new' value is 0 integrit-4.1/checkset.c:44:5: note: Null pointer dereference integrit-4.1/checkset.c:45:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: nic [nullPointerOutOfMemory] integrit-4.1/checkset.c:203:31: note: Assuming allocation function fails integrit-4.1/checkset.c:203:31: note: Assignment 'new=malloc(sizeof(struct ni_checkset))', assigned value is 0 integrit-4.1/checkset.c:207:22: note: Calling function 'ni_checkset_init', 1st argument 'new' value is 0 integrit-4.1/checkset.c:45:5: note: Null pointer dereference integrit-4.1/checkset.c:161:18: style: Variable 'nic' can be declared as pointer to const [constVariablePointer] integrit-4.1/eachfile.c:39:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/elcerror.c:30:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/elcwft.c:83:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] integrit-4.1/elcwft.c:154:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] integrit-4.1/elcwft.c:130:7: error: Memory leak: curr_dirname [memleak] integrit-4.1/elcwft.c:152:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] integrit-4.1/elcwft.c:79:35: style: Parameter 'dirname' can be declared as pointer to const [constParameterPointer] integrit-4.1/elcwft.c:94:51: style: Parameter 'head' can be declared as pointer to const [constParameterPointer] integrit-4.1/examples/integrit-run.c:70:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] integrit-4.1/examples/integrit-run.c:113:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] integrit-4.1/gnupg/rmd160.c:54:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/hashtbl/hashtbl.c:39:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/hashtbl/hashtest.c:43:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] integrit-4.1/hashtbl/hashtest.c:56:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] integrit-4.1/hashtbl/hforeach.c:52:14: style:inconclusive: Function 'hashtbl_foreach' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] integrit-4.1/hashtbl/hfree.c:70:11: style:inconclusive: Function 'hashtbl_free' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] integrit-4.1/hashtbl/hgrow.c:33:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/hashtbl/hhash.c:32:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/istat.c:49:52: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] integrit-4.1/istat.c:35:23: warning: Using 'sizeof' on array given as function argument returns size of a pointer. [sizeofwithsilentarraypointer] integrit-4.1/istat.c:45:23: warning: Using 'sizeof' on array given as function argument returns size of a pointer. [sizeofwithsilentarraypointer] integrit-4.1/main.c:35:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/missing.c:35:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/options.c:33:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/rules.c:32:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/show.c:33:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/utils/ls.c:37:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/utils/viewdb.c:35:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/xml.c:29:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/xstradd.c:32:2: error: #error No stdint.h or inttypes.h found. [preprocessorErrorDirective] integrit-4.1/xstrdup.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] integrit-4.1/xstrdup.c:38:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: newstr [nullPointerOutOfMemory] integrit-4.1/xstrdup.c:35:27: note: Assuming allocation function fails integrit-4.1/xstrdup.c:35:27: note: Assignment 'newstr=malloc(sizeof(char)*(strlen(str)+1))', assigned value is 0 integrit-4.1/xstrdup.c:38:12: note: Null pointer dereference diff: head integrit-4.1/hashtbl/hforeach.c:52:14: style:inconclusive: Function 'hashtbl_foreach' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head integrit-4.1/hashtbl/hfree.c:70:11: style:inconclusive: Function 'hashtbl_free' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] DONE