2025-10-30 19:59 ftp://ftp.de.debian.org/debian/pool/main/liba/libapache2-mod-python/libapache2-mod-python_3.5.0.1.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-87-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: 828e903 (2025-10-30 18:25:48 +0100) count: 128 269 elapsed-time: 0.9 2.0 head-timing-info: old-timing-info: head results: mod_python-3.5.0.1/src/_apachemodule.c:54:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APLOG_ERR [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_apachemodule.c:408:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ap_conftree [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_apachemodule.c:419:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ap_server_root [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_apachemodule.c:442:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_apachemodule.c:517:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_apachemodule.c:606:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_apachemodule.c:668:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_apachemodule.c:707:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_apachemodule.c:754:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_apachemodule.c:785:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_INCOMPLETE [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_apachemodule.c:843:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpTable_Type [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_apachemodule.c:718:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.1/src/_apachemodule.c:717:32: note: Assuming allocation function fails mod_python-3.5.0.1/src/_apachemodule.c:717:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.1/src/_apachemodule.c:718:5: note: Null pointer dereference mod_python-3.5.0.1/src/_apachemodule.c:719:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.1/src/_apachemodule.c:717:32: note: Assuming allocation function fails mod_python-3.5.0.1/src/_apachemodule.c:717:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.1/src/_apachemodule.c:719:5: note: Null pointer dereference mod_python-3.5.0.1/src/_apachemodule.c:721:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.1/src/_apachemodule.c:717:32: note: Assuming allocation function fails mod_python-3.5.0.1/src/_apachemodule.c:717:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.1/src/_apachemodule.c:721:5: note: Null pointer dereference mod_python-3.5.0.1/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.1/src/_apachemodule.c:717:32: note: Assuming allocation function fails mod_python-3.5.0.1/src/_apachemodule.c:717:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.1/src/_apachemodule.c:722:5: note: Null pointer dereference mod_python-3.5.0.1/src/_apachemodule.c:162:15: style: Variable 'cpair' can be declared as pointer to const [constVariablePointer] mod_python-3.5.0.1/src/_pspmodule.c:40:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable psp_string [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/_pspmodule.c:93:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/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.1/src/_pspmodule.c:38:37: note: Assuming allocation function fails mod_python-3.5.0.1/src/_pspmodule.c:38:14: note: Assignment 'parser=(psp_parser_t*)malloc(sizeof(*parser))', assigned value is 0 mod_python-3.5.0.1/src/_pspmodule.c:42:5: note: Null pointer dereference mod_python-3.5.0.1/src/_pspmodule.c:43:5: warning: If memory allocation fails, then there is a possible null pointer dereference: parser [nullPointerOutOfMemory] mod_python-3.5.0.1/src/_pspmodule.c:38:37: note: Assuming allocation function fails mod_python-3.5.0.1/src/_pspmodule.c:38:14: note: Assignment 'parser=(psp_parser_t*)malloc(sizeof(*parser))', assigned value is 0 mod_python-3.5.0.1/src/_pspmodule.c:43:5: note: Null pointer dereference mod_python-3.5.0.1/src/_pspmodule.c:44:5: warning: If memory allocation fails, then there is a possible null pointer dereference: parser [nullPointerOutOfMemory] mod_python-3.5.0.1/src/_pspmodule.c:38:37: note: Assuming allocation function fails mod_python-3.5.0.1/src/_pspmodule.c:38:14: note: Assignment 'parser=(psp_parser_t*)malloc(sizeof(*parser))', assigned value is 0 mod_python-3.5.0.1/src/_pspmodule.c:44:5: note: Null pointer dereference mod_python-3.5.0.1/src/_pspmodule.c:45:5: warning: If memory allocation fails, then there is a possible null pointer dereference: parser [nullPointerOutOfMemory] mod_python-3.5.0.1/src/_pspmodule.c:38:37: note: Assuming allocation function fails mod_python-3.5.0.1/src/_pspmodule.c:38:14: note: Assignment 'parser=(psp_parser_t*)malloc(sizeof(*parser))', assigned value is 0 mod_python-3.5.0.1/src/_pspmodule.c:45:5: note: Null pointer dereference mod_python-3.5.0.1/src/_pspmodule.c:157:8: style: Variable 'bs' is assigned a value that is never used. [unreadVariable] mod_python-3.5.0.1/src/connobject.c:76:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] mod_python-3.5.0.1/src/connobject.c:76:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] mod_python-3.5.0.1/src/filterobject.c:82:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpFilter_Type [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/filterobject.c:131:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_BLOCK_READ [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/filterobject.c:164:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/filterobject.c:324:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/filterobject.c:376:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_SUCCESS [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/filterobject.c:420:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/filterobject.c:441:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/filterobject.c:507:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/filterobject.c:544:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/filterobject.c:320:15: style: Unused variable: s [unusedVariable] mod_python-3.5.0.1/src/filterobject.c:494:15: style: Unused variable: res [unusedVariable] mod_python-3.5.0.1/src/finfoobject.c:39:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpFinfo_Type [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/finfoobject.c:67:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable apr_finfo_t [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/finfoobject.c:109:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_NOFILE [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/finfoobject.c:224:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/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.1/src/finfoobject.c:386:18: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/finfoobject.c:99:58: note: Parameter 'name' can be declared as pointer to const mod_python-3.5.0.1/src/hlist.c:43:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hl_entry [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/hlist.c:75:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hl_entry [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/hlist.c:100:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hl_entry [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/hlist.c:140:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hl_entry [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/hlistobject.c:40:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpHList_Type [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/hlistobject.c:58:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/hlistobject.c:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/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.1/src/hlistobject.c:176:15: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/hlistobject.c:127:42: note: Parameter 'self' can be declared as pointer to const mod_python-3.5.0.1/src/hlistobject.c:94:15: style: Unused variable: res [unusedVariable] mod_python-3.5.0.1/src/mod_python.c:546:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] mod_python-3.5.0.1/src/mod_python.c:546:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] psp_parser.c:765:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] psp_parser.c:1338:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] psp_parser.c:1527:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] psp_parser.c:1680:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] psp_parser.c:1923:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] psp_parser.c:2101:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] psp_parser.c:2134:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] psp_parser.c:2213:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] psp_parser.l:51:5: style: Variable 'yyg->yy_c_buf_p' is reassigned a value before the old one has been used. [redundantAssignment] psp_parser.l:51:5: note: yyg->yy_c_buf_p is assigned psp_parser.l:51:5: note: yyg->yy_c_buf_p is overwritten psp_parser.l:61:5: style: Variable 'yyg->yy_c_buf_p' is reassigned a value before the old one has been used. [redundantAssignment] psp_parser.l:61:5: note: yyg->yy_c_buf_p is assigned psp_parser.l:61:5: note: yyg->yy_c_buf_p is overwritten psp_parser.l:225:5: style: Variable 'yyg->yy_c_buf_p' is reassigned a value before the old one has been used. [redundantAssignment] psp_parser.l:225:5: note: yyg->yy_c_buf_p is assigned psp_parser.l:225:5: note: yyg->yy_c_buf_p is overwritten psp_parser.l:235:5: style: Variable 'yyg->yy_c_buf_p' is reassigned a value before the old one has been used. [redundantAssignment] psp_parser.l:235:5: note: yyg->yy_c_buf_p is assigned psp_parser.l:235:5: note: yyg->yy_c_buf_p is overwritten psp_parser.l:244:5: style: Variable 'yyg->yy_c_buf_p' is reassigned a value before the old one has been used. [redundantAssignment] psp_parser.l:244:5: note: yyg->yy_c_buf_p is assigned psp_parser.l:244:5: note: yyg->yy_c_buf_p is overwritten psp_parser.c:1338:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] psp_parser.c:1338:3: note: c is initialized psp_parser.c:1338:3: note: c is overwritten psp_parser.c:1416:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] psp_parser.c:338:54: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. psp_parser.c:1416:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. psp_parser.c:1440:49: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] psp_parser.c:621:38: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. psp_parser.c:1440:49: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. psp_parser.c:1874:48: style:inconclusive: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] psp_parser.c:295:47: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. psp_parser.c:1874:48: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. psp_parser.c:1887:48: style:inconclusive: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] psp_parser.c:296:46: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. psp_parser.c:1887:48: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. psp_parser.c:1887:62: style:inconclusive: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] psp_parser.c:296:56: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. psp_parser.c:1887:62: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. psp_parser.c:2082:24: style:inconclusive: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. [funcArgNamesDifferent] psp_parser.c:587:23: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. psp_parser.c:2082:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. psp_parser.c:2097:26: style:inconclusive: Function 'yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] psp_parser.c:576:27: note: Function 'yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. psp_parser.c:2097:26: note: Function 'yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. psp_parser.c:2126:36: style:inconclusive: Function 'yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. [funcArgNamesDifferent] psp_parser.c:578:37: note: Function 'yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. psp_parser.c:2126:36: note: Function 'yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. psp_parser.c:2126:62: style:inconclusive: Function 'yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] psp_parser.c:578:60: note: Function 'yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. psp_parser.c:2126:62: note: Function 'yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. psp_parser.c:1251:17: style: Variable 'source' can be declared as pointer to const [constVariablePointer] psp_parser.c:1456:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] psp_parser.c:1887:48: style: Parameter 'yybytes' can be declared as pointer to const [constParameterPointer] psp_parser.c:1921:43: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] psp_parser.c:1951:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] psp_parser.c:1986:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] psp_parser.c:1995:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] psp_parser.c:2004: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:2078:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] mod_python-3.5.0.1/src/psp_string.c:53:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSP_STRING_BLOCK [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/psp_string.c:72:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSP_STRING_BLOCK [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/psp_string.c:45:41: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] mod_python-3.5.0.1/src/requestobject.c:1447:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] mod_python-3.5.0.1/src/requestobject.c:1447:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] mod_python-3.5.0.1/src/serverobject.c:203:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] mod_python-3.5.0.1/src/serverobject.c:203:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] mod_python-3.5.0.1/src/tableobject.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpTable_Type [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:147:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:186:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:272:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:377:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:410:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:449:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:561:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:600:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:773:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:863:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:884:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_KeyError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:915:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:978:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:1000:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:1165:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:1277:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/tableobject.c:1317:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/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.1/src/tableobject.c:623:20: note: Assuming that condition 'svalue==NULL' is not redundant mod_python-3.5.0.1/src/tableobject.c:624:23: note: Null pointer dereference mod_python-3.5.0.1/src/tableobject.c:624:23: error: Null pointer dereference [nullPointer] mod_python-3.5.0.1/src/tableobject.c:130:24: style: Variable 'elts' can be declared as pointer to const [constVariablePointer] mod_python-3.5.0.1/src/tableobject.c:171:24: style: Variable 'elts' can be declared as pointer to const [constVariablePointer] mod_python-3.5.0.1/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.1/src/tableobject.c:1229:5: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/tableobject.c:1133:42: note: Parameter 'type' can be declared as pointer to const mod_python-3.5.0.1/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.1/src/tableobject.c:1229:5: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/tableobject.c:1133:58: note: Parameter 'args' can be declared as pointer to const mod_python-3.5.0.1/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.1/src/tableobject.c:1229:5: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/tableobject.c:1133:74: note: Parameter 'kwds' can be declared as pointer to const mod_python-3.5.0.1/src/tableobject.c:36:9: style: struct member 'apr_table_t::index_first' is never used. [unusedStructMember] mod_python-3.5.0.1/src/tableobject.c:37:9: style: struct member 'apr_table_t::index_last' is never used. [unusedStructMember] mod_python-3.5.0.1/src/tableobject.c:808:9: style: Unused variable: len [unusedVariable] mod_python-3.5.0.1/src/tableobject.c:891:9: style: Variable 'elts' is assigned a value that is never used. [unreadVariable] mod_python-3.5.0.1/src/tableobject.c:1101:9: style: Unused variable: rc [unusedVariable] mod_python-3.5.0.1/src/util.c:92:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_NOFILE [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/util.c:199:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/util.c:286:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ap_loaded_modules [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/util.c:430:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_SUCCESS [valueFlowBailoutIncompleteVar] mod_python-3.5.0.1/src/util.c:283:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mod_python-3.5.0.1/src/util.c:335:21: style: Variable 'ei' can be declared as pointer to const [constVariablePointer] diff: 2.18.0 mod_python-3.5.0.1/src/connobject.c:110:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_BLOCK_READ [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/connobject.c:206:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AP_MODE_EXHAUSTIVE [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/connobject.c:224:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AP_MODE_GETLINE [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/connobject.c:232:42: style: Parameter 'self' can be declared as pointer to const. However it seems that 'conn_write' 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.1/src/connobject.c:265:33: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/connobject.c:232:42: note: Parameter 'self' can be declared as pointer to const 2.18.0 mod_python-3.5.0.1/src/connobject.c:238:15: style: Unused variable: s [unusedVariable] 2.18.0 mod_python-3.5.0.1/src/connobject.c:257:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/connobject.c:327:15: style: Unused variable: res [unusedVariable] 2.18.0 mod_python-3.5.0.1/src/connobject.c:343:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/connobject.c:426:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/connobject.c:44:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpConn_Type [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/connobject.c:73:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APLOG_ERR [valueFlowBailoutIncompleteVar] head mod_python-3.5.0.1/src/connobject.c:76:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] head mod_python-3.5.0.1/src/connobject.c:76:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:1062:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AP_REG_EXTENDED [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:1153:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_HASH_KEY_STRING [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:1220:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:1272:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:1332:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_FNM_PATHNAME [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:1373:66: style: Parameter 'hle' can be declared as pointer to const [constParameterPointer] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:1374:51: style: Parameter 'fh' can be declared as pointer to const [constParameterPointer] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:1469:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:1681:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:171:75: style: Parameter 'tstate' can be declared as pointer to const [constParameterPointer] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:1722:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:175:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interpreterdata [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:1822:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_filter_ctx [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2109:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAG_PRINTING [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2241:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2265:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2283:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2301:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2320:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2339:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:236:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAIN_INTERPRETER [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2370:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2396:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2424:56: style: Parameter 'cmd' can be declared as pointer to const. However it seems that 'directive_PythonOptimize' is a callback function, if 'cmd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mod_python-3.5.0.1/src/mod_python.c:2957:27: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/mod_python.c:2424:56: note: Parameter 'cmd' can be declared as pointer to const 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2424:67: style: Parameter 'mconfig' can be declared as pointer to const. However it seems that 'directive_PythonOptimize' is a callback function, if 'mconfig' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mod_python-3.5.0.1/src/mod_python.c:2957:27: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/mod_python.c:2424:67: note: Parameter 'mconfig' can be declared as pointer to const 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2426:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_OptimizeFlag [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2438:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2442:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2446:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2450:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2455:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2460:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2464:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2468:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2472:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2490:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2523:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2531:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2535:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2539:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTSILENT [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2565:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable py_handler [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2600:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable py_handler [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2620:22: style: Variable 'idata' can be declared as pointer to const [constVariablePointer] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2629:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2645:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2653:22: style: Variable 'idata' can be declared as pointer to const [constVariablePointer] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2722:34: style: Local variable 'idata' shadows outer variable [shadowVariable] mod_python-3.5.0.1/src/mod_python.c:2653:22: note: Shadowed declaration mod_python-3.5.0.1/src/mod_python.c:2722:34: note: Shadow variable 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2783:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECLINED [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2793:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2807:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2816:16: style: Variable 'conf' can be declared as pointer to const [constVariablePointer] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:2817:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:302:50: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:342:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:421:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:517:37: style: Condition '!fname' is always false [knownConditionTrueFalse] head mod_python-3.5.0.1/src/mod_python.c:546:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] head mod_python-3.5.0.1/src/mod_python.c:546:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:572:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:593:27: style: Condition '!fname' is always false [knownConditionTrueFalse] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:614:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MP_CONFIG_KEY [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:639:22: style: Variable 'idata' can be declared as pointer to const [constVariablePointer] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:713:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PY_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:747:31: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:755:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:847:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable py_config [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:905:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_OVERLAP_TABLES_SET [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:919:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable py_config [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/mod_python.c:93:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:101:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1029:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1050:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APLOG_ERR [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1098:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQUEST_CHUNKED_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1195:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQUEST_CHUNKED_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1365:16: style: Condition 'result==NULL' is always false [knownConditionTrueFalse] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1404:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cleanup_info [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1405:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.1/src/requestobject.c:1404:32: note: Assuming allocation function fails mod_python-3.5.0.1/src/requestobject.c:1404:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.1/src/requestobject.c:1405:5: note: Null pointer dereference 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1406:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.1/src/requestobject.c:1404:32: note: Assuming allocation function fails mod_python-3.5.0.1/src/requestobject.c:1404:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.1/src/requestobject.c:1406:5: note: Null pointer dereference 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1414:13: error: Memory leak: ci [memleak] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1418:13: error: Memory leak: ci [memleak] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:141:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] head mod_python-3.5.0.1/src/requestobject.c:1447:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] head mod_python-3.5.0.1/src/requestobject.c:1447:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1501:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1520:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1534:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1548:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1567:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1595:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:159:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1621:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1648:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_FINFO_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1853:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable apr_off_t [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:1970:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:2073:18: style: Variable 'md' can be declared as pointer to const [constVariablePointer] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:2087:18: style: Variable 'md' can be declared as pointer to const [constVariablePointer] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:2089:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable apr_off_t [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:2167:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:2202:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:221:18: style: Variable 'e' can be declared as pointer to const [constVariablePointer] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:221:20: style: Variable 'e' is assigned a value that is never used. [unreadVariable] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:224:12: style: Unused variable: j [unusedVariable] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:224:9: style: Unused variable: i [unusedVariable] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:238:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:310:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:439:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_FILEPATH_TRUENAME [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:516:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:51:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable requestobject [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:550:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:586:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:644:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:702:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:752:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optfn_is_https [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:774:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optfn_ssl_var_lookup [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:812:56: style: Parameter 'self' can be declared as pointer to const. However it seems that 'req_get_basic_auth_pw' 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.1/src/requestobject.c:1702:45: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/requestobject.c:812:56: note: Parameter 'self' can be declared as pointer to const 2.18.0 mod_python-3.5.0.1/src/requestobject.c:829:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:845:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:862:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:929:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:949:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REMOTE_NAME [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/requestobject.c:989:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:101:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APLOG_ERR [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:118:56: style: Parameter 'self' can be declared as pointer to const. However it seems that 'server_register_cleanup' 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.1/src/serverobject.c:180:44: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/serverobject.c:118:56: note: Parameter 'self' can be declared as pointer to const 2.18.0 mod_python-3.5.0.1/src/serverobject.c:133:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:144:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.1/src/serverobject.c:143:32: note: Assuming allocation function fails mod_python-3.5.0.1/src/serverobject.c:143:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.1/src/serverobject.c:144:5: note: Null pointer dereference 2.18.0 mod_python-3.5.0.1/src/serverobject.c:145:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.1/src/serverobject.c:143:32: note: Assuming allocation function fails mod_python-3.5.0.1/src/serverobject.c:143:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.1/src/serverobject.c:145:5: note: Null pointer dereference 2.18.0 mod_python-3.5.0.1/src/serverobject.c:147:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] mod_python-3.5.0.1/src/serverobject.c:143:32: note: Assuming allocation function fails mod_python-3.5.0.1/src/serverobject.c:143:10: note: Assignment 'ci=(cleanup_info*)malloc(sizeof(cleanup_info))', assigned value is 0 mod_python-3.5.0.1/src/serverobject.c:147:5: note: Null pointer dereference 2.18.0 mod_python-3.5.0.1/src/serverobject.c:152:9: error: Memory leak: ci [memleak] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:156:9: error: Memory leak: ci [memleak] head mod_python-3.5.0.1/src/serverobject.c:203:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] head mod_python-3.5.0.1/src/serverobject.c:203:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AP_MODULE_MAGIC_AT_LEAST( ... ) [preprocessorErrorDirective] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:251:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:267:18: style: Variable 'md' can be declared as pointer to const [constVariablePointer] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:296:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:306:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:312:46: style: Parameter 'self' can be declared as pointer to const. However it seems that 'my_generation' 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.1/src/serverobject.c:352:34: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/serverobject.c:312:46: note: Parameter 'self' can be declared as pointer to const 2.18.0 mod_python-3.5.0.1/src/serverobject.c:312:58: style: Parameter 'objname' can be declared as pointer to const. However it seems that 'my_generation' is a callback function, if 'objname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mod_python-3.5.0.1/src/serverobject.c:352:34: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/serverobject.c:312:58: note: Parameter 'objname' can be declared as pointer to const 2.18.0 mod_python-3.5.0.1/src/serverobject.c:318:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ap_my_generation [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:323:45: style: Parameter 'self' can be declared as pointer to const. However it seems that 'restart_time' 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.1/src/serverobject.c:353:33: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/serverobject.c:323:45: note: Parameter 'self' can be declared as pointer to const 2.18.0 mod_python-3.5.0.1/src/serverobject.c:323:57: style: Parameter 'objname' can be declared as pointer to const. However it seems that 'restart_time' is a callback function, if 'objname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mod_python-3.5.0.1/src/serverobject.c:353:33: note: You might need to cast the function pointer here mod_python-3.5.0.1/src/serverobject.c:323:57: note: Parameter 'objname' can be declared as pointer to const 2.18.0 mod_python-3.5.0.1/src/serverobject.c:325:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable restart_time [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:40:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MpServer_Type [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:65:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] 2.18.0 mod_python-3.5.0.1/src/serverobject.c:80:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable python_module [valueFlowBailoutIncompleteVar] DONE