2025-07-04 15:32 ftp://ftp.de.debian.org/debian/pool/main/libu/libunibreak/libunibreak_6.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-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 9b11b6b (2025-07-04 16:03:30 +0200) count: 12 12 elapsed-time: 305.0 47.1 head-timing-info: old-timing-info: head results: libunibreak-libunibreak_6_1/src/graphemebreak.c:114:29: style: Variable 'states' can be declared as const array [constVariable] libunibreak-libunibreak_6_1/src/tests.c:100:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libunibreak-libunibreak_6_1/src/tests.c:207:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libunibreak-libunibreak_6_1/src/tests.c:219:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libunibreak-libunibreak_6_1/src/tests.c:219:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libunibreak-libunibreak_6_1/src/tests.c:219:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libunibreak-libunibreak_6_1/src/tests.c:222:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libunibreak-libunibreak_6_1/src/tests.c:47:26: style: Parameter 'argv' can be declared as const array [constParameter] libunibreak-libunibreak_6_1/tools/graphemebreak_test.c:34:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: breaks [nullPointerOutOfMemory] libunibreak-libunibreak_6_1/tools/graphemebreak_test.c:29:20: note: Assuming allocation function fails libunibreak-libunibreak_6_1/tools/graphemebreak_test.c:29:20: note: Assignment 'breaks=malloc(len)', assigned value is 0 libunibreak-libunibreak_6_1/tools/graphemebreak_test.c:34:27: note: Null pointer dereference libunibreak-libunibreak_6_1/tools/linebreak_test.c:29:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libunibreak-libunibreak_6_1/tools/linebreak_test.c:142:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] libunibreak-libunibreak_6_1/tools/wordbreak_test.c:34:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: breaks [nullPointerOutOfMemory] libunibreak-libunibreak_6_1/tools/wordbreak_test.c:29:19: note: Assuming allocation function fails libunibreak-libunibreak_6_1/tools/wordbreak_test.c:29:19: note: Assignment 'breaks=malloc(len)', assigned value is 0 libunibreak-libunibreak_6_1/tools/wordbreak_test.c:34:26: note: Null pointer dereference diff: DONE