2024-04-17 09:31 ftp://ftp.de.debian.org/debian/pool/main/i/icinga/icinga_1.14.2+ds.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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 8b518bf (2024-04-17 07:27:46 +0200) count: 1795 TO! elapsed-time: 1171.7 1800.1 head-timing-info: old-timing-info: head results: icinga-core-1.14.2/base/checks.c:218:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/checks.c:822:218: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/checks.c:3341:147: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/checks.c:4549:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/checks.c:4554:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/checks.c:3522:86: style: Condition 'queued_check_result==NULL' is always false [knownConditionTrueFalse] icinga-core-1.14.2/base/checks.c:495:20: style: Variable 'pclose_result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/checks.c:3160:20: style: Variable 'pclose_result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/checks.c:3696:19: style: Variable 'start_time_hires' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/checks.c:4476:20: style: Variable 'found_newline' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/checks.c:4486:17: style: Variable 'y' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/commands.c:3090:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/commands.c:5540:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/commands.c:5570:4: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] icinga-core-1.14.2/base/commands.c:5571:4: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] icinga-core-1.14.2/base/commands.c:5548:10: warning: Either the condition 'checkresult_file_fp' is redundant or there is possible null pointer dereference: checkresult_file_fp. [nullPointerRedundantCheck] icinga-core-1.14.2/base/commands.c:5559:7: note: Assuming that condition 'checkresult_file_fp' is not redundant icinga-core-1.14.2/base/commands.c:5548:10: note: Null pointer dereference icinga-core-1.14.2/base/commands.c:5549:10: warning: Either the condition 'checkresult_file_fp' is redundant or there is possible null pointer dereference: checkresult_file_fp. [nullPointerRedundantCheck] icinga-core-1.14.2/base/commands.c:5559:7: note: Assuming that condition 'checkresult_file_fp' is not redundant icinga-core-1.14.2/base/commands.c:5549:10: note: Null pointer dereference icinga-core-1.14.2/base/commands.c:5550:10: warning: Either the condition 'checkresult_file_fp' is redundant or there is possible null pointer dereference: checkresult_file_fp. [nullPointerRedundantCheck] icinga-core-1.14.2/base/commands.c:5559:7: note: Assuming that condition 'checkresult_file_fp' is not redundant icinga-core-1.14.2/base/commands.c:5550:10: note: Null pointer dereference icinga-core-1.14.2/base/commands.c:5551:10: warning: Either the condition 'checkresult_file_fp' is redundant or there is possible null pointer dereference: checkresult_file_fp. [nullPointerRedundantCheck] icinga-core-1.14.2/base/commands.c:5559:7: note: Assuming that condition 'checkresult_file_fp' is not redundant icinga-core-1.14.2/base/commands.c:5551:10: note: Null pointer dereference icinga-core-1.14.2/base/commands.c:244:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:1256:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:1520:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:1646:8: style: Variable 'last_host' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:1943:39: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/commands.c:2002:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2054:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2112:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2150:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2169:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2216:117: style: Parameter 'output' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/commands.c:2219:11: style: Variable 'temp_service' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2321:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2357:91: style: Parameter 'output' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/commands.c:2360:8: style: Variable 'real_host_name' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2464:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2606:8: style: Variable 'last_host' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2615:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2811:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2882:8: style: Variable 'host_name' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:2999:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:3308:8: style: Variable 'charval' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:3659:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:3784:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:3956:8: style: Variable 'exp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:3958:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/commands.c:246:15: style: Variable 'position' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/commands.c:1902:21: style: Variable 'temp_service' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/commands.c:1909:17: style: Variable 'temp_host' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/commands.c:1980:21: style: Variable 'temp_service' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/commands.c:1987:17: style: Variable 'temp_host' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/config.c:1847:116: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/config.c:1373:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/config.c:1374:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/config.c:291:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/config.c:296:8: style: Variable 'modptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/config.c:297:8: style: Variable 'argptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/config.c:1626:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/config.c:1628:19: style: Variable 'current_line' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/config.c:1722:26: style: Variable 'temp_command_name' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/config.c:1943:26: style: Variable 'temp_command_name' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/config.c:2964:8: style: Variable 'found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/events.c:601:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/events.c:641:10: warning: Possible null pointer dereference: event [nullPointer] icinga-core-1.14.2/base/events.c:742:23: note: Assignment 'event=NULL', assigned value is 0 icinga-core-1.14.2/base/events.c:775:22: note: Calling function 'display_event_data', 1st argument 'event' value is 0 icinga-core-1.14.2/base/events.c:641:10: note: Null pointer dereference icinga-core-1.14.2/base/events.c:636:11: style: Variable 'temp_service' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/events.c:637:8: style: Variable 'temp_host' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/events.c:961:182: style: Parameter 'event_data' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/events.c:1150:16: style: Variable 'run_event' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/events.c:1164:25: style: Variable 'sleep_event.event_type' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/events.c:1165:23: style: Variable 'sleep_event.run_time' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/events.c:1166:24: style: Variable 'sleep_event.recurring' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/events.c:1167:29: style: Variable 'sleep_event.event_interval' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/events.c:1168:41: style: Variable 'sleep_event.compensate_for_time_change' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/events.c:1172:28: style: Variable 'sleep_event.event_options' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/events.c:1420:18: style: Variable 'delay.tv_nsec' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/icinga.c:334:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/icinga.c:675:11: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/base/icinga.c:672:11: note: result is assigned icinga-core-1.14.2/base/icinga.c:675:11: note: result is overwritten icinga-core-1.14.2/base/icinga.c:295:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/icinga.c:294:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/icingastats.c:229:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_CONFIG_FILE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/icingastats.c:455:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:877:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:878:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1193:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1194:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1219:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1221:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1223:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1226:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1228:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1230:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1233:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1235:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1237:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1240:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1242:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1244:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1247:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1249:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1251:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1254:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1256:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1258:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1261:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1263:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1265:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1268:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1270:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1272:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1275:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1277:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1279:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1282:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1284:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1286:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1289:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1291:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1293:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1380:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1381:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1403:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1405:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1407:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1410:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1412:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1414:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1417:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1419:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1421:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1424:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1426:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1428:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1431:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1433:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1435:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1438:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1440:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1442:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1445:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1447:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1449:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1452:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1454:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1456:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1459:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1461:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1463:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1466:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1468:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1470:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1473:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1475:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1477:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1504:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1506:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1508:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1511:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1513:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1515:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1518:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1520:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1522:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1525:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1527:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1529:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1532:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1534:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1536:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1538:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1541:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1543:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1545:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1548:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1550:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1552:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1555:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1557:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1559:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1561:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1591:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1593:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1595:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1598:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1600:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1602:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1605:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1607:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1609:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1612:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1614:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1616:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1619:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1621:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1623:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1625:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1628:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1630:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1632:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1635:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1637:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1639:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1642:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1644:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1646:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1648:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/icingastats.c:1681:100: style: Condition 'buffer[x]==13' is always false [knownConditionTrueFalse] icinga-core-1.14.2/base/icingastats.c:1690:100: style: Condition 'buffer[x]==13' is always false [knownConditionTrueFalse] icinga-core-1.14.2/base/icingastats.c:441:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/icingastats.c:860:8: style: Variable 'var' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/icingastats.c:861:8: style: Variable 'val' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/icingastats.c:900:8: style: Variable 'var' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/icingastats.c:902:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/icingastats.c:1360:8: style: Variable 'var' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/icingastats.c:1362:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/logging.c:120:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/logging.c:227:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/logging.c:364:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_LOCAL0 [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/logging.c:652:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/logging.c:126:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] icinga-core-1.14.2/base/logging.c:241:3: error: Resource handle 'fh' freed twice. [doubleFree] icinga-core-1.14.2/base/logging.c:232:11: note: Resource handle 'fh' freed twice. icinga-core-1.14.2/base/logging.c:241:3: note: Resource handle 'fh' freed twice. icinga-core-1.14.2/base/logging.c:248:3: error: Resource handle 'fh' freed twice. [doubleFree] icinga-core-1.14.2/base/logging.c:232:11: note: Resource handle 'fh' freed twice. icinga-core-1.14.2/base/logging.c:248:3: note: Resource handle 'fh' freed twice. icinga-core-1.14.2/base/logging.c:660:3: error: Resource handle 'fh' freed twice. [doubleFree] icinga-core-1.14.2/base/logging.c:655:23: note: Resource handle 'fh' freed twice. icinga-core-1.14.2/base/logging.c:660:3: note: Resource handle 'fh' freed twice. icinga-core-1.14.2/base/logging.c:665:3: error: Resource handle 'fh' freed twice. [doubleFree] icinga-core-1.14.2/base/logging.c:655:23: note: Resource handle 'fh' freed twice. icinga-core-1.14.2/base/logging.c:665:3: note: Resource handle 'fh' freed twice. icinga-core-1.14.2/base/logging.c:138:29: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/logging.c:296:83: style: Parameter 'timestamp' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/logging.c:558:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/notifications.c:857:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/notifications.c:1975:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/notifications.c:431:16: style: Condition 'temp_host==NULL' is always false [knownConditionTrueFalse] icinga-core-1.14.2/base/notifications.c:1097:96: warning: Either the condition 'svc==NULL' is redundant or there is possible null pointer dereference: svc. [nullPointerRedundantCheck] icinga-core-1.14.2/base/notifications.c:1085:12: note: Assuming that condition 'svc==NULL' is not redundant icinga-core-1.14.2/base/notifications.c:1097:96: note: Null pointer dereference icinga-core-1.14.2/base/notifications.c:1115:90: warning: Either the condition 'hst==NULL' is redundant or there is possible null pointer dereference: hst. [nullPointerRedundantCheck] icinga-core-1.14.2/base/notifications.c:1105:12: note: Assuming that condition 'hst==NULL' is not redundant icinga-core-1.14.2/base/notifications.c:1115:90: note: Null pointer dereference icinga-core-1.14.2/base/notifications.c:681:75: style: Parameter 'svc' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/notifications.c:792:76: style: Parameter 'svc' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/notifications.c:795:8: style: Variable 'command_name_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/notifications.c:950:59: style: Parameter 'svc' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/notifications.c:959:11: style: Variable 'temp_service' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/notifications.c:1807:69: style: Parameter 'hst' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/notifications.c:1908:70: style: Parameter 'hst' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/notifications.c:1911:8: style: Variable 'command_name_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/notifications.c:2068:53: style: Parameter 'hst' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/notifications.c:2077:8: style: Variable 'temp_host' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/notifications.c:2442:43: style: Parameter 'cntct' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/notifications.c:2464:16: style: Variable 'temp_notification' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/notifications.c:87:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/notifications.c:91:6: style: Unused variable: neb_result [unusedVariable] icinga-core-1.14.2/base/notifications.c:805:6: style: Unused variable: neb_result [unusedVariable] icinga-core-1.14.2/base/notifications.c:1291:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/notifications.c:1295:6: style: Unused variable: neb_result [unusedVariable] icinga-core-1.14.2/base/notifications.c:1923:6: style: Unused variable: neb_result [unusedVariable] icinga-core-1.14.2/base/notifications.c:2474:25: style: Variable 'temp_notification' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/perfdata.c:51:39: style: Parameter 'config_file' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/perfdata.c:63:36: style: Parameter 'config_file' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/perfdata.c:80:46: style: Parameter 'svc' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/perfdata.c:101:40: style: Parameter 'hst' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/sehandlers.c:330:9: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/sehandlers.c:428:9: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/sehandlers.c:574:9: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/sehandlers.c:671:9: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/sretention.c:58:37: style: Parameter 'config_file' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/sretention.c:72:34: style: Parameter 'config_file' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:318:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:338:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:536:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:2334:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:2354:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:2514:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWGRP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:2754:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:3229:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWOTH [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:3425:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXDEV [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:3462:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:3551:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:3795:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:3883:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:4477:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_LOG_FILE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/base/utils.c:483:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] icinga-core-1.14.2/base/utils.c:2642:26: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] icinga-core-1.14.2/base/utils.c:2660:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] icinga-core-1.14.2/base/utils.c:2830:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] icinga-core-1.14.2/base/utils.c:2998:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/utils.c:3000:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/utils.c:3005:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/utils.c:3007:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/base/utils.c:1627:29: style: Condition 'day_range_end>=preferred_time' is always true [knownConditionTrueFalse] icinga-core-1.14.2/base/utils.c:1620:24: note: Assuming that condition 'day_range_end=preferred_time' is always true icinga-core-1.14.2/base/utils.c:3352:28: style: Condition 'illegal_object_chars!=NULL' is always true [knownConditionTrueFalse] icinga-core-1.14.2/base/utils.c:2550:3: error: Resource leak: lockfile [resourceLeak] icinga-core-1.14.2/base/utils.c:2613:2: error: Resource leak: lockfile [resourceLeak] icinga-core-1.14.2/base/utils.c:622:12: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/base/utils.c:621:13: note: result is assigned icinga-core-1.14.2/base/utils.c:622:12: note: result is overwritten icinga-core-1.14.2/base/utils.c:2182:12: style: Variable 'midnight' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/base/utils.c:2171:13: note: midnight is assigned icinga-core-1.14.2/base/utils.c:2182:12: note: midnight is overwritten icinga-core-1.14.2/base/utils.c:2229:12: style: Variable 'midnight' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/base/utils.c:2210:11: note: midnight is assigned icinga-core-1.14.2/base/utils.c:2229:12: note: midnight is overwritten icinga-core-1.14.2/base/utils.c:2263:12: style: Variable 'midnight' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/base/utils.c:2250:13: note: midnight is assigned icinga-core-1.14.2/base/utils.c:2263:12: note: midnight is overwritten icinga-core-1.14.2/base/utils.c:4581:32: style: Variable 'accept_passive_service_checks' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/base/utils.c:4579:32: note: accept_passive_service_checks is assigned icinga-core-1.14.2/base/utils.c:4581:32: note: accept_passive_service_checks is overwritten icinga-core-1.14.2/base/utils.c:766:72: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:859:31: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:859:43: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:899:26: style: Parameter 'time' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:901:13: style: Variable 'bt' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/utils.c:1292:113: style: Parameter 'tperiod' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:1697:113: style: Parameter 'tperiod' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:2104:40: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:2501:8: style: Variable 'homedir' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/utils.c:2626:16: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/utils.c:2627:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/utils.c:2783:17: style: Variable 'dirfile' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/utils.c:2892:8: style: Variable 'var' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/utils.c:2894:8: style: Variable 'v1' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/utils.c:2894:20: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/utils.c:3058:36: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:3313:8: style: Variable 'nl' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/utils.c:3340:41: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:3363:29: style: Parameter 'rawbuf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:3398:27: style: Parameter 'val1a' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:3398:40: style: Parameter 'val2a' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:3598:33: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:3713:35: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:4000:35: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:4041:39: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:4041:52: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/base/utils.c:383:17: style: Variable 'bytes_read' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:769:17: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:770:17: style: Variable 'y' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:771:25: style: Variable 'arg_index' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:2128:10: style: Variable 'day' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:2784:17: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:3217:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:3235:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:3342:17: style: Variable 'y' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:3602:30: style: Variable 'memory_needed' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:3812:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:3829:11: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:4076:8: style: Variable 'y' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:4097:18: style: Variable 'this_bucket' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:4098:8: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:4178:8: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:4180:18: style: Variable 'this_bucket' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:4181:18: style: Variable 'last_bucket' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:4182:24: style: Variable 'this_bucket_value' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:4183:24: style: Variable 'last_bucket_value' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/base/utils.c:4184:19: style: Variable 'bucket_value' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/avail.c:301:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_ALL_STATUS_DATA [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/avail.c:1673:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_DOWN [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/avail.c:2388:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/avail.c:2402:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_OK [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/avail.c:2773:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] icinga-core-1.14.2/cgi/avail.c:593:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/avail.c:1177:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/avail.c:1184:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/avail.c:1976:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/avail.c:3026:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/avail.c:3038:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/avail.c:6203:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/avail.c:1861:15: style: Condition 'b>t1' is always true [knownConditionTrueFalse] icinga-core-1.14.2/cgi/avail.c:1842:27: note: Assuming that condition 'temp_as->time_stamp<=t1' is not redundant icinga-core-1.14.2/cgi/avail.c:1854:6: note: b is assigned 'temp_as->time_stamp' here. icinga-core-1.14.2/cgi/avail.c:1861:15: note: Condition 'b>t1' is always true icinga-core-1.14.2/cgi/avail.c:2191:19: style: Condition 'start_time>=t2' is always true [knownConditionTrueFalse] icinga-core-1.14.2/cgi/avail.c:2162:27: note: Assuming that condition 'temp_sd->time_stamp>=t2' is not redundant icinga-core-1.14.2/cgi/avail.c:2185:15: note: start_time is assigned 'temp_sd->time_stamp' here. icinga-core-1.14.2/cgi/avail.c:2189:17: note: Assuming condition is false icinga-core-1.14.2/cgi/avail.c:2191:19: note: Condition 'start_time>=t2' is always true icinga-core-1.14.2/cgi/avail.c:4187:153: warning: Either the condition 'temp_host!=NULL' is redundant or there is possible null pointer dereference: temp_host. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/avail.c:4187:56: note: Assuming that condition 'temp_host!=NULL' is not redundant icinga-core-1.14.2/cgi/avail.c:4187:153: note: Null pointer dereference icinga-core-1.14.2/cgi/avail.c:5535:153: warning: Either the condition 'temp_host!=NULL' is redundant or there is possible null pointer dereference: temp_host. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/avail.c:5535:56: note: Assuming that condition 'temp_host!=NULL' is not redundant icinga-core-1.14.2/cgi/avail.c:5535:153: note: Null pointer dereference icinga-core-1.14.2/cgi/avail.c:5873:154: warning: Either the condition 'temp_host!=NULL' is redundant or there is possible null pointer dereference: temp_host. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/avail.c:5873:57: note: Assuming that condition 'temp_host!=NULL' is not redundant icinga-core-1.14.2/cgi/avail.c:5873:154: note: Null pointer dereference icinga-core-1.14.2/cgi/avail.c:2826:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/avail.c:2825:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/avail.c:2826:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/avail.c:2846:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/avail.c:2845:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/avail.c:2846:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/avail.c:2847:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/avail.c:2846:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/avail.c:2847:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/avail.c:2868:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/avail.c:2867:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/avail.c:2868:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/avail.c:2904:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/avail.c:2903:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/avail.c:2904:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/avail.c:2929:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/avail.c:2928:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/avail.c:2929:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/avail.c:2930:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/avail.c:2929:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/avail.c:2930:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/avail.c:2953:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/avail.c:2952:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/avail.c:2953:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/avail.c:2984:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/avail.c:2983:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/avail.c:2984:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/avail.c:268:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:1107:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:1108:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:1640:14: style: Variable 'hststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:1641:17: style: Variable 'svcstatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:2219:18: style: Variable 'temp_before' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:2220:18: style: Variable 'last' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:2424:8: style: Variable 'last_host_name' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:2604:45: style: Parameter 'hn' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/avail.c:2604:55: style: Parameter 'sd' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/avail.c:2642:82: style: Parameter 'state_info' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/avail.c:2785:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:3061:8: style: Variable 'bgclass' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:3062:8: style: Variable 'ebgclass' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:3064:8: style: Variable 'state_type' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:3369:8: style: Variable 'bgclass' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:4500:8: style: Variable 'bgclass' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:5366:8: style: Variable 'bgclass' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/avail.c:6129:38: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/avail.c:6153:51: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/avail.c:3629:7: style: Variable 'odd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/avail.c:3632:7: style: Variable 'odd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/avail.c:4379:7: style: Variable 'odd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/avail.c:4382:7: style: Variable 'odd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/avail.c:4865:9: style: Variable 'odd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/avail.c:4868:9: style: Variable 'odd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/avail.c:5255:9: style: Variable 'odd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/avail.c:5258:9: style: Variable 'odd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/avail.c:6084:9: style: Variable 'odd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/avail.c:6087:9: style: Variable 'odd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/avail.c:6232:15: style: Variable 'temp_start' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/cgiauth.c:177:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:178:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:179:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:180:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:181:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:182:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:183:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:184:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:185:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:186:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:187:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:190:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:191:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:192:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:193:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:194:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:195:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:196:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:197:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:198:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:199:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:200:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiauth.c:281:43: style: Parameter 'authinfo' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiauth.c:295:52: style: Parameter 'authinfo' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiauth.c:309:53: style: Parameter 'authinfo' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiauth.c:371:43: style: Parameter 'authinfo' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiauth.c:386:46: style: Parameter 'authinfo' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiauth.c:401:52: style: Parameter 'authinfo' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiauth.c:416:59: style: Parameter 'authinfo' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiauth.c:431:57: style: Parameter 'authinfo' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiauth.c:446:49: style: Parameter 'authinfo' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiauth.c:71:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/cgiutils.c:319:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_LOG_ARCHIVE_PATH [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cgiutils.c:397:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_CGI_CONFIG_FILE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cgiutils.c:842:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_URL_CGIBIN_PATH [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cgiutils.c:1007:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_PROGRAM_STATUS [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cgiutils.c:1255:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_PROGRAM_STATUS [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cgiutils.c:1834:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tzname [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cgiutils.c:2146:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_PROGRAM_STATUS [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cgiutils.c:2489:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cgiutils.c:3074:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cgiutils.c:3109:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cgiutils.c:3130:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cgiutils.c:2277:3: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/cgiutils.c:2894:3: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/cgiutils.c:2905:3: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/cgiutils.c:3719:3: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/cgiutils.c:3836:3: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/cgiutils.c:289:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:290:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:442:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:443:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:903:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:904:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:911:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:912:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:917:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:918:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:923:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:924:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:931:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:932:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:941:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:942:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:956:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:957:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:964:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:965:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:970:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:971:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:1266:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/cgiutils.c:1808:12: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] icinga-core-1.14.2/cgi/cgiutils.c:1810:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/cgiutils.c:1815:12: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] icinga-core-1.14.2/cgi/cgiutils.c:2288:6: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/cgiutils.c:2461:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cgiutils.c:2944:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] icinga-core-1.14.2/cgi/cgiutils.c:2985:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/cgiutils.c:3203:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/cgiutils.c:3220:6: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/cgiutils.c:3315:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/cgiutils.c:2172:165: warning: Either the condition 'status_file_icinga_version!=NULL' is redundant or there is possible null pointer dereference: status_file_icinga_version. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/cgiutils.c:2224:123: note: Assuming that condition 'status_file_icinga_version!=NULL' is not redundant icinga-core-1.14.2/cgi/cgiutils.c:2172:165: note: Null pointer dereference icinga-core-1.14.2/cgi/cgiutils.c:3489:13: warning: Either the condition '(escaped_output_string=(char*)malloc(output_len+1))!=NULL' is redundant or there is possible null pointer dereference: escaped_output_string. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/cgiutils.c:3454:66: note: Assuming that condition '(escaped_output_string=(char*)malloc(output_len+1))!=NULL' is not redundant icinga-core-1.14.2/cgi/cgiutils.c:3489:13: note: Null pointer dereference icinga-core-1.14.2/cgi/cgiutils.c:3489:13: error: Null pointer dereference [nullPointer] icinga-core-1.14.2/cgi/cgiutils.c:904:16: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/cgiutils.c:903:16: note: temp_buffer is assigned icinga-core-1.14.2/cgi/cgiutils.c:904:16: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/cgiutils.c:912:16: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/cgiutils.c:911:16: note: temp_buffer is assigned icinga-core-1.14.2/cgi/cgiutils.c:912:16: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/cgiutils.c:918:16: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/cgiutils.c:917:16: note: temp_buffer is assigned icinga-core-1.14.2/cgi/cgiutils.c:918:16: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/cgiutils.c:924:16: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/cgiutils.c:923:16: note: temp_buffer is assigned icinga-core-1.14.2/cgi/cgiutils.c:924:16: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/cgiutils.c:932:16: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/cgiutils.c:931:16: note: temp_buffer is assigned icinga-core-1.14.2/cgi/cgiutils.c:932:16: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/cgiutils.c:942:16: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/cgiutils.c:941:16: note: temp_buffer is assigned icinga-core-1.14.2/cgi/cgiutils.c:942:16: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/cgiutils.c:957:16: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/cgiutils.c:956:16: note: temp_buffer is assigned icinga-core-1.14.2/cgi/cgiutils.c:957:16: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/cgiutils.c:965:16: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/cgiutils.c:964:16: note: temp_buffer is assigned icinga-core-1.14.2/cgi/cgiutils.c:965:16: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/cgiutils.c:971:16: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/cgiutils.c:970:16: note: temp_buffer is assigned icinga-core-1.14.2/cgi/cgiutils.c:971:16: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/cgiutils.c:276:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:422:8: style: Variable 'var' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:423:8: style: Variable 'val' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:878:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:1038:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:1119:60: style: Parameter 'cgi_title' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:1123:8: style: Variable 'cgi_css' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:1124:8: style: Variable 'cgi_body_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:1125:8: style: Variable 'timezone' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:1574:8: style: Variable 'border_color' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:1575:8: style: Variable 'background_color' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:1693:29: style: Parameter 'rawbuf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:1789:30: style: Parameter 'raw_time' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:1798:8: style: Variable 'weekdays' can be declared as const array [constVariable] icinga-core-1.14.2/cgi/cgiutils.c:1799:8: style: Variable 'months' can be declared as const array [constVariable] icinga-core-1.14.2/cgi/cgiutils.c:1800:8: style: Variable 'tzone' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:1894:25: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:1960:26: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2076:28: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2137:31: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2358:56: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2361:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:2403:59: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2406:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:2448:30: style: Parameter 'cgi_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2452:8: style: Variable 'stripped_cgi_name' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:2479:29: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2540:34: style: Parameter 'config_file' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2582:35: style: Parameter 'config_file' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2783:39: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2829:40: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2829:53: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2877:48: style: Parameter 'cgi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2877:59: style: Parameter 'add_to_url' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:3123:21: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:3123:35: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:3202:26: style: Parameter 'time' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:3203:13: style: Variable 'bt' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:3332:26: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:3372:25: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:3412:8: style: Variable 'comment_entry_type' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cgiutils.c:3541:56: style: Parameter 'cgi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cgiutils.c:2499:15: style: Variable 'call_return' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/cmd.c:348:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_ALL_STATUS_DATA [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/cmd.c:683:4: warning:inconclusive: The buffer 'plugin_output' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/cmd.c:691:4: warning:inconclusive: The buffer 'performance_data' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/cmd.c:560:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cmd.c:569:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/cmd.c:2140:21: style: Condition 'multi_ids[x]==0' is always false [knownConditionTrueFalse] icinga-core-1.14.2/cgi/cmd.c:2136:21: note: Assuming that condition 'multi_ids[x]==0' is not redundant icinga-core-1.14.2/cgi/cmd.c:2140:21: note: Condition 'multi_ids[x]==0' is always false icinga-core-1.14.2/cgi/cmd.c:2187:21: style: Condition 'multi_ids[x]==0' is always false [knownConditionTrueFalse] icinga-core-1.14.2/cgi/cmd.c:2183:21: note: Assuming that condition 'multi_ids[x]==0' is not redundant icinga-core-1.14.2/cgi/cmd.c:2187:21: note: Condition 'multi_ids[x]==0' is always false icinga-core-1.14.2/cgi/cmd.c:2060:3: error: Memory leak: referer_check [memleak] icinga-core-1.14.2/cgi/cmd.c:602:30: warning: Either the condition 'value==NULL' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/cmd.c:605:14: note: Assuming that condition 'value==NULL' is not redundant icinga-core-1.14.2/cgi/cmd.c:602:30: note: Null pointer dereference icinga-core-1.14.2/cgi/cmd.c:613:27: warning: Either the condition 'value==NULL' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/cmd.c:616:14: note: Assuming that condition 'value==NULL' is not redundant icinga-core-1.14.2/cgi/cmd.c:613:27: note: Null pointer dereference icinga-core-1.14.2/cgi/cmd.c:1162:7: style: Local variable 'start_time' shadows outer variable [shadowVariable] icinga-core-1.14.2/cgi/cmd.c:172:8: note: Shadowed declaration icinga-core-1.14.2/cgi/cmd.c:1162:7: note: Shadow variable icinga-core-1.14.2/cgi/cmd.c:420:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cmd.c:421:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cmd.c:777:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cmd.c:778:17: style: Variable 'temp_servicestatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cmd.c:907:27: style: Parameter 'content' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/cmd.c:3195:8: style: Variable 'ip_address' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/cmd.c:2672:10: style: Variable 'command' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/config.c:364:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/config.c:4303:18: warning: Either the condition 'i<=32' is redundant or the array 'arg_count[32]' is accessed at index 32, which is out of bounds. [arrayIndexOutOfBoundsCond] icinga-core-1.14.2/cgi/config.c:4302:26: note: Assuming that condition 'i<=32' is not redundant icinga-core-1.14.2/cgi/config.c:4303:18: note: Array index out of bounds icinga-core-1.14.2/cgi/config.c:4304:25: warning: Either the condition 'i<=32' is redundant or the array 'command_args[32]' is accessed at index 32, which is out of bounds. [arrayIndexOutOfBoundsCond] icinga-core-1.14.2/cgi/config.c:4302:26: note: Assuming that condition 'i<=32' is not redundant icinga-core-1.14.2/cgi/config.c:4304:25: note: Array index out of bounds icinga-core-1.14.2/cgi/config.c:3961:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3962:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3963:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3964:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3965:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3966:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3967:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3968:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3969:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3970:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3971:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3972:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3973:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3974:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3975:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3976:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3977:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3978:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3979:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3980:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3981:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:3982:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:4319:97: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/config.c:4313:15: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/config.c:4336:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/config.c:4340:7: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/config.c:4341:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/config.c:4347:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/config.c:4578:25: style: Variable 'org_use_authentication' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/config.c:4577:25: note: org_use_authentication is assigned icinga-core-1.14.2/cgi/config.c:4578:25: note: org_use_authentication is overwritten icinga-core-1.14.2/cgi/config.c:593:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:594:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:750:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:1360:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:1497:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:1637:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:1932:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:2045:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:2627:8: style: Variable 'months' can be declared as const array [constVariable] icinga-core-1.14.2/cgi/config.c:2628:8: style: Variable 'days' can be declared as const array [constVariable] icinga-core-1.14.2/cgi/config.c:2632:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:2923:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:3000:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:3165:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:3407:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:3541:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:3751:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:4173:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/config.c:4173:17: style: Variable 'bg_class' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/extinfo.c:218:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_ALL_STATUS_DATA [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/extinfo.c:1392:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/extinfo.c:1868:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_OK [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/extinfo.c:3121:4: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/extinfo.c:3127:4: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/extinfo.c:3438:4: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/extinfo.c:3444:4: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/extinfo.c:3791:4: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/extinfo.c:3797:4: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/extinfo.c:3882:89: style: Condition 'temp_service!=NULL' is always true [knownConditionTrueFalse] icinga-core-1.14.2/cgi/extinfo.c:3940:80: style: Condition 'temp_host!=NULL' is always true [knownConditionTrueFalse] icinga-core-1.14.2/cgi/extinfo.c:618:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/extinfo.c:630:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/extinfo.c:650:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/extinfo.c:660:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/extinfo.c:4227:8: style: Local variable 'host_name' shadows outer variable [shadowVariable] icinga-core-1.14.2/cgi/extinfo.c:136:7: note: Shadowed declaration icinga-core-1.14.2/cgi/extinfo.c:4227:8: note: Shadow variable icinga-core-1.14.2/cgi/extinfo.c:827:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/extinfo.c:828:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/extinfo.c:1316:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/extinfo.c:1802:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/extinfo.c:3036:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/extinfo.c:3037:8: style: Variable 'comment_type' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/extinfo.c:3343:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/extinfo.c:3728:44: style: Variable 'type' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/extinfo.c:3731:8: style: Variable 'bgclass' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/extinfo.c:4210:14: style: Variable 'temp_hststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/extinfo.c:4211:17: style: Variable 'temp_svcstatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/extinfo.c:4082:16: style: Variable 'data_type' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/getcgi.c:212:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/getcgi.c:317:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] icinga-core-1.14.2/cgi/getcgi.c:94:10: style: Redundant initialization for 'outchar'. The initialized value is overwritten before it is read. [redundantInitialization] icinga-core-1.14.2/cgi/getcgi.c:70:24: note: outchar is initialized icinga-core-1.14.2/cgi/getcgi.c:94:10: note: outchar is overwritten icinga-core-1.14.2/cgi/getcgi.c:44:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] icinga-core-1.14.2/cgi/getcgi.c:69:33: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/getcgi.c:142:8: style: Variable 'request_method' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/getcgi.c:143:8: style: Variable 'content_type' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/getcgi.c:144:8: style: Variable 'content_length_string' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/getcgi.c:147:8: style: Variable 'nvpair' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/histogram.c:270:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_ALL_STATUS_DATA [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/histogram.c:1426:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/histogram.c:2145:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdStyled [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/histogram.c:2157:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdTransparent [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/histogram.c:712:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/histogram.c:942:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/histogram.c:950:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/histogram.c:1908:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/histogram.c:2108:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/histogram.c:2120:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/histogram.c:1780:15: style: Variable 'string_width' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/histogram.c:1775:15: note: string_width is assigned icinga-core-1.14.2/cgi/histogram.c:1780:15: note: string_width is overwritten icinga-core-1.14.2/cgi/histogram.c:1787:15: style: Variable 'string_width' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/histogram.c:1780:15: note: string_width is assigned icinga-core-1.14.2/cgi/histogram.c:1787:15: note: string_width is overwritten icinga-core-1.14.2/cgi/histogram.c:1793:15: style: Variable 'string_width' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/histogram.c:1787:15: note: string_width is assigned icinga-core-1.14.2/cgi/histogram.c:1793:15: note: string_width is overwritten icinga-core-1.14.2/cgi/histogram.c:1798:15: style: Variable 'string_width' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/histogram.c:1793:15: note: string_width is assigned icinga-core-1.14.2/cgi/histogram.c:1798:15: note: string_width is overwritten icinga-core-1.14.2/cgi/histogram.c:1804:15: style: Variable 'string_width' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/histogram.c:1798:15: note: string_width is assigned icinga-core-1.14.2/cgi/histogram.c:1804:15: note: string_width is overwritten icinga-core-1.14.2/cgi/histogram.c:1809:15: style: Variable 'string_width' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/histogram.c:1804:15: note: string_width is assigned icinga-core-1.14.2/cgi/histogram.c:1809:15: note: string_width is overwritten icinga-core-1.14.2/cgi/histogram.c:1815:15: style: Variable 'string_width' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/histogram.c:1809:15: note: string_width is assigned icinga-core-1.14.2/cgi/histogram.c:1815:15: note: string_width is overwritten icinga-core-1.14.2/cgi/histogram.c:1828:16: style: Variable 'string_width' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/histogram.c:1822:16: note: string_width is assigned icinga-core-1.14.2/cgi/histogram.c:1828:16: note: string_width is overwritten icinga-core-1.14.2/cgi/histogram.c:2018:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/histogram.c:2017:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/histogram.c:2018:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/histogram.c:2056:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/histogram.c:2055:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/histogram.c:2056:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/histogram.c:221:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/histogram.c:903:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/histogram.c:905:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/histogram.c:1838:13: style: Variable 'our_time' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/histogram.c:1955:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/histogram.c:1347:20: style: Variable 'state4_avg' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/histogram.c:1815:15: style: Variable 'string_width' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/histogram.c:1828:16: style: Variable 'string_width' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/history.c:878:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/history.c:655:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/history.c:654:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/history.c:655:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/history.c:698:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/history.c:697:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/history.c:698:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/history.c:732:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/history.c:731:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/history.c:732:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/history.c:764:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/history.c:763:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/history.c:764:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/history.c:798:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/history.c:797:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/history.c:798:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/history.c:827:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/history.c:826:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/history.c:827:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/history.c:322:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/history.c:323:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/history.c:514:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/history.c:530:13: style: Variable 'time_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/history.c:518:21: style: Variable 'system_message' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/notifications.c:738:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/notifications.c:739:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/notifications.c:744:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/notifications.c:751:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/notifications.c:757:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/notifications.c:824:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/notifications.c:829:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/notifications.c:739:16: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/notifications.c:738:16: note: temp_buffer is assigned icinga-core-1.14.2/cgi/notifications.c:739:16: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/notifications.c:360:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/notifications.c:361:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/outages.c:150:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_ALL_STATUS_DATA [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/outages.c:358:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UNREACHABLE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/outages.c:480:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_PENDING [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/outages.c:635:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/outages.c:207:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/outages.c:208:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/outages.c:282:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/outages.c:285:8: style: Variable 'bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/outages.c:286:8: style: Variable 'status' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/outages.c:619:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/outages.c:643:35: style: Parameter 'hst' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/outages.c:703:30: style: Parameter 'host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/readlogs.c:250:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/readlogs.c:280:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] icinga-core-1.14.2/cgi/readlogs.c:388:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/readlogs.c:454:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/readlogs.c:466:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/readlogs.c:87:16: warning: Either the condition 'b->file_name!=NULL' is redundant or there is possible null pointer dereference: b->file_name. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/readlogs.c:67:43: note: Assuming that condition 'b->file_name!=NULL' is not redundant icinga-core-1.14.2/cgi/readlogs.c:87:16: note: Null pointer dereference icinga-core-1.14.2/cgi/readlogs.c:88:16: warning: Either the condition 'b->file_name!=NULL' is redundant or there is possible null pointer dereference: b->file_name. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/readlogs.c:67:43: note: Assuming that condition 'b->file_name!=NULL' is not redundant icinga-core-1.14.2/cgi/readlogs.c:88:16: note: Null pointer dereference icinga-core-1.14.2/cgi/readlogs.c:89:16: warning: Either the condition 'b->file_name!=NULL' is redundant or there is possible null pointer dereference: b->file_name. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/readlogs.c:67:43: note: Assuming that condition 'b->file_name!=NULL' is not redundant icinga-core-1.14.2/cgi/readlogs.c:89:16: note: Null pointer dereference icinga-core-1.14.2/cgi/readlogs.c:90:16: warning: Either the condition 'b->file_name!=NULL' is redundant or there is possible null pointer dereference: b->file_name. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/readlogs.c:67:43: note: Assuming that condition 'b->file_name!=NULL' is not redundant icinga-core-1.14.2/cgi/readlogs.c:90:16: note: Null pointer dereference icinga-core-1.14.2/cgi/readlogs.c:92:16: warning: Either the condition 'b->file_name!=NULL' is redundant or there is possible null pointer dereference: b->file_name. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/readlogs.c:67:43: note: Assuming that condition 'b->file_name!=NULL' is not redundant icinga-core-1.14.2/cgi/readlogs.c:92:16: note: Null pointer dereference icinga-core-1.14.2/cgi/readlogs.c:93:16: warning: Either the condition 'b->file_name!=NULL' is redundant or there is possible null pointer dereference: b->file_name. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/readlogs.c:67:43: note: Assuming that condition 'b->file_name!=NULL' is not redundant icinga-core-1.14.2/cgi/readlogs.c:93:16: note: Null pointer dereference icinga-core-1.14.2/cgi/readlogs.c:95:16: warning: Either the condition 'b->file_name!=NULL' is redundant or there is possible null pointer dereference: b->file_name. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/readlogs.c:67:43: note: Assuming that condition 'b->file_name!=NULL' is not redundant icinga-core-1.14.2/cgi/readlogs.c:95:16: note: Null pointer dereference icinga-core-1.14.2/cgi/readlogs.c:96:16: warning: Either the condition 'b->file_name!=NULL' is redundant or there is possible null pointer dereference: b->file_name. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/readlogs.c:67:43: note: Assuming that condition 'b->file_name!=NULL' is not redundant icinga-core-1.14.2/cgi/readlogs.c:96:16: note: Null pointer dereference icinga-core-1.14.2/cgi/readlogs.c:98:16: warning: Either the condition 'b->file_name!=NULL' is redundant or there is possible null pointer dereference: b->file_name. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/readlogs.c:67:43: note: Assuming that condition 'b->file_name!=NULL' is not redundant icinga-core-1.14.2/cgi/readlogs.c:98:16: note: Null pointer dereference icinga-core-1.14.2/cgi/readlogs.c:99:16: warning: Either the condition 'b->file_name!=NULL' is redundant or there is possible null pointer dereference: b->file_name. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/readlogs.c:67:43: note: Assuming that condition 'b->file_name!=NULL' is not redundant icinga-core-1.14.2/cgi/readlogs.c:99:16: note: Null pointer dereference icinga-core-1.14.2/cgi/readlogs.c:130:32: style:inconclusive: Function 'add_log_filter' argument 1 names different: declaration 'filter_list' definition 'new_filter'. [funcArgNamesDifferent] icinga-core-1.14.2/include/readlogs.h:140:32: note: Function 'add_log_filter' argument 1 names different: declaration 'filter_list' definition 'new_filter'. icinga-core-1.14.2/cgi/readlogs.c:130:32: note: Function 'add_log_filter' argument 1 names different: declaration 'filter_list' definition 'new_filter'. icinga-core-1.14.2/cgi/readlogs.c:189:94: style: Parameter 'search_string' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/showlog.c:761:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/showlog.c:235:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/showlog.c:236:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/showlog.c:508:13: style: Variable 'time_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:664:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_ALL_STATUS_DATA [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:2004:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:2235:116: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:2585:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_PENDING [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:3194:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_PENDING [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:3868:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:4053:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_OK [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:4432:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_DOWN [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:4837:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_PENDING [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:4970:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_CRITICAL [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:5238:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:5423:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_OK [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:5792:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_DOWN [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:6021:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_PENDING [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:6234:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_PENDING [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:6828:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_DOWN [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/status.c:7331:3: warning:inconclusive: The buffer 'temp_buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] icinga-core-1.14.2/cgi/status.c:4057:24: style: Condition 'temp_hoststatus!=NULL' is always true [knownConditionTrueFalse] icinga-core-1.14.2/cgi/status.c:4510:27: style: Condition 'temp_servicestatus==NULL' is always false [knownConditionTrueFalse] icinga-core-1.14.2/cgi/status.c:2699:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:2712:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:2802:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:2815:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:3279:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:3292:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:4569:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:4580:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:4902:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:4913:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:5940:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:5951:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] icinga-core-1.14.2/cgi/status.c:6357:3: error: Memory leak: plugin_output [memleak] icinga-core-1.14.2/cgi/status.c:4528:64: warning: Either the condition 'temp_servicestatus==NULL' is redundant or there is possible null pointer dereference: temp_servicestatus. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/status.c:4533:28: note: Assuming that condition 'temp_servicestatus==NULL' is not redundant icinga-core-1.14.2/cgi/status.c:4528:64: note: Null pointer dereference icinga-core-1.14.2/cgi/status.c:4530:33: warning: Either the condition 'temp_servicestatus==NULL' is redundant or there is possible null pointer dereference: temp_servicestatus. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/status.c:4533:28: note: Assuming that condition 'temp_servicestatus==NULL' is not redundant icinga-core-1.14.2/cgi/status.c:4530:33: note: Null pointer dereference icinga-core-1.14.2/cgi/status.c:4531:168: warning: Either the condition 'temp_servicestatus==NULL' is redundant or there is possible null pointer dereference: temp_servicestatus. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/status.c:4533:28: note: Assuming that condition 'temp_servicestatus==NULL' is not redundant icinga-core-1.14.2/cgi/status.c:4531:168: note: Null pointer dereference icinga-core-1.14.2/cgi/status.c:5860:8: warning: Either the condition 'temp_status==NULL' is redundant or there is possible null pointer dereference: temp_status. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/status.c:5875:21: note: Assuming that condition 'temp_status==NULL' is not redundant icinga-core-1.14.2/cgi/status.c:5860:8: note: Null pointer dereference icinga-core-1.14.2/cgi/status.c:5863:33: warning: Either the condition 'temp_status==NULL' is redundant or there is possible null pointer dereference: temp_status. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/status.c:5875:21: note: Assuming that condition 'temp_status==NULL' is not redundant icinga-core-1.14.2/cgi/status.c:5863:33: note: Null pointer dereference icinga-core-1.14.2/cgi/status.c:5866:50: warning: Either the condition 'temp_status==NULL' is redundant or there is possible null pointer dereference: temp_status. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/status.c:5875:21: note: Assuming that condition 'temp_status==NULL' is not redundant icinga-core-1.14.2/cgi/status.c:5866:50: note: Null pointer dereference icinga-core-1.14.2/cgi/status.c:5893:65: warning: Either the condition 'temp_status==NULL' is redundant or there is possible null pointer dereference: temp_status. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/status.c:5898:22: note: Assuming that condition 'temp_status==NULL' is not redundant icinga-core-1.14.2/cgi/status.c:5893:65: note: Null pointer dereference icinga-core-1.14.2/cgi/status.c:5895:34: warning: Either the condition 'temp_status==NULL' is redundant or there is possible null pointer dereference: temp_status. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/status.c:5898:22: note: Assuming that condition 'temp_status==NULL' is not redundant icinga-core-1.14.2/cgi/status.c:5895:34: note: Null pointer dereference icinga-core-1.14.2/cgi/status.c:5896:169: warning: Either the condition 'temp_status==NULL' is redundant or there is possible null pointer dereference: temp_status. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/status.c:5898:22: note: Assuming that condition 'temp_status==NULL' is not redundant icinga-core-1.14.2/cgi/status.c:5896:169: note: Null pointer dereference icinga-core-1.14.2/cgi/status.c:1694:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:1695:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:2288:8: style: Variable 'status_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:2289:8: style: Variable 'status_bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:2290:8: style: Variable 'host_status_bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:2291:8: style: Variable 'last_host' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:2293:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:2957:8: style: Variable 'status_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:2958:8: style: Variable 'status_bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:3427:17: style: Variable 'temp_servicestatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:3548:14: style: Variable 'last_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:3550:17: style: Variable 'temp_servicestatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:3658:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:3659:17: style: Variable 'temp_servicestatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:3789:8: style: Variable 'status_bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:3848:14: style: Variable 'last_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:4026:17: style: Variable 'last_servicestatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:4027:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:4329:8: style: Variable 'status' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:4330:8: style: Variable 'host_status_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:4331:8: style: Variable 'service_status_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:4336:14: style: Variable 'last_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:4615:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:4826:8: style: Variable 'status_bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:4827:8: style: Variable 'status_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:4943:17: style: Variable 'last_servicestatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:5067:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:5164:8: style: Variable 'status_bg_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:5222:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:5394:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:5698:8: style: Variable 'status' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:5699:8: style: Variable 'host_status_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:5700:8: style: Variable 'service_status_class' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:5703:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:5704:17: style: Variable 'temp_servicestatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:6194:8: style: Variable 'status_string' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:6195:8: style: Variable 'host_name' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:6196:8: style: Variable 'svc_description' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:6197:8: style: Variable 'plugin_output_short' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:6198:8: style: Variable 'plugin_output_long' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:6684:47: style: Parameter 'temp_hoststatus' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/status.c:6757:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/status.c:3789:24: style: Variable 'status_bg_class' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/status.c:5071:20: style: Variable 'partial_hosts' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/status.c:5164:24: style: Variable 'status_bg_class' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/status.c:7222:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/status.c:7223:33: style: Variable 'saved_escape_html_tags_var' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:276:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_ALL_STATUS_DATA [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/statusmap.c:1420:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_DOWN [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/statusmap.c:1617:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_DOWN [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/statusmap.c:1806:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/statusmap.c:1838:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/statusmap.c:1932:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/statusmap.c:2034:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdTransparent [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/statusmap.c:2063:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdTransparent [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/statusmap.c:2196:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/statusmap.c:2804:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_DOWN [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/statusmap.c:2156:13: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] icinga-core-1.14.2/cgi/statusmap.c:911:17: style: Condition 'this_host==NULL' is always true [knownConditionTrueFalse] icinga-core-1.14.2/cgi/statusmap.c:897:15: note: Assignment 'this_host=NULL', assigned value is 0 icinga-core-1.14.2/cgi/statusmap.c:911:17: note: Condition 'this_host==NULL' is always true icinga-core-1.14.2/cgi/statusmap.c:918:17: style: Condition 'this_host!=NULL' is always false [knownConditionTrueFalse] icinga-core-1.14.2/cgi/statusmap.c:897:15: note: Assignment 'this_host=NULL', assigned value is 0 icinga-core-1.14.2/cgi/statusmap.c:918:17: note: Condition 'this_host!=NULL' is always false icinga-core-1.14.2/cgi/statusmap.c:1010:17: style: Condition 'this_host==NULL' is always true [knownConditionTrueFalse] icinga-core-1.14.2/cgi/statusmap.c:996:15: note: Assignment 'this_host=NULL', assigned value is 0 icinga-core-1.14.2/cgi/statusmap.c:1010:17: note: Condition 'this_host==NULL' is always true icinga-core-1.14.2/cgi/statusmap.c:1017:17: style: Condition 'this_host!=NULL' is always false [knownConditionTrueFalse] icinga-core-1.14.2/cgi/statusmap.c:996:15: note: Assignment 'this_host=NULL', assigned value is 0 icinga-core-1.14.2/cgi/statusmap.c:1017:17: note: Condition 'this_host!=NULL' is always false icinga-core-1.14.2/cgi/statusmap.c:1714:28: warning: Either the condition 'temp_host!=NULL' is redundant or there is possible null pointer dereference: temp_host. [nullPointerRedundantCheck] icinga-core-1.14.2/cgi/statusmap.c:1705:19: note: Assuming that condition 'temp_host!=NULL' is not redundant icinga-core-1.14.2/cgi/statusmap.c:1714:28: note: Null pointer dereference icinga-core-1.14.2/cgi/statusmap.c:1662:19: style: Variable 'inner_radius' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/statusmap.c:1660:19: note: inner_radius is assigned icinga-core-1.14.2/cgi/statusmap.c:1662:19: note: inner_radius is overwritten icinga-core-1.14.2/cgi/statusmap.c:2263:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] icinga-core-1.14.2/cgi/statusmap.c:309:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/statusmap.c:1163:8: style: Variable 'temp_host' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/statusmap.c:1372:14: style: Variable 'this_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/statusmap.c:1373:14: style: Variable 'parent_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/statusmap.c:1818:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/statusmap.c:2146:39: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/statusmap.c:2149:8: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/statusmap.c:2228:21: style: Parameter 'group_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/statusmap.c:2431:35: style: Parameter 'hst' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/statusmap.c:2683:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/statusmap.c:767:18: style: Variable 'child_hosts' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:768:19: style: Variable 'parent_hosts' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:769:22: style: Variable 'max_layer_width' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:772:15: style: Variable 'center_x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:775:20: style: Variable 'current_layer' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:776:20: style: Variable 'layer_members' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:777:27: style: Variable 'current_layer_member' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:778:24: style: Variable 'max_drawing_width' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:1819:19: style: Variable 'status_color' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:2326:17: style: Variable 'this_depth' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:2384:22: style: Variable 'current_members' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/statusmap.c:2406:20: style: Variable 'in_layer_list' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/summary.c:400:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/summary.c:1153:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/summary.c:1165:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/summary.c:1058:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/summary.c:1057:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/summary.c:1058:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/summary.c:1070:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/summary.c:1069:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/summary.c:1070:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/summary.c:1071:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/summary.c:1070:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/summary.c:1071:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/summary.c:1098:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/summary.c:1097:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/summary.c:1098:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/summary.c:1115:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/summary.c:1114:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/summary.c:1115:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/summary.c:1116:17: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/summary.c:1115:17: note: temp_buffer is assigned icinga-core-1.14.2/cgi/summary.c:1116:17: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/summary.c:189:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/summary.c:623:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/summary.c:624:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/summary.c:1012:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/summary.c:1200:138: style: Parameter 'event_info' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/summary.c:1565:8: style: Variable 'status_bgclass' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/summary.c:1566:8: style: Variable 'status' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/summary.c:1729:47: style: Parameter 'hname' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/summary.c:1729:60: style: Parameter 'sdesc' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/summary.c:1748:55: style: Parameter 'host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/summary.c:1748:72: style: Parameter 'service_description' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/summary.c:1815:8: style: Variable 'bgclass' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/summary.c:1811:20: style: Variable 'producer_type' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/summary.c:2169:14: style: Variable 'json_start' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:473:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_ALL_STATUS_DATA [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/tac.c:650:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_DOWN [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/tac.c:1092:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_PENDING [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/tac.c:1202:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/tac.c:1240:149: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/tac.c:414:8: style: Variable 'sound' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/tac.c:566:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/tac.c:627:8: style: Variable 'last_host_name' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/tac.c:1186:14: style: Variable 'temp_hoststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/tac.c:1212:8: style: Variable 'tacheader_color' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/tac.c:1213:20: style: Variable 'handled_count' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:1214:20: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2032:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2056:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2078:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2112:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2136:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2158:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2253:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2278:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2300:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2370:24: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2406:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2431:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2453:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2523:24: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2559:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2584:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2606:23: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/tac.c:2676:24: style: Variable 'problem_found' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/cgi/trends.c:316:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_ALL_STATUS_DATA [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/trends.c:1614:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_DOWN [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/trends.c:2160:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_UP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/trends.c:2174:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_OK [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/trends.c:2485:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/trends.c:2528:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdFontSmall [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/trends.c:2628:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdTransparent [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/cgi/trends.c:918:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/trends.c:1157:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/trends.c:1165:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/cgi/trends.c:2595:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/trends.c:2607:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/cgi/trends.c:1790:15: style: Condition 'b>t1' is always true [knownConditionTrueFalse] icinga-core-1.14.2/cgi/trends.c:1771:27: note: Assuming that condition 'temp_as->time_stamp<=t1' is not redundant icinga-core-1.14.2/cgi/trends.c:1783:6: note: b is assigned 'temp_as->time_stamp' here. icinga-core-1.14.2/cgi/trends.c:1790:15: note: Condition 'b>t1' is always true icinga-core-1.14.2/cgi/trends.c:2338:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/trends.c:2337:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/trends.c:2338:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/trends.c:2356:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/trends.c:2355:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/trends.c:2356:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/trends.c:2357:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/trends.c:2356:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/trends.c:2357:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/trends.c:2388:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/trends.c:2387:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/trends.c:2388:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/trends.c:2414:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/trends.c:2413:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/trends.c:2414:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/trends.c:2415:18: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/cgi/trends.c:2414:18: note: temp_buffer is assigned icinga-core-1.14.2/cgi/trends.c:2415:18: note: temp_buffer is overwritten icinga-core-1.14.2/cgi/trends.c:243:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/trends.c:1118:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/trends.c:1120:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/trends.c:1571:14: style: Variable 'hststatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/trends.c:1572:17: style: Variable 'svcstatus' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/trends.c:2189:82: style: Parameter 'state_info' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/cgi/trends.c:2264:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/cgi/trends.c:2568:90: style: Parameter 'state_string' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/comments.c:473:57: style: Parameter 'host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/comments.c:473:74: style: Parameter 'svc_description' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/comments.c:473:116: style: Parameter 'author' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/comments.c:473:130: style: Parameter 'comment_data' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/comments.c:570:11: style: Variable 'c1' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/comments.c:571:11: style: Variable 'c2' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/comments.c:662:55: style: Parameter 'svc_description' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/comments.c:689:41: style: Parameter 'host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/comments.c:743:66: style: Parameter 'hostname' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/comments.c:743:82: style: Parameter 'service_description' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/comments.c:743:109: style: Parameter 'author' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/comments.c:743:123: style: Parameter 'comment_data' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/downtime.c:1033:43: style: Parameter 'host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/downtime.c:1033:60: style: Parameter 'svc_description' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/downtime.c:1033:102: style: Parameter 'author' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/downtime.c:1033:116: style: Parameter 'comment_data' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/downtime.c:1135:22: style: Variable 'd1' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/downtime.c:1136:22: style: Variable 'd2' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/downtime.c:1221:70: style: Parameter 'host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/downtime.c:1221:87: style: Parameter 'service_description' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/downtime.c:1221:114: style: Parameter 'author' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/downtime.c:1221:128: style: Parameter 'comment_data' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/macros.c:159:27: style: Condition 'input_buffer' is always true [knownConditionTrueFalse] icinga-core-1.14.2/common/macros.c:969:13: style: Condition 'arg1' is always true [knownConditionTrueFalse] icinga-core-1.14.2/common/macros.c:1440:41: style: Condition 'mac->host_ptr' is always true [knownConditionTrueFalse] icinga-core-1.14.2/common/macros.c:1660:74: style: Parameter 'temp_host' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/macros.c:2056:80: style: Parameter 'temp_service' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/macros.c:2398:80: style: Parameter 'temp_contact' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/macros.c:2460:78: style: Parameter 'temp_contact' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/macros.c:2528:58: style: Parameter 'macro_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/macros.c:2604:36: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/macros.c:2651:25: style: Variable 'a' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/macros.c:2652:25: style: Variable 'b' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/macros.c:136:18: style: Variable 'clean_macro' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/macros.c:137:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/macros.c:138:20: style: Variable 'clean_options' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/macros.c:140:20: style: Variable 'macro_options' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/macros.c:501:20: style: Variable 'delimiter_len' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/macros.c:1356:20: style: Variable 'delimiter_len' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/macros.c:2565:17: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/macros.c:2566:17: style: Variable 'y' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/macros.c:2567:18: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/objects.c:444:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:530:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:603:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:637:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:892:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:986:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1033:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1106:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1155:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1229:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1301:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1419:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1449:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1488:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1548:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1582:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1800:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1847:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1908:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:1989:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:2028:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:2110:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:2182:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:2256:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:2347:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:2385:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:2425:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:2472:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/objects.c:2285:23: style: Condition 'host_name!=NULL' is always true [knownConditionTrueFalse] icinga-core-1.14.2/common/objects.c:2298:21: style: Condition 'host_name!=NULL' is always true [knownConditionTrueFalse] icinga-core-1.14.2/common/objects.c:2775:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] icinga-core-1.14.2/common/objects.c:86:35: style: Parameter 'main_config_file' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:179:8: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:180:8: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:197:11: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:198:11: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:215:11: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:216:11: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:233:14: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:234:14: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:251:11: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:252:11: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:269:16: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:270:16: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:287:13: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:288:13: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:305:16: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:306:16: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:323:18: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:324:18: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:341:21: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:342:21: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:359:18: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:360:18: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:377:21: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:378:21: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:394:10: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:395:10: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:438:46: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:500:76: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:34: style: Parameter 'display_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:54: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:67: style: Parameter 'address' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:82: style: Parameter 'address6' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:98: style: Parameter 'check_period' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:362: style: Parameter 'notification_period' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:416: style: Parameter 'check_command' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:484: style: Parameter 'event_handler' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:820: style: Parameter 'failure_prediction_options' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:900: style: Parameter 'notes' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:913: style: Parameter 'notes_url' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:930: style: Parameter 'action_url' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:948: style: Parameter 'icon_image' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:966: style: Parameter 'icon_image_alt' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:988: style: Parameter 'vrml_image' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:628:1006: style: Parameter 'statusmap_image' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:887:55: style: Parameter 'host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:924:54: style: Parameter 'child_ptr' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:950:62: style: Parameter 'service_ptr' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:981:64: style: Parameter 'group_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1027:44: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1027:57: style: Parameter 'notes' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1027:70: style: Parameter 'notes_url' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1027:87: style: Parameter 'action_url' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1099:69: style: Parameter 'host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1149:50: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1149:63: style: Parameter 'notes' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1149:76: style: Parameter 'notes_url' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1149:93: style: Parameter 'action_url' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1221:84: style: Parameter 'host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1221:101: style: Parameter 'svc_description' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1294:40: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1294:53: style: Parameter 'email' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1294:66: style: Parameter 'pager' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1294:97: style: Parameter 'svc_notification_period' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1294:128: style: Parameter 'host_notification_period' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1414:80: style: Parameter 'command_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1444:83: style: Parameter 'command_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1482:50: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1543:70: style: Parameter 'contact_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1573:64: style: Parameter 'display_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1573:84: style: Parameter 'check_period' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1573:294: style: Parameter 'notification_period' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1573:489: style: Parameter 'event_handler' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1573:537: style: Parameter 'check_command' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1573:919: style: Parameter 'failure_prediction_options' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1573:999: style: Parameter 'notes' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1573:1012: style: Parameter 'notes_url' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1573:1029: style: Parameter 'action_url' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1573:1047: style: Parameter 'icon_image' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1573:1065: style: Parameter 'icon_image_alt' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1795:70: style: Parameter 'group_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1841:40: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1902:352: style: Parameter 'escalation_period' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:1984:89: style: Parameter 'group_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2022:49: style: Parameter 'dependent_host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2022:76: style: Parameter 'dependent_service_description' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2022:113: style: Parameter 'host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2022:130: style: Parameter 'service_description' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2022:300: style: Parameter 'dependency_period' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2104:43: style: Parameter 'dependent_host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2104:70: style: Parameter 'host_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2104:209: style: Parameter 'dependency_period' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2176:264: style: Parameter 'escalation_period' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2342:83: style: Parameter 'group_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2380:74: style: Parameter 'contactname' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2420:96: style: Parameter 'varname' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2420:111: style: Parameter 'varvalue' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2466:38: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2466:50: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2466:62: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2839:43: style: Parameter 'parent_host' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2944:57: style: Parameter 'hst' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2966:63: style: Parameter 'hst' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:2988:69: style: Parameter 'svc' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:3009:69: style: Parameter 'cntct' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/objects.c:3011:11: style: Variable 'temp_contact' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:3036:11: style: Variable 'temp_contact' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:3079:11: style: Variable 'temp_contact' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:3125:11: style: Variable 'temp_contact' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:3168:11: style: Variable 'temp_contact' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/objects.c:3370:17: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/objects.c:3371:17: style: Variable 'i' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/shared.c:108:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/shared.c:466:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tzname [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/shared.c:259:9: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] icinga-core-1.14.2/common/shared.c:47:6: warning: Possible null pointer dereference: sequence_head [nullPointer] icinga-core-1.14.2/common/shared.c:35:34: note: Assignment 'my_strtok_buffer=NULL', assigned value is 0 icinga-core-1.14.2/common/shared.c:38:13: note: Assuming condition is false icinga-core-1.14.2/common/shared.c:45:16: note: sequence_head is assigned 'my_strtok_buffer' here. icinga-core-1.14.2/common/shared.c:47:6: note: Null pointer dereference icinga-core-1.14.2/common/shared.c:32:23: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/shared.c:32:37: style: Parameter 'tokens' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/shared.c:103:28: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/shared.c:429:35: style: Parameter 'raw_time' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/shared.c:439:8: style: Variable 'weekdays' can be declared as const array [constVariable] icinga-core-1.14.2/common/shared.c:440:8: style: Variable 'months' can be declared as const array [constVariable] icinga-core-1.14.2/common/shared.c:444:8: style: Variable 'tzone' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/shared.c:232:10: style: Variable 'len' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/shared.c:233:11: style: Variable 'len2' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/shared.c:234:10: style: Variable 'end' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/skiplist.c:179:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/skiplist.c:146:43: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/skiplist.c:171:37: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/skiplist.c:332:16: style: Variable 'thisnode' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/common/skiplist.c:148:17: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/skiplist.c:173:10: style: Variable 'r' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/common/snprintf.c:1163:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chunks [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/common/snprintf.c:758:19: style: Condition 'maxlen>0' is always true [knownConditionTrueFalse] icinga-core-1.14.2/common/snprintf.c:755:13: note: Assuming that condition 'maxlen!=0' is not redundant icinga-core-1.14.2/common/snprintf.c:758:19: note: Condition 'maxlen>0' is always true icinga-core-1.14.2/common/snprintf.c:1035:8: style: Condition 'caps' is always false [knownConditionTrueFalse] icinga-core-1.14.2/common/snprintf.c:971:13: note: Assignment 'caps=0', assigned value is 0 icinga-core-1.14.2/common/snprintf.c:1035:8: note: Condition 'caps' is always false icinga-core-1.14.2/common/snprintf.c:779:26: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/common/snprintf.c:287:2: error: va_list 'args' used before va_start() was called. [va_list_usedBeforeStarted] icinga-core-1.14.2/common/snprintf.c:1229:2: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] icinga-core-1.14.2/common/snprintf.c:1231:35: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] icinga-core-1.14.2/contrib/dst.c:12:14: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] icinga-core-1.14.2/contrib/dst.c:13:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/contrib/dst.c:56:21: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] icinga-core-1.14.2/contrib/dst.c:56:29: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icinga-core-1.14.2/contrib/mini_epn.c:22:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_P1_FILE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/contrib/mini_epn.c:23:8: style: Variable 'plugin_output' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/contrib/mini_epn.c:99:10: style: Variable 'count' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/contrib/mini_epn.c:42:11: style: Unused variable: n_a [unusedVariable] icinga-core-1.14.2/contrib/new_mini_epn.c:67:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/contrib/new_mini_epn.c:156:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/contrib/new_mini_epn.c:179:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_P1_FILE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/contrib/new_mini_epn.c:213:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_perl_destruct_level [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/contrib/new_mini_epn.c:203:13: style: Variable 'exitstatus' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/contrib/new_mini_epn.c:196:13: note: exitstatus is assigned icinga-core-1.14.2/contrib/new_mini_epn.c:203:13: note: exitstatus is overwritten icinga-core-1.14.2/contrib/new_mini_epn.c:63:8: style: Variable 'plugin_output' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/contrib/new_mini_epn.c:132:8: style: Variable 'count' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/contrib/new_mini_epn.c:60:9: style: Unused variable: n_a [unusedVariable] icinga-core-1.14.2/module/helloworld.c:101:40: style: Parameter 'message' can be declared as pointer to const. However it seems that 'helloworld_reminder_message' is a callback function, if 'message' is declared with const you might also need to cast function pointer(s). [constParameterCallback] icinga-core-1.14.2/module/helloworld.c:75:109: note: You might need to cast the function pointer here icinga-core-1.14.2/module/helloworld.c:101:40: note: Parameter 'message' can be declared as pointer to const icinga-core-1.14.2/module/helloworld.c:115:36: style: Variable 'agsdata' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/db.c:403:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/db.c:1346:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/db.c:2612:3: warning: Either the condition 't==NULL' is redundant or there is possible null pointer dereference: t. [nullPointerRedundantCheck] icinga-core-1.14.2/module/idoutils/src/db.c:2616:67: note: Assuming that condition 't==NULL' is not redundant icinga-core-1.14.2/module/idoutils/src/db.c:2612:3: note: Null pointer dereference icinga-core-1.14.2/module/idoutils/src/db.c:364:40: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:413:35: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:1261:8: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/db.c:2081:35: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2251:43: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2337:42: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2380:42: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2502:38: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2542:39: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2604:48: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2604:59: style: Parameter 'table_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2604:77: style: Parameter 'field_name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2831:40: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2831:59: style: Parameter 'txbuf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2845:36: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2864:37: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/db.c:2887:9: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/db.c:2261:3: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/db.c:2886:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/db.c:2891:10: style: Variable 'progress' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/db.c:2892:13: style: Variable 'instance_id' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/db.c:2887:9: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:1195:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:1201:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4751:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4752:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4975:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4976:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5259:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5260:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5265:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5266:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6101:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6102:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6109:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6110:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6591:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6592:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7183:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7184:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7185:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7419:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7420:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7446:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7447:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7476:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7477:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7533:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7538:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7542:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:1754:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:1750:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:1754:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:1756:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:1754:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:1756:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4487:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4479:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4487:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4488:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4487:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4488:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4489:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4488:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4489:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4490:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4489:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4490:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4491:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4490:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4491:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4492:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4491:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4492:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4493:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4492:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4493:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4494:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4493:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4494:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4503:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4494:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4503:10: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5217:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5209:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5217:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5218:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5217:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5218:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5219:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5218:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5219:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5220:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5219:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5220:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5221:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5220:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5221:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5222:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5221:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5222:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5223:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5222:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5223:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5224:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5223:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5224:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5225:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5224:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5225:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5226:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5225:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5226:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5227:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5226:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5227:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5228:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5227:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5228:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5229:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5228:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5229:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5230:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5229:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5230:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5231:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5230:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5231:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5232:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5231:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5232:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5233:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5232:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5233:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5234:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5233:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5234:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5235:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5234:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5235:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5236:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5235:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5236:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5237:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5236:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5237:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5238:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5237:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5238:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5239:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5238:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5239:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5240:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5239:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5240:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5241:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5240:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5241:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5242:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5241:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5242:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5243:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5242:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5243:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5244:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5243:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5244:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5245:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5244:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5245:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5246:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5245:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5246:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5247:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5246:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5247:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5248:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5247:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5248:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5249:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5248:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5249:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5250:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5249:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5250:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5251:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5250:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5251:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5252:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5251:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5252:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5253:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5252:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5253:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5261:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5253:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5261:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5267:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5261:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5267:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5282:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5267:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5282:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5288:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5282:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5288:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5289:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5288:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5289:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5353:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5289:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5353:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5816:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5807:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5816:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5827:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5816:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5827:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6063:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6055:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6063:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6064:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6063:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6064:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6065:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6064:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6065:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6066:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6065:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6066:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6067:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6066:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6067:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6068:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6067:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6068:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6069:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6068:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6069:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6070:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6069:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6070:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6071:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6070:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6071:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6072:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6071:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6072:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6073:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6072:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6073:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6074:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6073:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6074:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6075:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6074:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6075:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6076:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6075:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6076:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6077:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6076:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6077:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6078:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6077:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6078:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6079:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6078:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6079:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6080:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6079:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6080:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6081:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6080:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6081:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6082:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6081:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6082:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6083:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6082:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6083:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6084:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6083:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6084:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6085:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6084:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6085:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6086:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6085:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6086:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6087:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6086:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6087:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6088:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6087:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6088:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6089:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6088:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6089:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6090:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6089:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6090:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6091:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6090:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6091:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6092:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6091:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6092:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6093:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6092:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6093:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6094:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6093:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6094:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6095:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6094:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6095:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6096:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6095:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6096:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6104:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6096:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6104:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6112:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6104:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6112:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6123:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6112:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6123:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6124:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6123:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6124:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6130:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6124:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6130:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6131:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6130:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6131:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6188:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6131:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6188:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6527:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6517:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6527:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6538:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6527:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6538:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7115:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7105:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7115:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7126:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7115:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7126:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7630:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7621:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7630:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7641:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7630:9: note: result is assigned icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7641:9: note: result is overwritten icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:471:8: style: Variable 'tmp1' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:472:8: style: Variable 'tmp2' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:633:73: style: Parameter 'name1' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:634:39: style: Parameter 'name2' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:692:8: style: Variable 'name1' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:693:8: style: Variable 'name2' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:862:52: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:919:66: style: Parameter 'object_ids' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:963:45: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4032:51: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4045:48: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4058:51: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4071:51: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4216:52: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4230:45: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:4886:47: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5130:45: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7074:8: style: Variable 'dayptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7075:8: style: Variable 'startptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7076:8: style: Variable 'endptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7324:8: style: Variable 'numptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7512:8: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7513:8: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:7514:8: style: Variable 'ptr3' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:229:10: error: Uninitialized variable: es[x] [legacyUninitvar] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:461:10: error: Uninitialized variable: es[x] [legacyUninitvar] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:470:20: style: Variable 'objecttype_id' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:471:8: style: Variable 'tmp1' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:472:8: style: Variable 'tmp2' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:637:14: style: Variable 'compare' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:688:8: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:691:14: style: Variable 'compare' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:831:8: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:1215:7: style: Variable 'type' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:5770:9: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/dbhandlers.c:6480:9: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:45:69: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:316:68: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:639:68: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:1008:75: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:1294:81: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:1501:58: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:1752:55: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:2009:63: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:2259:71: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:2508:83: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:2763:81: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:3031:69: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:3389:66: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:3911:69: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:4444:69: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:4652:71: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:4652:104: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:4926:68: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:5091:77: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:5091:110: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:5818:78: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:5966:80: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:6119:82: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:6119:115: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:6376:88: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:6524:80: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:6524:113: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:7180:83: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:7333:85: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:7333:118: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:7593:82: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:7748:87: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:7963:90: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:8186:87: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:8186:120: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:8492:90: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:8645:85: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:8810:90: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:8810:123: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:9122:93: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:9277:88: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:9443:80: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:9622:82: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:9622:115: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:9882:82: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:10048:80: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:10048:113: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:10449:79: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:10617:90: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:10798:97: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:10967:89: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:11156:94: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:11357:85: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:11357:118: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/dbqueries.c:11616:94: style: Parameter 'idi' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/file2sock.c:67:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/file2sock.c:154:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/file2sock.c:124:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/ido2db.c:162:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:419:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:471:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:512:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:820:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:889:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWGRP [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1165:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFL [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1326:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1499:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1910:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2782:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2802:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2822:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2841:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1659:6: warning: Either the condition 'result>0' is redundant or the array 'buf[16384]' is accessed at index -1, which is out of bounds. [negativeIndex] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1652:14: note: Assuming that condition 'result>0' is not redundant icinga-core-1.14.2/module/idoutils/src/ido2db.c:1659:6: note: Negative array index icinga-core-1.14.2/module/idoutils/src/ido2db.c:524:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:525:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:816:26: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:842:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1325:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1887:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1888:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1903:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1904:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1956:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1957:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1972:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1973:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2152:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2153:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2867:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2869:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/ido2db.c:631:45: style: Condition '!strcmp(var,"ido2db_user")' is always false [knownConditionTrueFalse] icinga-core-1.14.2/module/idoutils/src/ido2db.c:633:46: style: Condition '!strcmp(var,"ido2db_group")' is always false [knownConditionTrueFalse] icinga-core-1.14.2/module/idoutils/src/ido2db.c:896:5: error: Memory leak: msg [memleak] icinga-core-1.14.2/module/idoutils/src/ido2db.c:899:4: error: Memory leak: msg [memleak] icinga-core-1.14.2/module/idoutils/src/ido2db.c:905:5: error: Memory leak: msg [memleak] icinga-core-1.14.2/module/idoutils/src/ido2db.c:908:4: error: Resource leak: lockfile [resourceLeak] icinga-core-1.14.2/module/idoutils/src/ido2db.c:908:4: error: Memory leak: msg [memleak] icinga-core-1.14.2/module/idoutils/src/ido2db.c:920:6: error: Memory leak: msg [memleak] icinga-core-1.14.2/module/idoutils/src/ido2db.c:923:6: error: Memory leak: msg [memleak] icinga-core-1.14.2/module/idoutils/src/ido2db.c:927:4: error: Resource leak: lockfile [resourceLeak] icinga-core-1.14.2/module/idoutils/src/ido2db.c:927:4: error: Memory leak: msg [memleak] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1354:62: error: Null pointer dereference: (struct sockaddr_un*)0 [nullPointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:631:41: style: Same expression on both sides of '||'. [duplicateExpression] icinga-core-1.14.2/module/idoutils/src/ido2db.c:633:42: style: Same expression on both sides of '||'. [duplicateExpression] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1417:4: style: Statements following 'break' will never be executed. [unreachableCode] icinga-core-1.14.2/module/idoutils/src/ido2db.c:519:8: style: Variable 'val' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:806:16: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:807:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1856:8: style: Variable 'var' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2229:65: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2753:40: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2767:42: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2792:43: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2812:41: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2832:49: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2851:44: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2900:14: style: Variable 'idi' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2953:55: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'ido2db_thread_worker_exit_handler' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2911:33: note: You might need to cast the function pointer here icinga-core-1.14.2/module/idoutils/src/ido2db.c:2953:55: note: Parameter 'arg' can be declared as pointer to const icinga-core-1.14.2/module/idoutils/src/ido2db.c:3082:56: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'ido2db_thread_cleanup_exit_handler' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] icinga-core-1.14.2/module/idoutils/src/ido2db.c:3011:33: note: You might need to cast the function pointer here icinga-core-1.14.2/module/idoutils/src/ido2db.c:3082:56: note: Parameter 'arg' can be declared as pointer to const icinga-core-1.14.2/module/idoutils/src/ido2db.c:390:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/ido2db.c:883:10: style: Variable 'val' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/ido2db.c:903:12: style: Variable 'val' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1299:16: style: Variable 'new_pid' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1482:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/ido2db.c:1888:7: style: Variable 'val' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2647:17: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/ido2db.c:2648:17: style: Variable 'y' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/ido2db.c:3108:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/ido2db.c:3122:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:542:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/idomod.c:827:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/idomod.c:4598:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/idomod.c:332:20: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] icinga-core-1.14.2/module/idoutils/src/idomod.c:311:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/idomod.c:328:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/idomod.c:409:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/idomod.c:410:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/idomod.c:4404:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/idomod.c:4406:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/idomod.c:1983:3: warning: %lu in format string (no. 24) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] icinga-core-1.14.2/module/idoutils/src/idomod.c:751:7: error: Memory leak: temp_buffer [memleak] icinga-core-1.14.2/module/idoutils/src/idomod.c:780:8: error: Memory leak: temp_buffer [memleak] icinga-core-1.14.2/module/idoutils/src/idomod.c:783:8: error: Memory leak: temp_buffer [memleak] icinga-core-1.14.2/module/idoutils/src/idomod.c:786:8: error: Memory leak: temp_buffer [memleak] icinga-core-1.14.2/module/idoutils/src/idomod.c:4383:3: error: Memory leak: temp_buffer [memleak] icinga-core-1.14.2/module/idoutils/src/idomod.c:4490:3: error: Memory leak: temp_buffer [memleak] icinga-core-1.14.2/module/idoutils/src/idomod.c:4503:3: error: Memory leak: temp_buffer [memleak] icinga-core-1.14.2/module/idoutils/src/idomod.c:4564:3: error: Memory leak: temp_buffer [memleak] icinga-core-1.14.2/module/idoutils/src/idomod.c:4574:3: error: Memory leak: temp_buffer [memleak] icinga-core-1.14.2/module/idoutils/src/idomod.c:4663:4: error: Memory leak: temp_path [memleak] icinga-core-1.14.2/module/idoutils/src/idomod.c:1002:31: style: Checking if unsigned expression 'maxitems' is less than zero. [unsignedLessThanZero] icinga-core-1.14.2/module/idoutils/src/idomod.c:289:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:585:8: style: Variable 'connection_type' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:586:8: style: Variable 'connect_type' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:914:40: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:1047:61: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:1274:22: style: Variable 'temp_downtime' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:1275:11: style: Variable 'temp_comment' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:1276:26: style: Variable 'procdata' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:1277:30: style: Variable 'eventdata' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:1290:35: style: Variable 'apdata' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:1294:36: style: Variable 'agsdata' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:1295:28: style: Variable 'rdata' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:4366:8: style: Variable 'var' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:4367:8: style: Variable 'val' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:4458:45: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/idomod.c:1274:22: style: Variable 'temp_downtime' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:1277:30: style: Variable 'eventdata' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3171:8: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3189:21: style: Variable 'have_2d_coords' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3190:11: style: Variable 'x_2d' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3191:11: style: Variable 'y_2d' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3192:21: style: Variable 'have_3d_coords' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3193:14: style: Variable 'x_3d' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3194:14: style: Variable 'y_3d' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3195:14: style: Variable 'z_3d' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3196:34: style: Variable 'first_notification_delay' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3197:24: style: Variable 'retry_interval' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3198:30: style: Variable 'notify_on_host_downtime' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3199:33: style: Variable 'notify_on_service_downtime' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3200:33: style: Variable 'host_notifications_enabled' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3201:36: style: Variable 'service_notifications_enabled' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3202:26: style: Variable 'can_submit_commands' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3203:27: style: Variable 'flap_detection_on_up' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3204:29: style: Variable 'flap_detection_on_down' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3205:36: style: Variable 'flap_detection_on_unreachable' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3206:27: style: Variable 'flap_detection_on_ok' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3207:32: style: Variable 'flap_detection_on_warning' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3208:32: style: Variable 'flap_detection_on_unknown' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/idomod.c:3209:33: style: Variable 'flap_detection_on_critical' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/io.c:35:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/io.c:149:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/io.c:294:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/io.c:214:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] icinga-core-1.14.2/module/idoutils/src/io.c:220:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] icinga-core-1.14.2/module/idoutils/src/io.c:451:46: style: Redundant condition: If 'buffer[x] == '\r'', the comparison 'buffer[x] == 13' is always true. [redundantCondition] icinga-core-1.14.2/module/idoutils/src/io.c:184:61: error: Null pointer dereference: (struct sockaddr_un*)0 [nullPointer] icinga-core-1.14.2/module/idoutils/src/io.c:30:36: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/io.c:145:25: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/io.c:148:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/io.c:271:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/io.c:462:31: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/io.c:273:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/log2ido.c:213:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/log2ido.c:28:8: style: Variable 'connection_type' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/log2ido.c:182:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/logging.c:50:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDEADLK [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/logging.c:77:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/logging.c:56:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] icinga-core-1.14.2/module/idoutils/src/logging.c:159:25: error: Memory leak: temp_path [memleak] icinga-core-1.14.2/module/idoutils/src/logging.c:103:20: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/protonum.c:23:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/protonum.c:24:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/module/idoutils/src/protonum.c:11:8: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/protonum.c:12:8: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/module/idoutils/src/sockdebug.c:63:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/sockdebug.c:64:52: error: Null pointer dereference: (struct sockaddr_un*)0 [nullPointer] icinga-core-1.14.2/module/idoutils/src/sockdebug.c:129:33: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/sockdebug.c:20:13: style: Variable 'new_sd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/utils.c:119:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/module/idoutils/src/utils.c:174:100: style: Condition 'buffer[x]==13' is always false [knownConditionTrueFalse] icinga-core-1.14.2/module/idoutils/src/utils.c:184:100: style: Condition 'buffer[x]==13' is always false [knownConditionTrueFalse] icinga-core-1.14.2/module/idoutils/src/utils.c:52:41: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/utils.c:100:21: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/utils.c:100:35: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/module/idoutils/src/utils.c:56:30: style: Variable 'memory_needed' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/utils.c:103:16: style: Variable 'source_fd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/utils.c:104:14: style: Variable 'dest_fd' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/module/idoutils/src/utils.c:105:17: style: Variable 'bytes_read' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:559:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_OBJECT_CACHE_FILE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:598:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:690:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:1110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_OK [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:1320:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_WARNING [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9050:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9207:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9233:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9271:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9309:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9348:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_WARNING [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9408:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9489:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9561:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9639:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9704:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9754:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:9831:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:14508:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLOG_CONFIG_ERROR [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xodtemplate.c:539:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:542:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:603:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] icinga-core-1.14.2/xdata/xodtemplate.c:818:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:819:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:831:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:832:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:1871:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:1899:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2073:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2226:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2256:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2565:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2587:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2626:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2654:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2659:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2666:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2671:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2676:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2971:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:2997:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:3040:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:3190:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:3216:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:3353:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:3479:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:3485:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:3493:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:3499:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:3505:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9125:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9241:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9278:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9316:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9318:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9417:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9431:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9498:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9510:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9570:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9583:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9597:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9648:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9662:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9763:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:9777:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:14445:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:14468:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:14477:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:14482:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:14489:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] icinga-core-1.14.2/xdata/xodtemplate.c:3805:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3811:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3820:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3826:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3836:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3845:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3870:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3897:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3906:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3933:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3958:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3987:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3999:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] icinga-core-1.14.2/xdata/xodtemplate.c:3802:3: error: Memory leak: input [memleak] icinga-core-1.14.2/xdata/xodtemplate.c:683:3: error: Common realloc mistake: 'xodtemplate_config_files' nulled but not freed upon failure [memleakOnRealloc] icinga-core-1.14.2/xdata/xodtemplate.c:819:8: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/xdata/xodtemplate.c:818:8: note: ptr is assigned icinga-core-1.14.2/xdata/xodtemplate.c:819:8: note: ptr is overwritten icinga-core-1.14.2/xdata/xodtemplate.c:832:8: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] icinga-core-1.14.2/xdata/xodtemplate.c:831:8: note: ptr is assigned icinga-core-1.14.2/xdata/xodtemplate.c:832:8: note: ptr is overwritten icinga-core-1.14.2/xdata/xodtemplate.c:511:8: style: Variable 'var' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:512:8: style: Variable 'val' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:585:17: style: Variable 'dirfile' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:908:47: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/xdata/xodtemplate.c:1176:43: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/xdata/xodtemplate.c:3731:132: style: Parameter 'varname' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/xdata/xodtemplate.c:3731:147: style: Parameter 'varvalue' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/xdata/xodtemplate.c:3772:83: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/xdata/xodtemplate.c:3772:94: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/xdata/xodtemplate.c:4027:253: style: Parameter 'timeranges' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/xdata/xodtemplate.c:4063:45: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/xdata/xodtemplate.c:4064:8: style: Variable 'months' can be declared as const array [constVariable] icinga-core-1.14.2/xdata/xodtemplate.c:4083:47: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/xdata/xodtemplate.c:4084:8: style: Variable 'days' can be declared as const array [constVariable] icinga-core-1.14.2/xdata/xodtemplate.c:9029:13: style: Variable 'new_timerange' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9030:23: style: Variable 'new_timeperiodexclusion' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9145:8: style: Variable 'time_buffer' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9221:18: style: Variable 'new_contactsmember' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9259:15: style: Variable 'new_hostsmember' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9296:18: style: Variable 'new_servicesmember' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9386:18: style: Variable 'new_contactsmember' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9387:23: style: Variable 'new_contactgroupsmember' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9477:18: style: Variable 'new_commandsmember' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9624:18: style: Variable 'new_contactsmember' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9625:23: style: Variable 'new_contactgroupsmember' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9733:18: style: Variable 'new_contactsmember' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:9734:23: style: Variable 'new_contactgroupsmember' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11599:20: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11600:20: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11618:20: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11619:20: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11637:23: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11638:23: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11656:23: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11657:23: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11675:26: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11676:26: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11694:26: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11695:26: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11713:23: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11714:23: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11732:23: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11733:23: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11751:23: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11752:23: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11770:23: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11771:23: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11789:28: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11790:28: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11808:28: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11809:28: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11827:25: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11828:25: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11846:25: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11847:25: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11865:28: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11866:28: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11884:28: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11885:28: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11903:30: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11904:30: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11922:30: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11923:30: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11941:33: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11942:33: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11960:33: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11961:33: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11979:30: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11980:30: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11998:30: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:11999:30: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12017:33: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12018:33: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12036:33: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12037:33: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12055:27: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12056:27: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12074:30: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12075:30: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12092:22: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12093:22: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12110:22: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:12111:22: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:14543:13: style: Variable 'di' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:14593:26: style: Variable 'real_template' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xodtemplate.c:667:17: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3775:12: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3805:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3811:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3820:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3826:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3836:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3845:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3870:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3897:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3906:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3933:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3958:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3987:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:3999:18: style: Variable 'items' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8897:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8917:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8925:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8933:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8941:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8949:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8957:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8965:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8974:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8982:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8990:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:8998:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:9006:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xodtemplate.c:9014:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xpddefault.c:589:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xpddefault.c:612:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xpddefault.c:122:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xpddefault.c:698:82: style: Parameter 'svc' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/xdata/xpddefault.c:740:76: style: Parameter 'hst' can be declared as pointer to const [constParameterPointer] icinga-core-1.14.2/xdata/xrddefault.c:151:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_RETENTION_FILE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xrddefault.c:590:124: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xrddefault.c:1937:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xrddefault.c:285:3: error: Memory leak: temp_file [memleak] icinga-core-1.14.2/xdata/xrddefault.c:292:3: error: Resource handle 'fd' freed twice. [doubleFree] icinga-core-1.14.2/xdata/xrddefault.c:289:15: note: Resource handle 'fd' freed twice. icinga-core-1.14.2/xdata/xrddefault.c:292:3: note: Resource handle 'fd' freed twice. icinga-core-1.14.2/xdata/xrddefault.c:173:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/xdata/xrddefault.c:259:8: style: Variable 'x' is assigned a value that is never used. [unreadVariable] icinga-core-1.14.2/xdata/xsddefault.c:177:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_STATUS_FILE [valueFlowBailoutIncompleteVar] icinga-core-1.14.2/xdata/xsddefault.c:202:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] icinga-core-1.14.2/base/events.c:641:10: error: Null pointer dereference: event [ctunullpointer] icinga-core-1.14.2/base/events.c:742:23: note: Assignment 'event=NULL', assigned value is 0 icinga-core-1.14.2/base/events.c:775:21: note: Calling function display_event_data, 1st argument is null icinga-core-1.14.2/base/events.c:641:10: note: Dereferencing argument event that is null DONE