2026-05-03 02:07 ftp://ftp.de.debian.org/debian/pool/main/liba/libapache2-mod-python/libapache2-mod-python_3.5.0.7.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 125 120 elapsed-time: 0.8 0.6 head-timing-info: old-timing-info: head results: mod_python-3.5.0.7/src/_apachemodule.c:54:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APLOG_ERR [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_apachemodule.c:412:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ap_conftree [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_apachemodule.c:423:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ap_server_root [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_apachemodule.c:446:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_apachemodule.c:521:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_apachemodule.c:610:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_apachemodule.c:672:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_apachemodule.c:711:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_apachemodule.c:758:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_apachemodule.c:789:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_INCOMPLETE [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_apachemodule.c:847:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpTable_Type [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_apachemodule.c:722:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.7/src/_apachemodule.c:721:32: note: Assuming allocation function fails mod_python-3.5.0.7/src/_apachemodule.c:721:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.7/src/_apachemodule.c:722:5: note: Null pointer dereference mod_python-3.5.0.7/src/_apachemodule.c:723:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.7/src/_apachemodule.c:721:32: note: Assuming allocation function fails mod_python-3.5.0.7/src/_apachemodule.c:721:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.7/src/_apachemodule.c:723:5: note: Null pointer dereference mod_python-3.5.0.7/src/_apachemodule.c:725:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.7/src/_apachemodule.c:721:32: note: Assuming allocation function fails mod_python-3.5.0.7/src/_apachemodule.c:721:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.7/src/_apachemodule.c:725:5: note: Null pointer dereference mod_python-3.5.0.7/src/_apachemodule.c:726:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.7/src/_apachemodule.c:721:32: note: Assuming allocation function fails mod_python-3.5.0.7/src/_apachemodule.c:721:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.7/src/_apachemodule.c:726:5: note: Null pointer dereference mod_python-3.5.0.7/src/_apachemodule.c:162:15: style: Variable 'cpair' can be declared as pointer to const [constVariablePointer] mod_python-3.5.0.7/src/_pspmodule.c:37:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable psp_string [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_pspmodule.c:90:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/_pspmodule.c:39:5: warning: If memory allocation fails, then there is a possible null pointer dereference: parser [nullPointerOutOfMemory] mod_python-3.5.0.7/src/_pspmodule.c:35:37: note: Assuming allocation function fails mod_python-3.5.0.7/src/_pspmodule.c:35:14: note: Assignment 'parser=(psp_parser_t*)malloc(sizeof(*parser))', assigned value is 0 mod_python-3.5.0.7/src/_pspmodule.c:39:5: note: Null pointer dereference mod_python-3.5.0.7/src/_pspmodule.c:40:5: warning: If memory allocation fails, then there is a possible null pointer dereference: parser [nullPointerOutOfMemory] mod_python-3.5.0.7/src/_pspmodule.c:35:37: note: Assuming allocation function fails mod_python-3.5.0.7/src/_pspmodule.c:35:14: note: Assignment 'parser=(psp_parser_t*)malloc(sizeof(*parser))', assigned value is 0 mod_python-3.5.0.7/src/_pspmodule.c:40:5: note: Null pointer dereference mod_python-3.5.0.7/src/_pspmodule.c:41:5: warning: If memory allocation fails, then there is a possible null pointer dereference: parser [nullPointerOutOfMemory] mod_python-3.5.0.7/src/_pspmodule.c:35:37: note: Assuming allocation function fails mod_python-3.5.0.7/src/_pspmodule.c:35:14: note: Assignment 'parser=(psp_parser_t*)malloc(sizeof(*parser))', assigned value is 0 mod_python-3.5.0.7/src/_pspmodule.c:41:5: note: Null pointer dereference mod_python-3.5.0.7/src/_pspmodule.c:42:5: warning: If memory allocation fails, then there is a possible null pointer dereference: parser [nullPointerOutOfMemory] mod_python-3.5.0.7/src/_pspmodule.c:35:37: note: Assuming allocation function fails mod_python-3.5.0.7/src/_pspmodule.c:35:14: note: Assignment 'parser=(psp_parser_t*)malloc(sizeof(*parser))', assigned value is 0 mod_python-3.5.0.7/src/_pspmodule.c:42:5: note: Null pointer dereference mod_python-3.5.0.7/src/connobject.c:76:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [syntaxError] mod_python-3.5.0.7/src/filterobject.c:82:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpFilter_Type [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/filterobject.c:131:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_BLOCK_READ [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/filterobject.c:164:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/filterobject.c:324:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/filterobject.c:376:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_SUCCESS [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/filterobject.c:420:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/filterobject.c:441:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/filterobject.c:507:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/filterobject.c:544:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/filterobject.c:320:15: style: Unused variable: s [unusedVariable] mod_python-3.5.0.7/src/filterobject.c:494:15: style: Unused variable: res [unusedVariable] mod_python-3.5.0.7/src/finfoobject.c:39:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpFinfo_Type [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/finfoobject.c:67:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable apr_finfo_t [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/finfoobject.c:109:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_NOFILE [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/finfoobject.c:224:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/finfoobject.c:99:58: style: Parameter 'name' can be declared as pointer to const. However it seems that 'finfo_getattr' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mod_python-3.5.0.7/src/finfoobject.c:386:18: note: You might need to cast the function pointer here mod_python-3.5.0.7/src/finfoobject.c:99:58: note: Parameter 'name' can be declared as pointer to const mod_python-3.5.0.7/src/hlist.c:43:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hl_entry [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/hlist.c:75:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hl_entry [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/hlist.c:100:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hl_entry [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/hlist.c:140:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hl_entry [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/hlistobject.c:40:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpHList_Type [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/hlistobject.c:58:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/hlistobject.c:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/hlistobject.c:127:42: style: Parameter 'self' can be declared as pointer to const. However it seems that 'hlist_repr' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mod_python-3.5.0.7/src/hlistobject.c:176:15: note: You might need to cast the function pointer here mod_python-3.5.0.7/src/hlistobject.c:127:42: note: Parameter 'self' can be declared as pointer to const mod_python-3.5.0.7/src/hlistobject.c:94:15: style: Unused variable: res [unusedVariable] mod_python-3.5.0.7/src/mod_python.c:540:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [syntaxError] psp_parser.c:760:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] psp_parser.c:1342:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] psp_parser.c:1688:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] psp_parser.c:1933:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] psp_parser.c:2109:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] psp_parser.c:2140:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] psp_parser.c:2219:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] psp_parser.l:52:5: style: Variable 'yyg->yy_c_buf_p' is reassigned a value before the old one has been used. [redundantAssignment] psp_parser.l:52:5: note: yyg->yy_c_buf_p is assigned psp_parser.l:52:5: note: yyg->yy_c_buf_p is overwritten psp_parser.l:62:5: style: Variable 'yyg->yy_c_buf_p' is reassigned a value before the old one has been used. [redundantAssignment] psp_parser.l:62:5: note: yyg->yy_c_buf_p is assigned psp_parser.l:62:5: note: yyg->yy_c_buf_p is overwritten psp_parser.l:226:5: style: Variable 'yyg->yy_c_buf_p' is reassigned a value before the old one has been used. [redundantAssignment] psp_parser.l:226:5: note: yyg->yy_c_buf_p is assigned psp_parser.l:226:5: note: yyg->yy_c_buf_p is overwritten psp_parser.l:236:5: style: Variable 'yyg->yy_c_buf_p' is reassigned a value before the old one has been used. [redundantAssignment] psp_parser.l:236:5: note: yyg->yy_c_buf_p is assigned psp_parser.l:236:5: note: yyg->yy_c_buf_p is overwritten psp_parser.l:245:5: style: Variable 'yyg->yy_c_buf_p' is reassigned a value before the old one has been used. [redundantAssignment] psp_parser.l:245:5: note: yyg->yy_c_buf_p is assigned psp_parser.l:245:5: note: yyg->yy_c_buf_p is overwritten psp_parser.c:1342:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] psp_parser.c:1342:3: note: c is initialized psp_parser.c:1342:3: note: c is overwritten psp_parser.c:1423:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] psp_parser.c:329:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. psp_parser.c:1423:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. psp_parser.c:1450:40: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] psp_parser.c:615:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. psp_parser.c:1450:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. psp_parser.c:1882:46: style:inconclusive: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] psp_parser.c:290:46: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. psp_parser.c:1882:46: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. psp_parser.c:1895:46: style:inconclusive: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] psp_parser.c:291:45: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. psp_parser.c:1895:46: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. psp_parser.c:1895:60: style:inconclusive: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] psp_parser.c:291:56: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. psp_parser.c:1895:60: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. psp_parser.c:2092:24: style:inconclusive: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] psp_parser.c:575:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. psp_parser.c:2092:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. psp_parser.c:2106:26: style:inconclusive: Function 'yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] psp_parser.c:564:27: note: Function 'yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. psp_parser.c:2106:26: note: Function 'yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. psp_parser.c:2133:37: style:inconclusive: Function 'yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. [funcArgNamesDifferent] psp_parser.c:566:38: note: Function 'yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. psp_parser.c:2133:37: note: Function 'yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. psp_parser.c:2133:64: style:inconclusive: Function 'yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] psp_parser.c:566:62: note: Function 'yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. psp_parser.c:2133:64: note: Function 'yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. psp_parser.c:2250:27: style:inconclusive: Function 'yyalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] psp_parser.c:2257:26: style:inconclusive: Function 'yyrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] psp_parser.c:2257:42: style:inconclusive: Function 'yyrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] psp_parser.c:2272:21: style:inconclusive: Function 'yyfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] psp_parser.c:1254:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] psp_parser.c:1466:9: style: Variable 'source' can be declared as pointer to const [constVariablePointer] psp_parser.c:1961:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] psp_parser.c:1996:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] psp_parser.c:2005:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] psp_parser.c:2014:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] psp_parser.c:2024:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] psp_parser.c:2088:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] mod_python-3.5.0.7/src/psp_string.c:53:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSP_STRING_BLOCK [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/psp_string.c:72:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSP_STRING_BLOCK [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/psp_string.c:45:41: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] mod_python-3.5.0.7/src/requestobject.c:1447:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [syntaxError] mod_python-3.5.0.7/src/serverobject.c:203:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [syntaxError] mod_python-3.5.0.7/src/tableobject.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpTable_Type [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:147:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:186:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:272:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:377:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:410:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:449:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:561:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:600:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:773:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:863:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:884:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_KeyError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:915:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:978:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:1000:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:1165:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:1277:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:1317:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/tableobject.c:624:23: warning: Either the condition 'svalue==NULL' is redundant or there is possible null pointer dereference: svalue. [nullPointerRedundantCheck] mod_python-3.5.0.7/src/tableobject.c:623:20: note: Assuming that condition 'svalue==NULL' is not redundant mod_python-3.5.0.7/src/tableobject.c:624:23: note: Null pointer dereference mod_python-3.5.0.7/src/tableobject.c:1245:45: style:inconclusive: Function 'tableiter_new' argument 1 names different: declaration '' definition 'table'. [funcArgNamesDifferentUnnamed] mod_python-3.5.0.7/src/tableobject.c:1245:68: style:inconclusive: Function 'tableiter_new' argument 2 names different: declaration '' definition 'select'. [funcArgNamesDifferentUnnamed] mod_python-3.5.0.7/src/tableobject.c:130:24: style: Variable 'elts' can be declared as pointer to const [constVariablePointer] mod_python-3.5.0.7/src/tableobject.c:171:24: style: Variable 'elts' can be declared as pointer to const [constVariablePointer] mod_python-3.5.0.7/src/tableobject.c:1133:42: style: Parameter 'type' can be declared as pointer to const. However it seems that 'table_new' is a callback function, if 'type' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mod_python-3.5.0.7/src/tableobject.c:1229:5: note: You might need to cast the function pointer here mod_python-3.5.0.7/src/tableobject.c:1133:42: note: Parameter 'type' can be declared as pointer to const mod_python-3.5.0.7/src/tableobject.c:1133:58: style: Parameter 'args' can be declared as pointer to const. However it seems that 'table_new' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mod_python-3.5.0.7/src/tableobject.c:1229:5: note: You might need to cast the function pointer here mod_python-3.5.0.7/src/tableobject.c:1133:58: note: Parameter 'args' can be declared as pointer to const mod_python-3.5.0.7/src/tableobject.c:1133:74: style: Parameter 'kwds' can be declared as pointer to const. However it seems that 'table_new' is a callback function, if 'kwds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mod_python-3.5.0.7/src/tableobject.c:1229:5: note: You might need to cast the function pointer here mod_python-3.5.0.7/src/tableobject.c:1133:74: note: Parameter 'kwds' can be declared as pointer to const mod_python-3.5.0.7/src/tableobject.c:36:9: style: struct member 'apr_table_t::index_first' is never used. [unusedStructMember] mod_python-3.5.0.7/src/tableobject.c:37:9: style: struct member 'apr_table_t::index_last' is never used. [unusedStructMember] mod_python-3.5.0.7/src/tableobject.c:808:9: style: Unused variable: len [unusedVariable] mod_python-3.5.0.7/src/tableobject.c:891:9: style: Variable 'elts' is assigned a value that is never used. [unreadVariable] mod_python-3.5.0.7/src/tableobject.c:1101:9: style: Unused variable: rc [unusedVariable] mod_python-3.5.0.7/src/util.c:92:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_NOFILE [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/util.c:199:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/util.c:286:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ap_loaded_modules [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/util.c:430:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_SUCCESS [valueFlowBailoutIncompleteVar] mod_python-3.5.0.7/src/util.c:283:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mod_python-3.5.0.7/src/util.c:335:21: style: Variable 'ei' can be declared as pointer to const [constVariablePointer] diff: head mod_python-3.5.0.7/src/tableobject.c:1245:45: style:inconclusive: Function 'tableiter_new' argument 1 names different: declaration '' definition 'table'. [funcArgNamesDifferentUnnamed] head mod_python-3.5.0.7/src/tableobject.c:1245:68: style:inconclusive: Function 'tableiter_new' argument 2 names different: declaration '' definition 'select'. [funcArgNamesDifferentUnnamed] 2.20.0 mod_python-3.5.0.7/src/tableobject.c:624:23: error: Null pointer dereference [nullPointer] head psp_parser.c:2250:27: style:inconclusive: Function 'yyalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head psp_parser.c:2257:26: style:inconclusive: Function 'yyrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head psp_parser.c:2257:42: style:inconclusive: Function 'yyrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head psp_parser.c:2272:21: style:inconclusive: Function 'yyfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] DONE