2026-05-02 11:14 ftp://ftp.de.debian.org/debian/pool/main/h/hasciicam/hasciicam_1.3+git20190911.8b5a35a.orig.tar.xz 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: 22 22 elapsed-time: 0.2 0.1 head-timing-info: old-timing-info: head results: hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:234:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:339:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V4L2_BUF_TYPE_VIDEO_CAPTURE [valueFlowBailoutIncompleteVar] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:415:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIDIOC_DQBUF [valueFlowBailoutIncompleteVar] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:469:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:592:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:744:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:497:7: warning:inconclusive: The buffer 'device' may not be null-terminated after the call to strncpy(). [terminateStrncpy] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:539:7: warning:inconclusive: The buffer 'fontface' may not be null-terminated after the call to strncpy(). [terminateStrncpy] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:546:2: warning:inconclusive: The buffer 'aafile' may not be null-terminated after the call to strncpy(). [terminateStrncpy] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:564:7: warning:inconclusive: The buffer 'background' may not be null-terminated after the call to strncpy(). [terminateStrncpy] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:567:7: warning:inconclusive: The buffer 'foreground' may not be null-terminated after the call to strncpy(). [terminateStrncpy] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:296:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:296:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:334:5: portability: %i in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:623:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:623:3: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:623:3: warning: %u in format string (no. 6) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:230:22: style: Parameter 'devfile' can be declared as pointer to const [constParameterPointer] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:442:30: style: Parameter 'argv' can be declared as const array [constParameter] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:231:9: style: Unused variable: errno [unusedVariable] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:232:18: style: Unused variable: i [unusedVariable] hasciicam-1.3+git20190911.8b5a35a/src/hasciicam.c:585:10: style: Unused variable: temp [unusedVariable] diff: DONE