2025-07-14 22:20 ftp://ftp.de.debian.org/debian/pool/main/m/mod-gearman/mod-gearman_1.5.5.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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: a2600d0 (2025-07-14 12:39:20 +0200) count: 470 418 elapsed-time: 1.2 1.2 head-timing-info: old-timing-info: head results: mod_gearman-1.5.5/common/epn_utils.c:217:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_NO_EPN [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/epn_utils.c:224:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/epn_utils.c:317:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_OK [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/epn_utils.c:339:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_OK [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/epn_utils.c:45:25: style: Parameter 'processed_command' can be declared as pointer to const [constParameterPointer] mod_gearman-1.5.5/common/epn_utils.c:222:35: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] mod_gearman-1.5.5/common/gm_alloc.c:24:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_LOG_ERROR [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gm_alloc.c:29:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_LOG_ERROR [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gm_alloc.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_LOG_ERROR [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gm_alloc.c:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_LOG_ERROR [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gm_alloc.c:44:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_LOG_ERROR [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gm_alloc.c:51:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_LOG_ERROR [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gm_crypt.c:50:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEYBITS [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gm_crypt.c:95:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEYBITS [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/perlxsi.c:12:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSUB_SYS [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gm_crypt.c:49:59: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] mod_gearman-1.5.5/common/gm_crypt.c:93:55: style: Parameter 'encrypted' can be declared as pointer to const [constParameterPointer] mod_gearman-1.5.5/common/gearman_utils.c:36:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gearman_utils.c:62:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEARMAN_SUCCESS [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gearman_utils.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_LOG_TRACE [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gearman_utils.c:105:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_LOG_TRACE [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gearman_utils.c:135:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEARMAN_SUCCESS [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gearman_utils.c:270:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_BUFFERSIZE [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gearman_utils.c:341:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_BUFFERSIZE [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/gearman_utils.c:398:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable queue [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/popenRWE.c:84:29: style: Parameter 'rwepipe' can be declared as pointer to const [constParameterPointer] mod_gearman-1.5.5/common/popenRWE.c:90:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mod_gearman-1.5.5/common/check_utils.c:83:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_BUFFERSIZE [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/check_utils.c:95:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CMD_ARGS [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/check_utils.c:256:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_LOG_TRACE [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/check_utils.c:420:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_LOG_TRACE [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/check_utils.c:466:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/check_utils.c:491:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_BUFFERSIZE [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/check_utils.c:517:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GM_BUFFERSIZE [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/check_utils.c:549:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CMD_ARGS [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/contrib/mod_gearman_mini_epn.c:19:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATADIR [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/contrib/mod_gearman_mini_epn.c:80:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] mod_gearman-1.5.5/common/base64.c:21:42: style: Parameter 'triple' can be declared as const array [constParameter] mod_gearman-1.5.5/common/base64.c:104:32: style: Parameter 'quadruple' can be declared as const array [constParameter] mod_gearman-1.5.5/common/base64.c:159:28: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] mod_gearman-1.5.5/neb_module/mod_gearman.c:30:1: error: There is an unknown macro here somewhere. Configuration is required. If NEB_API_VERSION is a macro then please configure it. [unknownMacro] mod_gearman-1.5.5/common/gearman_utils.c:354:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] mod_gearman-1.5.5/common/gearman_utils.c:361:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] mod_gearman-1.5.5/common/gearman_utils.c:241:17: style: Redundant assignment of 'job' to itself. [selfAssignment] mod_gearman-1.5.5/common/gearman_utils.c:242:17: style: Redundant assignment of 'context' to itself. [selfAssignment] mod_gearman-1.5.5/common/gearman_utils.c:244:17: style: Redundant assignment of 'ret_ptr' to itself. [selfAssignment] mod_gearman-1.5.5/common/gearman_utils.c:245:17: style: Redundant assignment of 'result_size' to itself. [selfAssignment] mod_gearman-1.5.5/common/gearman_utils.c:267:11: style: Variable 'total' can be declared as pointer to const [constVariablePointer] mod_gearman-1.5.5/common/gearman_utils.c:267:19: style: Variable 'running' can be declared as pointer to const [constVariablePointer] mod_gearman-1.5.5/common/gearman_utils.c:267:29: style: Variable 'worker' can be declared as pointer to const [constVariablePointer] mod_gearman-1.5.5/common/gearman_utils.c:337:31: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] mod_gearman-1.5.5/common/gearman_utils.c:337:43: style: Parameter 'hostnam' can be declared as pointer to const [constParameterPointer] mod_gearman-1.5.5/common/gearman_utils.c:340:21: style: Variable 'server' can be declared as pointer to const [constVariablePointer] mod_gearman-1.5.5/common/gearman_utils.c:415:31: style: Variable 'ia' can be declared as pointer to const [constVariablePointer] mod_gearman-1.5.5/common/gearman_utils.c:418:31: style: Variable 'ib' can be declared as pointer to const [constVariablePointer] mod_gearman-1.5.5/common/gearman_utils.c:241:17: style: Variable 'job' is assigned a value that is never used. [unreadVariable] mod_gearman-1.5.5/common/gearman_utils.c:242:17: style: Variable 'context' is assigned a value that is never used. [unreadVariable] mod_gearman-1.5.5/common/gearman_utils.c:244:17: style: Variable 'ret_ptr' is assigned a value that is never used. [unreadVariable] mod_gearman-1.5.5/common/gearman_utils.c:245:17: style: Variable 'result_size' is assigned a value that is never used. [unreadVariable] mod_gearman-1.5.5/contrib/mod_gearman_mini_epn.c:51:25: style: Condition 'argc!=x' is always true [knownConditionTrueFalse] mod_gearman-1.5.5/contrib/mod_gearman_mini_epn.c:49:23: note: Assuming that condition 'x