2025-11-25 14:06 ftp://ftp.de.debian.org/debian/pool/main/c/cl-clx-sbcl/cl-clx-sbcl_0.7.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --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-88-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 11 11 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: clx-0.7.5/excldep.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] clx-0.7.5/excldep.c:54:13: warning: Either the condition 'fd>=32' is redundant or the array 'checkfds[1]' is accessed at index 1, which is out of bounds. [arrayIndexOutOfBoundsCond] clx-0.7.5/excldep.c:47:22: note: Assuming that condition 'fd>=32' is not redundant clx-0.7.5/excldep.c:54:13: note: Array index out of bounds clx-0.7.5/excldep.c:54:43: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 47. [shiftTooManyBitsSigned] clx-0.7.5/excldep.c:47:22: note: Assuming that condition 'fd>=32' is not redundant clx-0.7.5/excldep.c:54:43: note: Shift clx-0.7.5/excldep.c:54:14: warning: Expression 'fd' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] clx-0.7.5/excldep.c:47:12: note: Assuming that condition 'fd<0' is not redundant clx-0.7.5/excldep.c:54:14: note: Negative value is converted to an unsigned value clx-0.7.5/excldep.c:54:47: warning: Expression 'fd' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] clx-0.7.5/excldep.c:47:12: note: Assuming that condition 'fd<0' is not redundant clx-0.7.5/excldep.c:54:47: note: Negative value is converted to an unsigned value clx-0.7.5/socket.c:93:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] clx-0.7.5/socket.c:90:20: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] clx-0.7.5/socket.c:110:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] clx-0.7.5/socket.c:48:12: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] clx-0.7.5/socket.c:53:19: style: Variable 'host_ptr' can be declared as pointer to const [constVariablePointer] clx-0.7.5/socket.c:88:12: error: Uninitialized variable: inaddr [uninitvar] diff: DONE