2026-05-02 08:33 ftp://ftp.de.debian.org/debian/pool/main/g/govarnam/govarnam_1.9.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: 35 34 elapsed-time: 0.1 0.0 head-timing-info: old-timing-info: head results: govarnam-1.9.1/c-shared-varray.c:20:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] govarnam-1.9.1/c-shared-varray.c:19:38: note: Assuming allocation function fails govarnam-1.9.1/c-shared-varray.c:19:21: note: Assignment 'array=(struct varray*)malloc(sizeof(struct varray))', assigned value is 0 govarnam-1.9.1/c-shared-varray.c:20:5: note: Null pointer dereference govarnam-1.9.1/c-shared-varray.c:21:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] govarnam-1.9.1/c-shared-varray.c:19:38: note: Assuming allocation function fails govarnam-1.9.1/c-shared-varray.c:19:21: note: Assignment 'array=(struct varray*)malloc(sizeof(struct varray))', assigned value is 0 govarnam-1.9.1/c-shared-varray.c:21:5: note: Null pointer dereference govarnam-1.9.1/c-shared-varray.c:22:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] govarnam-1.9.1/c-shared-varray.c:19:38: note: Assuming allocation function fails govarnam-1.9.1/c-shared-varray.c:19:21: note: Assignment 'array=(struct varray*)malloc(sizeof(struct varray))', assigned value is 0 govarnam-1.9.1/c-shared-varray.c:22:5: note: Null pointer dereference govarnam-1.9.1/c-shared-varray.c:23:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] govarnam-1.9.1/c-shared-varray.c:19:38: note: Assuming allocation function fails govarnam-1.9.1/c-shared-varray.c:19:21: note: Assignment 'array=(struct varray*)malloc(sizeof(struct varray))', assigned value is 0 govarnam-1.9.1/c-shared-varray.c:23:5: note: Null pointer dereference govarnam-1.9.1/c-shared-varray.c:47:23: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] govarnam-1.9.1/c-shared.c:42:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] govarnam-1.9.1/c-shared.c:58:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] govarnam-1.9.1/c-shared.c:9:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sug [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:8:42: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:8:21: note: Assignment 'sug=(struct Suggestion*)malloc(sizeof(struct Suggestion))', assigned value is 0 govarnam-1.9.1/c-shared.c:9:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:10:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sug [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:8:42: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:8:21: note: Assignment 'sug=(struct Suggestion*)malloc(sizeof(struct Suggestion))', assigned value is 0 govarnam-1.9.1/c-shared.c:10:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:11:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sug [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:8:42: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:8:21: note: Assignment 'sug=(struct Suggestion*)malloc(sizeof(struct Suggestion))', assigned value is 0 govarnam-1.9.1/c-shared.c:11:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:18:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:17:67: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:17:35: note: Assignment 'result=(struct TransliterationResult*)malloc(sizeof(struct TransliterationResult))', assigned value is 0 govarnam-1.9.1/c-shared.c:18:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:19:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:17:67: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:17:35: note: Assignment 'result=(struct TransliterationResult*)malloc(sizeof(struct TransliterationResult))', assigned value is 0 govarnam-1.9.1/c-shared.c:19:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:20:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:17:67: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:17:35: note: Assignment 'result=(struct TransliterationResult*)malloc(sizeof(struct TransliterationResult))', assigned value is 0 govarnam-1.9.1/c-shared.c:20:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:21:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:17:67: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:17:35: note: Assignment 'result=(struct TransliterationResult*)malloc(sizeof(struct TransliterationResult))', assigned value is 0 govarnam-1.9.1/c-shared.c:21:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:22:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:17:67: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:17:35: note: Assignment 'result=(struct TransliterationResult*)malloc(sizeof(struct TransliterationResult))', assigned value is 0 govarnam-1.9.1/c-shared.c:22:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:23:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:17:67: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:17:35: note: Assignment 'result=(struct TransliterationResult*)malloc(sizeof(struct TransliterationResult))', assigned value is 0 govarnam-1.9.1/c-shared.c:23:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:64:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sd [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:63:47: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:63:23: note: Assignment 'sd=(struct SchemeDetails*)malloc(sizeof(struct SchemeDetails))', assigned value is 0 govarnam-1.9.1/c-shared.c:64:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:65:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sd [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:63:47: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:63:23: note: Assignment 'sd=(struct SchemeDetails*)malloc(sizeof(struct SchemeDetails))', assigned value is 0 govarnam-1.9.1/c-shared.c:65:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:66:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sd [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:63:47: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:63:23: note: Assignment 'sd=(struct SchemeDetails*)malloc(sizeof(struct SchemeDetails))', assigned value is 0 govarnam-1.9.1/c-shared.c:66:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:67:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sd [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:63:47: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:63:23: note: Assignment 'sd=(struct SchemeDetails*)malloc(sizeof(struct SchemeDetails))', assigned value is 0 govarnam-1.9.1/c-shared.c:67:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:68:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sd [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:63:47: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:63:23: note: Assignment 'sd=(struct SchemeDetails*)malloc(sizeof(struct SchemeDetails))', assigned value is 0 govarnam-1.9.1/c-shared.c:68:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:69:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sd [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:63:47: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:63:23: note: Assignment 'sd=(struct SchemeDetails*)malloc(sizeof(struct SchemeDetails))', assigned value is 0 govarnam-1.9.1/c-shared.c:69:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:101:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:101:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:102:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:102:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:103:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:103:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:104:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:104:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:105:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:105:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:106:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:106:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:107:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:107:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:108:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:108:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:109:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:109:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:110:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:110:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:111:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:111:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:112:3: warning: If memory allocation fails, then there is a possible null pointer dereference: symbol [nullPointerOutOfMemory] govarnam-1.9.1/c-shared.c:100:37: note: Assuming allocation function fails govarnam-1.9.1/c-shared.c:100:20: note: Assignment 'symbol=(struct Symbol*)malloc(sizeof(struct Symbol))', assigned value is 0 govarnam-1.9.1/c-shared.c:112:3: note: Null pointer dereference govarnam-1.9.1/c-shared.c:45:58: style:inconclusive: Function 'destroyTransliterationResult' argument 1 names different: declaration '' definition 'result'. [funcArgNamesDifferentUnnamed] diff: head govarnam-1.9.1/c-shared.c:45:58: style:inconclusive: Function 'destroyTransliterationResult' argument 1 names different: declaration '' definition 'result'. [funcArgNamesDifferentUnnamed] DONE