Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/centreon-engine-19.10.8/inc/compatibility/broker.h
Examining data/centreon-engine-19.10.8/inc/compatibility/comments.h
Examining data/centreon-engine-19.10.8/inc/compatibility/config.h
Examining data/centreon-engine-19.10.8/inc/compatibility/downtime.h
Examining data/centreon-engine-19.10.8/inc/compatibility/embedded_perl.h
Examining data/centreon-engine-19.10.8/inc/compatibility/epn_nagios.h
Examining data/centreon-engine-19.10.8/inc/compatibility/events.h
Examining data/centreon-engine-19.10.8/inc/compatibility/globals.h
Examining data/centreon-engine-19.10.8/inc/compatibility/logging.h
Examining data/centreon-engine-19.10.8/inc/compatibility/macros.h
Examining data/centreon-engine-19.10.8/inc/compatibility/mmap.h
Examining data/centreon-engine-19.10.8/inc/compatibility/nagios.h
Examining data/centreon-engine-19.10.8/inc/compatibility/nebcallbacks.h
Examining data/centreon-engine-19.10.8/inc/compatibility/neberrors.h
Examining data/centreon-engine-19.10.8/inc/compatibility/nebmods.h
Examining data/centreon-engine-19.10.8/inc/compatibility/nebmodules.h
Examining data/centreon-engine-19.10.8/inc/compatibility/nebstructs.h
Examining data/centreon-engine-19.10.8/inc/compatibility/netutils.h
Examining data/centreon-engine-19.10.8/inc/compatibility/objects.h
Examining data/centreon-engine-19.10.8/inc/compatibility/perfdata.h
Examining data/centreon-engine-19.10.8/inc/compatibility/protoapi.h
Examining data/centreon-engine-19.10.8/inc/compatibility/shared.h
Examining data/centreon-engine-19.10.8/inc/compatibility/sighandlers.h
Examining data/centreon-engine-19.10.8/inc/compatibility/sretention.h
Examining data/centreon-engine-19.10.8/inc/compatibility/statusdata.h
Examining data/centreon-engine-19.10.8/inc/compatibility/utils.h
Examining data/centreon-engine-19.10.8/inc/compatibility/xcddefault.h
Examining data/centreon-engine-19.10.8/inc/compatibility/xodtemplate.h
Examining data/centreon-engine-19.10.8/inc/compatibility/xpddefault.h
Examining data/centreon-engine-19.10.8/inc/compatibility/xrddefault.h
Examining data/centreon-engine-19.10.8/inc/compatibility/xsddefault.h
Examining data/centreon-engine-19.10.8/modules/bench/passive/engine_cfg.cc
Examining data/centreon-engine-19.10.8/modules/bench/passive/main.cc
Examining data/centreon-engine-19.10.8/modules/bench/passive/module.cc
Examining data/centreon-engine-19.10.8/modules/bench/plugins/check_sleep.cc
Examining data/centreon-engine-19.10.8/modules/external_commands/src/commands.cc
Examining data/centreon-engine-19.10.8/modules/external_commands/src/internal.cc
Examining data/centreon-engine-19.10.8/modules/external_commands/src/main.cc
Examining data/centreon-engine-19.10.8/modules/external_commands/src/processing.cc
Examining data/centreon-engine-19.10.8/modules/external_commands/src/utils.cc
Examining data/centreon-engine-19.10.8/src/broker.cc
Examining data/centreon-engine-19.10.8/src/broker/compatibility.cc
Examining data/centreon-engine-19.10.8/src/broker/handle.cc
Examining data/centreon-engine-19.10.8/src/broker/loader.cc
Examining data/centreon-engine-19.10.8/src/centenginestats.cc
Examining data/centreon-engine-19.10.8/src/checkable.cc
Examining data/centreon-engine-19.10.8/src/checks.cc
Examining data/centreon-engine-19.10.8/src/checks/checker.cc
Examining data/centreon-engine-19.10.8/src/checks/stats.cc
Examining data/centreon-engine-19.10.8/src/checks/viability_failure.cc
Examining data/centreon-engine-19.10.8/src/commands/command.cc
Examining data/centreon-engine-19.10.8/src/commands/connector.cc
Examining data/centreon-engine-19.10.8/src/commands/environment.cc
Examining data/centreon-engine-19.10.8/src/commands/forward.cc
Examining data/centreon-engine-19.10.8/src/commands/raw.cc
Examining data/centreon-engine-19.10.8/src/commands/result.cc
Examining data/centreon-engine-19.10.8/src/comment.cc
Examining data/centreon-engine-19.10.8/src/compatibility/common.cc
Examining data/centreon-engine-19.10.8/src/compatibility/embedded_perl.cc
Examining data/centreon-engine-19.10.8/src/compatibility/globals.cc
Examining data/centreon-engine-19.10.8/src/compatibility/logging.cc
Examining data/centreon-engine-19.10.8/src/compatibility/mmap.cc
Examining data/centreon-engine-19.10.8/src/compatibility/sighandlers.cc
Examining data/centreon-engine-19.10.8/src/compatibility/utils.cc
Examining data/centreon-engine-19.10.8/src/config.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/command.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/connector.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/contact.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/contactgroup.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/globals.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/host.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/hostdependency.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/hostescalation.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/hostgroup.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/logging.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/macros.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/scheduler.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/service.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/servicedependency.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/serviceescalation.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/servicegroup.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/state.cc
Examining data/centreon-engine-19.10.8/src/configuration/applier/timeperiod.cc
Examining data/centreon-engine-19.10.8/src/configuration/command.cc
Examining data/centreon-engine-19.10.8/src/configuration/connector.cc
Examining data/centreon-engine-19.10.8/src/configuration/contact.cc
Examining data/centreon-engine-19.10.8/src/configuration/contactgroup.cc
Examining data/centreon-engine-19.10.8/src/configuration/daterange.cc
Examining data/centreon-engine-19.10.8/src/configuration/group.cc
Examining data/centreon-engine-19.10.8/src/configuration/host.cc
Examining data/centreon-engine-19.10.8/src/configuration/hostdependency.cc
Examining data/centreon-engine-19.10.8/src/configuration/hostescalation.cc
Examining data/centreon-engine-19.10.8/src/configuration/hostextinfo.cc
Examining data/centreon-engine-19.10.8/src/configuration/hostgroup.cc
Examining data/centreon-engine-19.10.8/src/configuration/object.cc
Examining data/centreon-engine-19.10.8/src/configuration/parser.cc
Examining data/centreon-engine-19.10.8/src/configuration/point_2d.cc
Examining data/centreon-engine-19.10.8/src/configuration/point_3d.cc
Examining data/centreon-engine-19.10.8/src/configuration/service.cc
Examining data/centreon-engine-19.10.8/src/configuration/servicedependency.cc
Examining data/centreon-engine-19.10.8/src/configuration/serviceescalation.cc
Examining data/centreon-engine-19.10.8/src/configuration/serviceextinfo.cc
Examining data/centreon-engine-19.10.8/src/configuration/servicegroup.cc
Examining data/centreon-engine-19.10.8/src/configuration/state.cc
Examining data/centreon-engine-19.10.8/src/configuration/timeperiod.cc
Examining data/centreon-engine-19.10.8/src/configuration/timerange.cc
Examining data/centreon-engine-19.10.8/src/contact.cc
Examining data/centreon-engine-19.10.8/src/contactgroup.cc
Examining data/centreon-engine-19.10.8/src/customvariable.cc
Examining data/centreon-engine-19.10.8/src/daterange.cc
Examining data/centreon-engine-19.10.8/src/deleter/hostsmember.cc
Examining data/centreon-engine-19.10.8/src/deleter/serviceescalation.cc
Examining data/centreon-engine-19.10.8/src/deleter/timedevent.cc
Examining data/centreon-engine-19.10.8/src/dependency.cc
Examining data/centreon-engine-19.10.8/src/diagnostic.cc
Examining data/centreon-engine-19.10.8/src/downtimes/downtime.cc
Examining data/centreon-engine-19.10.8/src/downtimes/downtime_finder.cc
Examining data/centreon-engine-19.10.8/src/downtimes/downtime_manager.cc
Examining data/centreon-engine-19.10.8/src/downtimes/host_downtime.cc
Examining data/centreon-engine-19.10.8/src/downtimes/service_downtime.cc
Examining data/centreon-engine-19.10.8/src/error.cc
Examining data/centreon-engine-19.10.8/src/escalation.cc
Examining data/centreon-engine-19.10.8/src/events/loop.cc
Examining data/centreon-engine-19.10.8/src/events/sched_info.cc
Examining data/centreon-engine-19.10.8/src/events/timed_event.cc
Examining data/centreon-engine-19.10.8/src/flapping.cc
Examining data/centreon-engine-19.10.8/src/globals.cc
Examining data/centreon-engine-19.10.8/src/host.cc
Examining data/centreon-engine-19.10.8/src/hostdependency.cc
Examining data/centreon-engine-19.10.8/src/hostescalation.cc
Examining data/centreon-engine-19.10.8/src/hostgroup.cc
Examining data/centreon-engine-19.10.8/src/logging/broker.cc
Examining data/centreon-engine-19.10.8/src/logging/debug_file.cc
Examining data/centreon-engine-19.10.8/src/macros.cc
Examining data/centreon-engine-19.10.8/src/macros/clear_host.cc
Examining data/centreon-engine-19.10.8/src/macros/clear_hostgroup.cc
Examining data/centreon-engine-19.10.8/src/macros/clear_service.cc
Examining data/centreon-engine-19.10.8/src/macros/clear_servicegroup.cc
Examining data/centreon-engine-19.10.8/src/macros/grab_host.cc
Examining data/centreon-engine-19.10.8/src/macros/grab_service.cc
Examining data/centreon-engine-19.10.8/src/macros/grab_value.cc
Examining data/centreon-engine-19.10.8/src/macros/misc.cc
Examining data/centreon-engine-19.10.8/src/macros/process.cc
Examining data/centreon-engine-19.10.8/src/main.cc
Examining data/centreon-engine-19.10.8/src/nebmods.cc
Examining data/centreon-engine-19.10.8/src/notification.cc
Examining data/centreon-engine-19.10.8/src/notifier.cc
Examining data/centreon-engine-19.10.8/src/retention/applier/comment.cc
Examining data/centreon-engine-19.10.8/src/retention/applier/contact.cc
Examining data/centreon-engine-19.10.8/src/retention/applier/downtime.cc
Examining data/centreon-engine-19.10.8/src/retention/applier/host.cc
Examining data/centreon-engine-19.10.8/src/retention/applier/program.cc
Examining data/centreon-engine-19.10.8/src/retention/applier/service.cc
Examining data/centreon-engine-19.10.8/src/retention/applier/state.cc
Examining data/centreon-engine-19.10.8/src/retention/applier/utils.cc
Examining data/centreon-engine-19.10.8/src/retention/comment.cc
Examining data/centreon-engine-19.10.8/src/retention/contact.cc
Examining data/centreon-engine-19.10.8/src/retention/downtime.cc
Examining data/centreon-engine-19.10.8/src/retention/dump.cc
Examining data/centreon-engine-19.10.8/src/retention/host.cc
Examining data/centreon-engine-19.10.8/src/retention/info.cc
Examining data/centreon-engine-19.10.8/src/retention/object.cc
Examining data/centreon-engine-19.10.8/src/retention/parser.cc
Examining data/centreon-engine-19.10.8/src/retention/program.cc
Examining data/centreon-engine-19.10.8/src/retention/service.cc
Examining data/centreon-engine-19.10.8/src/retention/state.cc
Examining data/centreon-engine-19.10.8/src/sehandlers.cc
Examining data/centreon-engine-19.10.8/src/service.cc
Examining data/centreon-engine-19.10.8/src/servicedependency.cc
Examining data/centreon-engine-19.10.8/src/serviceescalation.cc
Examining data/centreon-engine-19.10.8/src/servicegroup.cc
Examining data/centreon-engine-19.10.8/src/shared.cc
Examining data/centreon-engine-19.10.8/src/statusdata.cc
Examining data/centreon-engine-19.10.8/src/string.cc
Examining data/centreon-engine-19.10.8/src/timeperiod.cc
Examining data/centreon-engine-19.10.8/src/timerange.cc
Examining data/centreon-engine-19.10.8/src/timezone_locker.cc
Examining data/centreon-engine-19.10.8/src/timezone_manager.cc
Examining data/centreon-engine-19.10.8/src/utils.cc
Examining data/centreon-engine-19.10.8/src/xpddefault.cc
Examining data/centreon-engine-19.10.8/src/xsddefault.cc
Examining data/centreon-engine-19.10.8/test/broker/compatibility.cc
Examining data/centreon-engine-19.10.8/test/broker/handle.cc
Examining data/centreon-engine-19.10.8/test/broker/loader.cc
Examining data/centreon-engine-19.10.8/test/broker/mod_compatibility.cc
Examining data/centreon-engine-19.10.8/test/broker/mod_load.cc
Examining data/centreon-engine-19.10.8/test/broker/nebmodule.cc
Examining data/centreon-engine-19.10.8/test/commands/bin_connector_test_run.cc
Examining data/centreon-engine-19.10.8/test/commands/bin_test_run.cc
Examining data/centreon-engine-19.10.8/test/commands/connector_compare.cc
Examining data/centreon-engine-19.10.8/test/commands/connector_ctor.cc
Examining data/centreon-engine-19.10.8/test/commands/connector_get.cc
Examining data/centreon-engine-19.10.8/test/commands/connector_restart.cc
Examining data/centreon-engine-19.10.8/test/commands/connector_run_async.cc
Examining data/centreon-engine-19.10.8/test/commands/connector_run_sync.cc
Examining data/centreon-engine-19.10.8/test/commands/environment_add.cc
Examining data/centreon-engine-19.10.8/test/commands/environment_compare.cc
Examining data/centreon-engine-19.10.8/test/commands/environment_ctor.cc
Examining data/centreon-engine-19.10.8/test/commands/raw_compare.cc
Examining data/centreon-engine-19.10.8/test/commands/raw_ctor.cc
Examining data/centreon-engine-19.10.8/test/commands/raw_get.cc
Examining data/centreon-engine-19.10.8/test/commands/raw_process.cc
Examining data/centreon-engine-19.10.8/test/commands/raw_run_async.cc
Examining data/centreon-engine-19.10.8/test/commands/raw_run_sync.cc
Examining data/centreon-engine-19.10.8/test/commands/result_compare.cc
Examining data/centreon-engine-19.10.8/test/commands/result_ctor.cc
Examining data/centreon-engine-19.10.8/test/commands/set_basic.cc
Examining data/centreon-engine-19.10.8/test/configuration/applier/check_command_interval.cc
Examining data/centreon-engine-19.10.8/test/configuration/applier/check_compatibility.cc
Examining data/centreon-engine-19.10.8/test/configuration/applier/check_scheduler.cc
Examining data/centreon-engine-19.10.8/test/configuration/applier/events.cc
Examining data/centreon-engine-19.10.8/test/configuration/applier/mod_checkinvalid.cc
Examining data/centreon-engine-19.10.8/test/configuration/applier/mod_checkmodify.cc
Examining data/centreon-engine-19.10.8/test/configuration/applier/remove_objects.cc
Examining data/centreon-engine-19.10.8/test/configuration/applier/resource.cc
Examining data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc
Examining data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc
Examining data/centreon-engine-19.10.8/test/configuration/basic.cc
Examining data/centreon-engine-19.10.8/test/configuration/objects_copy.cc
Examining data/centreon-engine-19.10.8/test/configuration/parsing.cc
Examining data/centreon-engine-19.10.8/test/core/get_next_valid_time.cc
Examining data/centreon-engine-19.10.8/test/error/assignment.cc
Examining data/centreon-engine-19.10.8/test/error/copy_ctor.cc
Examining data/centreon-engine-19.10.8/test/error/insert_char.cc
Examining data/centreon-engine-19.10.8/test/error/insert_char_array.cc
Examining data/centreon-engine-19.10.8/test/error/insert_integer.cc
Examining data/centreon-engine-19.10.8/test/error/insert_long.cc
Examining data/centreon-engine-19.10.8/test/error/insert_long_long.cc
Examining data/centreon-engine-19.10.8/test/error/insert_mixed.cc
Examining data/centreon-engine-19.10.8/test/error/insert_string.cc
Examining data/centreon-engine-19.10.8/test/error/insert_unsigned_integer.cc
Examining data/centreon-engine-19.10.8/test/error/insert_unsigned_long_long.cc
Examining data/centreon-engine-19.10.8/test/events/handle_timed_event.cc
Examining data/centreon-engine-19.10.8/test/logging/broker_log.cc
Examining data/centreon-engine-19.10.8/test/logging/broker_show_info.cc
Examining data/centreon-engine-19.10.8/test/logging/dummymod.cc
Examining data/centreon-engine-19.10.8/test/logging/engine.cc
Examining data/centreon-engine-19.10.8/test/logging/test.cc
Examining data/centreon-engine-19.10.8/test/macros/grab_standard_host_macro.cc
Examining data/centreon-engine-19.10.8/test/macros/grab_standard_service_macro.cc
Examining data/centreon-engine-19.10.8/test/macros/minimal_setup.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/acknowledge_host_problem.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/acknowledge_svc_problem.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/add_host_comment.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/add_svc_comment.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_contact_host_notification_timeperiod.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_contact_modattr.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_contact_modhattr.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_contact_modsattr.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_contact_svc_notification_timeperiod.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_custom_contact_var.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_custom_host_var.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_custom_svc_var.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_global_host_event_handler.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_global_svc_event_handler.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_host_check_command.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_host_check_timeperiod.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_host_event_handler.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_host_modattr.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_host_notification_timeperiod.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_max_host_check_attempts.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_max_svc_check_attempts.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_normal_host_check_interval.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_normal_svc_check_interval.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_retry_host_check_interval.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_retry_svc_check_interval.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_svc_check_command.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_svc_check_timeperiod.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_svc_event_handler.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_svc_modattr.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/change_svc_notification_timeperiod.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/del_all_host_comments.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/del_all_svc_comments.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/del_downtime_by_host_name.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/del_downtime_by_hostgroup_name.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/del_downtime_by_start_time_comment.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/del_host_comment.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/del_host_downtime.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/del_svc_comment.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/del_svc_downtime.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/delay_host_notification.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/delay_svc_notification.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_all_notifications_beyond_host.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_contact_host_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_contact_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_contactgroup_host_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_contactgroup_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_event_handlers.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_flap_detection.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_host_and_child_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_host_check.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_host_event_handler.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_host_flap_detection.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_host_freshness_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_host_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_host_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_host_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_hostgroup_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_hostgroup_host_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_hostgroup_passive_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_hostgroup_passive_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_hostgroup_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_hostgroup_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_passive_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_passive_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_performance_data.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_service_freshness_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_servicegroup_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_servicegroup_host_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_servicegroup_passive_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_servicegroup_passive_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_servicegroup_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_servicegroup_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_svc_check.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_svc_event_handler.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_svc_flap_detection.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/disable_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_all_notifications_beyond_host.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_contact_host_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_contact_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_contactgroup_host_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_contactgroup_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_event_handlers.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_flap_detection.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_host_and_child_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_host_check.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_host_event_handler.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_host_flap_detection.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_host_freshness_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_host_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_host_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_host_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_hostgroup_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_hostgroup_host_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_hostgroup_passive_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_hostgroup_passive_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_hostgroup_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_hostgroup_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_passive_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_passive_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_performance_data.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_service_freshness_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_servicegroup_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_servicegroup_host_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_servicegroup_passive_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_servicegroup_passive_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_servicegroup_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_servicegroup_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_svc_check.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_svc_event_handler.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_svc_flap_detection.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enable_svc_notifications.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enter_active_mode.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/enter_standby_mode.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/flush_pending_commands.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/process_file.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/process_host_check_result.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/process_service_check_result.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/read_state_information.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/remove_host_acknowledgement.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/remove_svc_acknowledgement.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/restart_process.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/restart_program.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/save_state_information.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_and_propagate_host_downtime.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_and_propagate_triggered_host_downtime.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_forced_host_check.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_forced_host_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_forced_svc_check.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_host_check.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_host_downtime.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_host_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_host_svc_downtime.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_hostgroup_host_downtime.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_hostgroup_svc_downtime.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_servicegroup_host_downtime.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_servicegroup_svc_downtime.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_svc_check.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/schedule_svc_downtime.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/send_custom_host_notification.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/send_custom_svc_notification.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/set_host_notification_number.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/set_svc_notification_number.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/shutdown_process.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/shutdown_program.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/start_accepting_passive_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/start_accepting_passive_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/start_executing_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/start_executing_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/start_obsessing_over_host.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/start_obsessing_over_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/start_obsessing_over_svc.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/start_obsessing_over_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/stop_accepting_passive_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/stop_accepting_passive_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/stop_executing_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/stop_executing_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/stop_obsessing_over_host.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/stop_obsessing_over_host_checks.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/stop_obsessing_over_svc.cc
Examining data/centreon-engine-19.10.8/test/modules/external_commands/stop_obsessing_over_svc_checks.cc
Examining data/centreon-engine-19.10.8/test/notifications/escalations.cc
Examining data/centreon-engine-19.10.8/test/notifications/first_notif_delay/common.cc
Examining data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host.cc
Examining data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host_recovery.cc
Examining data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service.cc
Examining data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service_recovery.cc
Examining data/centreon-engine-19.10.8/test/objects/dump.cc
Examining data/centreon-engine-19.10.8/test/retention/comment.cc
Examining data/centreon-engine-19.10.8/test/retention/contact.cc
Examining data/centreon-engine-19.10.8/test/retention/downtime.cc
Examining data/centreon-engine-19.10.8/test/retention/info.cc
Examining data/centreon-engine-19.10.8/test/retention/program.cc
Examining data/centreon-engine-19.10.8/test/running/centengine_must_run.cc
Examining data/centreon-engine-19.10.8/test/running/log_without_pid.cc
Examining data/centreon-engine-19.10.8/test/running/logs_for_modules.cc
Examining data/centreon-engine-19.10.8/test/running/modules_symbols.cc
Examining data/centreon-engine-19.10.8/test/running/modules_symbols_checker.cc
Examining data/centreon-engine-19.10.8/test/running/precache_file_generation.cc
Examining data/centreon-engine-19.10.8/tests/commands/bin_connector_test_run.cc
Examining data/centreon-engine-19.10.8/tests/commands/connector.cc
Examining data/centreon-engine-19.10.8/tests/commands/simple-command.cc
Examining data/centreon-engine-19.10.8/tests/configuration/applier/applier-command.cc
Examining data/centreon-engine-19.10.8/tests/configuration/applier/applier-connector.cc
Examining data/centreon-engine-19.10.8/tests/configuration/applier/applier-contact.cc
Examining data/centreon-engine-19.10.8/tests/configuration/applier/applier-contactgroup.cc
Examining data/centreon-engine-19.10.8/tests/configuration/applier/applier-host.cc
Examining data/centreon-engine-19.10.8/tests/configuration/applier/applier-hostdependency.cc
Examining data/centreon-engine-19.10.8/tests/configuration/applier/applier-hostescalation.cc
Examining data/centreon-engine-19.10.8/tests/configuration/applier/applier-hostgroup.cc
Examining data/centreon-engine-19.10.8/tests/configuration/applier/applier-service.cc
Examining data/centreon-engine-19.10.8/tests/configuration/applier/applier-serviceescalation.cc
Examining data/centreon-engine-19.10.8/tests/configuration/applier/applier-servicegroup.cc
Examining data/centreon-engine-19.10.8/tests/configuration/contact.cc
Examining data/centreon-engine-19.10.8/tests/configuration/host.cc
Examining data/centreon-engine-19.10.8/tests/configuration/object.cc
Examining data/centreon-engine-19.10.8/tests/configuration/service.cc
Examining data/centreon-engine-19.10.8/tests/contacts/contactgroup-config.cc
Examining data/centreon-engine-19.10.8/tests/contacts/simple-contactgroup.cc
Examining data/centreon-engine-19.10.8/tests/downtimes/downtime.cc
Examining data/centreon-engine-19.10.8/tests/downtimes/downtime_finder.cc
Examining data/centreon-engine-19.10.8/tests/external_commands/host.cc
Examining data/centreon-engine-19.10.8/tests/external_commands/service.cc
Examining data/centreon-engine-19.10.8/tests/macros/url_encode.cc
Examining data/centreon-engine-19.10.8/tests/main.cc
Examining data/centreon-engine-19.10.8/tests/notifications/host_downtime_notification.cc
Examining data/centreon-engine-19.10.8/tests/notifications/host_flapping_notification.cc
Examining data/centreon-engine-19.10.8/tests/notifications/host_normal_notification.cc
Examining data/centreon-engine-19.10.8/tests/notifications/host_recovery_notification.cc
Examining data/centreon-engine-19.10.8/tests/notifications/service_flapping_notification.cc
Examining data/centreon-engine-19.10.8/tests/notifications/service_normal_notification.cc
Examining data/centreon-engine-19.10.8/tests/parse-check-output.cc
Examining data/centreon-engine-19.10.8/tests/perfdata/perfdata.cc
Examining data/centreon-engine-19.10.8/tests/retention/dump.cc
Examining data/centreon-engine-19.10.8/tests/retention/host.cc
Examining data/centreon-engine-19.10.8/tests/retention/service.cc
Examining data/centreon-engine-19.10.8/tests/test_engine.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/between_two_years.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/calendar_date.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/dst_backward.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/dst_forward.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/earliest_daterange_first.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/exclusion.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/generic_month_date.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/normal_weekday.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/offset_weekday_of_generic_month.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/offset_weekday_of_specific_month.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/precedence.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/skip_interval.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/get_next_valid_time/specific_month_date.cc
Examining data/centreon-engine-19.10.8/tests/timeperiod/utils.cc

FINAL RESULTS:

data/centreon-engine-19.10.8/modules/bench/passive/engine_cfg.cc:134:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (!access(potential_modules[i], F_OK))
data/centreon-engine-19.10.8/modules/bench/passive/main.cc:152:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    while (access(cfg_files.command_file().c_str(), F_OK))
data/centreon-engine-19.10.8/src/compatibility/mmap.cc:173:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(buf, stripped);
data/centreon-engine-19.10.8/src/error.cc:237:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  if (snprintf(
data/centreon-engine-19.10.8/src/logging/broker.cc:114:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(copy.get(), message);
data/centreon-engine-19.10.8/test/commands/raw_process.cc:48:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(macros.argv[0], CMD_ARG1);
data/centreon-engine-19.10.8/test/commands/raw_process.cc:58:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(hst.address, CMD_HOSTADDR);
data/centreon-engine-19.10.8/test/commands/raw_run_async.cc:96:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(mac.argv[0], argv);
data/centreon-engine-19.10.8/test/commands/raw_run_sync.cc:88:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(mac.argv[0], argv);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2422:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(temp_contactgroup->members, value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2439:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(temp_contactgroup->contactgroup_members, value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2526:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(temp_hostgroup->members, value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2543:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(temp_hostgroup->hostgroup_members, value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2644:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(temp_servicegroup->members, value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2661:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(temp_servicegroup->servicegroup_members, value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3706:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(input, var);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3708:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(input, val);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8844:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(temp_contactgroup->members, temp_contact->contact_name);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8902:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(temp_contactgroup->members, this_memberlist->name1);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8968:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(temp_contactgroup->members, newmembers);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9072:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(temp_hostgroup->members, temp_host->host_name);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9144:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(temp_hostgroup->members, this_memberlist->name1);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9223:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(temp_hostgroup->members, newmembers);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9309:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(temp_servicegroup->members, temp_service->host_name);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9311:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(temp_servicegroup->members, temp_service->service_description);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9321:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(temp_servicegroup->members, temp_service->host_name);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9323:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9412:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(temp_servicegroup->members, this_memberlist->name1);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9414:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(temp_servicegroup->members, this_memberlist->name2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9424:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(temp_servicegroup->members, this_memberlist->name1);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9426:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(temp_servicegroup->members, this_memberlist->name2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9513:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(temp_servicegroup->members, newmembers);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15700:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(buf, this_list->name1);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15707:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(buf, this_list->name1);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15912:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(buf, this_list->name1);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15919:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(buf, this_list->name1);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16130:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(buf, this_list->name1);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16137:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(buf, this_list->name1);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16330:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy(buf, *template_value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16332:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(buf, *this_value + 1);
data/centreon-engine-19.10.8/modules/bench/passive/engine_cfg.cc:51:16:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  _directory = tmpnam(NULL);
data/centreon-engine-19.10.8/modules/bench/passive/main.cc:43:3:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srandom(getpid());
data/centreon-engine-19.10.8/modules/bench/passive/main.cc:76:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long(
data/centreon-engine-19.10.8/modules/bench/passive/main.cc:83:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt(argc, argv, "+?h:M:s:H:S:c:e:m:")) != -1) {
data/centreon-engine-19.10.8/modules/bench/passive/main.cc:176:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          int service_id(random() % passiveservices + 1);
data/centreon-engine-19.10.8/modules/bench/passive/main.cc:179:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
              << service_id << ";" << random() % 4 << ";output\n";
data/centreon-engine-19.10.8/modules/bench/passive/main.cc:233:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      int service_id(random() % passiveservices + 1);
data/centreon-engine-19.10.8/modules/bench/passive/main.cc:236:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                << service_id << ";" << random() % 4 << ";output\n";
data/centreon-engine-19.10.8/modules/bench/plugins/check_sleep.cc:48:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((opt = getopt(argc, argv, "s:t:l:")) != -1) {
data/centreon-engine-19.10.8/modules/bench/plugins/check_sleep.cc:70:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(getpid());
data/centreon-engine-19.10.8/src/centenginestats.cc:248:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long(
data/centreon-engine-19.10.8/src/centenginestats.cc:255:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt(argc, argv, "+hVLc:s:");
data/centreon-engine-19.10.8/src/main.cc:130:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((c = getopt_long(
data/centreon-engine-19.10.8/src/main.cc:137:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((c = getopt(argc, argv, "+hVvsxD")) != -1) {
data/centreon-engine-19.10.8/src/timezone_manager.cc:122:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char* old_tz(getenv("TZ"));
data/centreon-engine-19.10.8/test/commands/bin_test_run.cc:57:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char const* arg = getenv("NAGIOS_ARG1");
data/centreon-engine-19.10.8/test/configuration/basic.cc:41:12:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  return ((random() % (max - min + 1)) + min);
data/centreon-engine-19.10.8/test/configuration/basic.cc:51:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  return ((max - min) * ((float)random() / (float)RAND_MAX) + min);
data/centreon-engine-19.10.8/test/configuration/basic.cc:584:3:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srandom(time(NULL));
data/centreon-engine-19.10.8/test/configuration/basic.cc:587:33:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  char const* mainconf_path_ptr(tmpnam(NULL));
data/centreon-engine-19.10.8/test/configuration/basic.cc:592:33:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  char const* resource_path_ptr(tmpnam(NULL));
data/centreon-engine-19.10.8/modules/bench/passive/engine_cfg.cc:201:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ofs.open(target.c_str());
data/centreon-engine-19.10.8/modules/bench/passive/main.cc:163:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      ofs.open(cfg_files.command_file().c_str());
data/centreon-engine-19.10.8/modules/bench/plugins/check_sleep.cc:51:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      status = atoi(optarg);
data/centreon-engine-19.10.8/modules/bench/plugins/check_sleep.cc:55:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      timeout = atoi(optarg);
data/centreon-engine-19.10.8/modules/bench/plugins/check_sleep.cc:59:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      last_state = atoi(optarg);
data/centreon-engine-19.10.8/modules/external_commands/src/commands.cc:211:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  persistent = atoi(temp_ptr);
data/centreon-engine-19.10.8/modules/external_commands/src/commands.cc:810:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type = atoi(temp_ptr);
data/centreon-engine-19.10.8/modules/external_commands/src/commands.cc:815:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  notify = (atoi(temp_ptr) > 0) ? true : false;
data/centreon-engine-19.10.8/modules/external_commands/src/commands.cc:820:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  persistent = (atoi(temp_ptr) > 0) ? true : false;
data/centreon-engine-19.10.8/modules/external_commands/src/commands.cc:991:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  fixed = atoi(temp_ptr);
data/centreon-engine-19.10.8/modules/external_commands/src/commands.cc:2308:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atoi(temp_ptr) == 0)
data/centreon-engine-19.10.8/modules/external_commands/src/processing.cc:413:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    set_host_notification_number(hst, atoi(args));
data/centreon-engine-19.10.8/modules/external_commands/src/processing.cc:421:60:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                static_cast<notifier::notification_option>(atoi(buf[0])));
data/centreon-engine-19.10.8/modules/external_commands/src/processing.cc:489:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    set_service_notification_number(svc, atoi(str));
data/centreon-engine-19.10.8/modules/external_commands/src/processing.cc:498:60:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                static_cast<notifier::notification_option>(atoi(buf[0])));
data/centreon-engine-19.10.8/modules/external_commands/src/utils.cc:81:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((command_file_fd = open(config->command_file().c_str(), O_RDWR | O_NONBLOCK)) < 0) {
data/centreon-engine-19.10.8/modules/external_commands/src/utils.cc:240:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char input_buffer[MAX_EXTERNAL_COMMAND_LENGTH];
data/centreon-engine-19.10.8/src/broker/handle.cc:225:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void handle::open() {
data/centreon-engine-19.10.8/src/broker/handle.cc:265:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void handle::open(
data/centreon-engine-19.10.8/src/broker/handle.cc:274:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open();
data/centreon-engine-19.10.8/src/broker/loader.cc:138:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      module->open();
data/centreon-engine-19.10.8/src/centenginestats.cc:551:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char temp_buffer[MAX_INPUT_BUFFER];
data/centreon-engine-19.10.8/src/centenginestats.cc:556:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(main_config_file, "r");
data/centreon-engine-19.10.8/src/centenginestats.cc:587:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char temp_buffer[MAX_INPUT_BUFFER];
data/centreon-engine-19.10.8/src/centenginestats.cc:609:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(status_file, "r");
data/centreon-engine-19.10.8/src/centenginestats.cc:937:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          total_external_command_buffer_slots = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:939:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          used_external_command_buffer_slots = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:941:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          high_external_command_buffer_slots = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:946:54:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_scheduled_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:948:54:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_scheduled_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:950:55:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_scheduled_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:954:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_ondemand_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:956:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_ondemand_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:958:54:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_ondemand_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:962:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_cached_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:964:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_cached_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:966:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_cached_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:970:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            passive_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:972:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            passive_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:974:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            passive_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:978:57:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_scheduled_service_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:980:57:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_scheduled_service_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:982:58:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_scheduled_service_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:986:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_ondemand_service_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:988:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_ondemand_service_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:990:57:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_ondemand_service_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:994:54:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_cached_service_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:996:54:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_cached_service_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:998:55:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            active_cached_service_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1002:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            passive_service_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1004:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            passive_service_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1006:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            passive_service_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1010:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            external_commands_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1012:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            external_commands_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1014:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            external_commands_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1018:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            parallel_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1020:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            parallel_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1022:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            parallel_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1026:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            serial_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1028:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            serial_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1030:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            serial_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1042:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          check_type = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1044:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          current_state = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1046:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          is_flapping = (atoi(val) > 0) ? true : false;
data/centreon-engine-19.10.8/src/centenginestats.cc:1048:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          downtime_depth = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1052:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          has_been_checked = (atoi(val) > 0) ? true : false;
data/centreon-engine-19.10.8/src/centenginestats.cc:1054:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          should_be_scheduled = (atoi(val) > 0) ? true : false;
data/centreon-engine-19.10.8/src/centenginestats.cc:1065:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          check_type = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1067:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          current_state = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1069:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          is_flapping = (atoi(val) > 0) ? true : false;
data/centreon-engine-19.10.8/src/centenginestats.cc:1071:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          downtime_depth = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1075:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          has_been_checked = (atoi(val) > 0) ? true : false;
data/centreon-engine-19.10.8/src/centenginestats.cc:1077:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          should_be_scheduled = (atoi(val) > 0) ? true : false;
data/centreon-engine-19.10.8/src/centenginestats.cc:1091:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char temp_buffer[MAX_INPUT_BUFFER];
data/centreon-engine-19.10.8/src/centenginestats.cc:1100:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(stats_file, "r");
data/centreon-engine-19.10.8/src/centenginestats.cc:1128:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      total_external_command_buffer_slots = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1130:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      used_external_command_buffer_slots = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1132:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      high_external_command_buffer_slots = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1137:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_scheduled_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1139:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_scheduled_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1141:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_scheduled_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1145:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_ondemand_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1147:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_ondemand_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1149:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_ondemand_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1153:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_cached_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1155:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_cached_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1157:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_cached_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1161:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1163:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1165:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1169:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_scheduled_service_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1171:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_scheduled_service_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1173:54:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_scheduled_service_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1177:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_ondemand_service_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1179:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_ondemand_service_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1181:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_ondemand_service_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1185:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_cached_service_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1187:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_cached_service_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1189:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_cached_service_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1193:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_service_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1195:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_service_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1197:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_service_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1201:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        external_commands_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1203:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        external_commands_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1205:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        external_commands_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1209:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        parallel_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1211:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        parallel_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1213:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        parallel_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1217:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        serial_host_checks_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1219:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        serial_host_checks_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1221:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        serial_host_checks_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1226:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      status_host_entries = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1228:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      hosts_checked = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1230:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      hosts_scheduled = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1232:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      hosts_flapping = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1234:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      hosts_in_downtime = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1236:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      hosts_up = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1238:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      hosts_down = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1240:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      hosts_unreachable = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1242:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      active_host_checks = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1244:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      passive_host_checks = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1279:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_hosts_checked_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1281:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_hosts_checked_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1283:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_hosts_checked_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1285:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_hosts_checked_last_1hour = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1305:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_hosts_checked_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1307:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_hosts_checked_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1309:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_hosts_checked_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1311:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_hosts_checked_last_1hour = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1316:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      status_service_entries = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1318:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      services_checked = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1320:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      services_scheduled = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1322:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      services_flapping = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1324:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      services_in_downtime = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1326:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      services_ok = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1328:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      services_warning = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1330:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      services_critical = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1332:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      services_unknown = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1334:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      active_service_checks = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1336:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      passive_service_checks = atoi(val);
data/centreon-engine-19.10.8/src/centenginestats.cc:1371:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_services_checked_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1373:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_services_checked_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1375:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_services_checked_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1377:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        active_services_checked_last_1hour = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1397:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_services_checked_last_1min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1399:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_services_checked_last_5min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1401:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_services_checked_last_15min = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/centenginestats.cc:1403:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        passive_services_checked_last_1hour = atoi(temp_ptr);
data/centreon-engine-19.10.8/src/commands/environment.cc:115:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(_buffer + _pos_buffer, line, size + 1);
data/centreon-engine-19.10.8/src/commands/environment.cc:142:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(_buffer + _pos_buffer, name, size_name + 1);
data/centreon-engine-19.10.8/src/commands/environment.cc:144:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(_buffer + _pos_buffer + size_name + 1, value, size_value + 1);
data/centreon-engine-19.10.8/src/commands/environment.cc:168:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(_buffer + _pos_buffer, line.c_str(), line.size() + 1);
data/centreon-engine-19.10.8/src/commands/environment.cc:195:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(_buffer + _pos_buffer, name.c_str(), name.size() + 1);
data/centreon-engine-19.10.8/src/commands/environment.cc:197:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(
data/centreon-engine-19.10.8/src/commands/environment.cc:231:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(_buffer, right._buffer, _pos_buffer);
data/centreon-engine-19.10.8/src/commands/environment.cc:249:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(new_buffer, _buffer, _pos_buffer);
data/centreon-engine-19.10.8/src/commands/environment.cc:269:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(new_env, _env, sizeof(*new_env) * (_pos_env + 1));
data/centreon-engine-19.10.8/src/compatibility/logging.cc:52:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char const* type_str(tab_initial_state[type]);
data/centreon-engine-19.10.8/src/compatibility/logging.cc:71:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char const* type_str(tab_initial_state[type]);
data/centreon-engine-19.10.8/src/compatibility/mmap.cc:40:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd(open(filename, O_RDONLY));
data/centreon-engine-19.10.8/src/compatibility/mmap.cc:126:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(
data/centreon-engine-19.10.8/src/compatibility/mmap.cc:162:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(buf, tempbuf, len);
data/centreon-engine-19.10.8/src/configuration/timeperiod.cc:462:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[4][4096];
data/centreon-engine-19.10.8/src/diagnostic.cc:337:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fs.open(out_file, "w");
data/centreon-engine-19.10.8/src/downtimes/host_downtime.cc:195:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char start_time_string[MAX_DATETIME_LENGTH] = "";
data/centreon-engine-19.10.8/src/downtimes/host_downtime.cc:196:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char end_time_string[MAX_DATETIME_LENGTH] = "";
data/centreon-engine-19.10.8/src/downtimes/service_downtime.cc:213:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char start_time_string[MAX_DATETIME_LENGTH] = "";
data/centreon-engine-19.10.8/src/downtimes/service_downtime.cc:214:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char end_time_string[MAX_DATETIME_LENGTH] = "";
data/centreon-engine-19.10.8/src/error.cc:55:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(_buffer, e._buffer, _current * sizeof(*_buffer));
data/centreon-engine-19.10.8/src/error.cc:73:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(_buffer, e._buffer, _current * sizeof(*_buffer));
data/centreon-engine-19.10.8/src/error.cc:85:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[2];
data/centreon-engine-19.10.8/src/error.cc:110:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(_buffer + _current, str, to_copy * sizeof(*_buffer));
data/centreon-engine-19.10.8/src/logging/broker.cc:44:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open();
data/centreon-engine-19.10.8/src/logging/broker.cc:136:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void broker::open() {
data/centreon-engine-19.10.8/src/macros.cc:296:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp_date[MAX_DATETIME_LENGTH];
data/centreon-engine-19.10.8/src/macros/grab_value.cc:1110:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    x = atoi(macro_name.c_str() + 3);
data/centreon-engine-19.10.8/src/macros/grab_value.cc:1124:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    x = atoi(macro_name.c_str() + 4);
data/centreon-engine-19.10.8/src/macros/grab_value.cc:1140:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    x = atoi(macro_name.c_str() + 14) - 1;
data/centreon-engine-19.10.8/src/nebmods.cc:137:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    module->open();
data/centreon-engine-19.10.8/src/shared.cc:175:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char const* weekdays[7] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
data/centreon-engine-19.10.8/src/shared.cc:176:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char const* months[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec" };
data/centreon-engine-19.10.8/src/string.cc:44:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char c(line[0]);
data/centreon-engine-19.10.8/src/utils.cc:163:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char temp_arg[MAX_COMMAND_BUFFER] = "";
data/centreon-engine-19.10.8/src/xpddefault.cc:429:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        = open(config->host_perfdata_file().c_str(), O_NONBLOCK | O_RDWR);
data/centreon-engine-19.10.8/src/xpddefault.cc:435:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        = fopen(
data/centreon-engine-19.10.8/src/xpddefault.cc:458:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        = open(config->service_perfdata_file().c_str(), O_NONBLOCK | O_RDWR);
data/centreon-engine-19.10.8/src/xpddefault.cc:464:2:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fopen(
data/centreon-engine-19.10.8/src/xsddefault.cc:63:37:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((xsddefault_status_log_fd = open(
data/centreon-engine-19.10.8/test/broker/compatibility.cc:44:62:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  loader.add_module(MOD_LIB_COMPT_NAME, MOD_LIB_COMPT_NAME)->open();
data/centreon-engine-19.10.8/test/broker/handle.cc:40:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    hwd.open(MOD_LIB_UNKNOW, MOD_LIB_UNKNOW);
data/centreon-engine-19.10.8/test/broker/handle.cc:54:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  hwd.open(MOD_LIB_NAME, MOD_LIB_NAME);
data/centreon-engine-19.10.8/test/broker/handle.cc:94:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  hwd.open();
data/centreon-engine-19.10.8/test/broker/loader.cc:43:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  mod1->open();
data/centreon-engine-19.10.8/test/broker/loader.cc:45:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  mod2->open();
data/centreon-engine-19.10.8/test/commands/bin_connector_test_run.cc:184:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[4096];
data/centreon-engine-19.10.8/test/configuration/applier/check_command_interval.cc:90:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int expected_value = atoi(argv[2]);
data/centreon-engine-19.10.8/test/configuration/applier/resource.cc:37:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fs.open(filename, "w");
data/centreon-engine-19.10.8/test/configuration/applier/resource.cc:52:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fs.open(filename, "w");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:538:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char file[MAX_FILENAME_LENGTH];
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:632:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1269:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->max_check_attempts = atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1283:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->active_checks_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1287:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->passive_checks_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1291:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->parallelize_check = atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1295:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->is_volatile = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1299:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->obsess_over_service = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1303:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->event_handler_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1307:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->check_freshness = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1311:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->freshness_threshold = atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1323:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->flap_detection_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1407:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->notifications_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1453:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->process_perf_data = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1457:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->retain_status_information = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1461:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->retain_nonstatus_information = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1465:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_service->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1675:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->max_check_attempts = atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1680:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->active_checks_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1684:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->passive_checks_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1688:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->event_handler_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1692:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->check_freshness = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1696:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->freshness_threshold = atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1708:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->flap_detection_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1783:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->notifications_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1824:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->process_perf_data = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1834:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->x_2d = atoi(temp_ptr);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1841:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->y_2d = atoi(temp_ptr);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1869:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->obsess_over_host = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1873:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->retain_status_information = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1877:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->retain_nonstatus_information = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1881:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_host->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:1984:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_timeperiod->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2074:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      x = atoi(variable + 7);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2181:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_contact->host_notifications_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2185:54:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_contact->service_notifications_enabled = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2189:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_contact->can_submit_commands = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2193:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_contact->retain_status_information = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2197:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_contact->retain_nonstatus_information = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2201:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_contact->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2303:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_command->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2447:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_contactgroup->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2566:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_hostgroup->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2684:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_servicegroup->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2825:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_servicedependency->inherits_parent = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2906:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_servicedependency->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3027:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_serviceescalation->first_notification = atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3031:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_serviceescalation->last_notification = atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3072:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_serviceescalation->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3165:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_hostdependency->inherits_parent = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3237:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_hostdependency->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3323:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_hostescalation->first_notification = atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3327:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_hostescalation->last_notification = atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3364:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_hostescalation->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3459:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_hostextinfo->x_2d = atoi(temp_ptr);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3467:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_hostextinfo->y_2d = atoi(temp_ptr);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3498:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_hostextinfo->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3580:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      temp_serviceextinfo->register_object = (atoi(value) > 0) ? true : false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3685:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char temp_buffer[5][MAX_INPUT_BUFFER] = { "", "", "", "", "" };
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:4402:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char const* months[12] = {
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:4430:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char const* days[7] = {
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:10184:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  hours = atoi(time_buffer);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:10189:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  minutes = atoi(time_buffer);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:10202:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  hours = atoi(time_buffer);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:10207:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  minutes = atoi(time_buffer);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:12241:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char const* days[7] = {
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:12250:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char const* months[12] = {
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:12268:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(cache_file, "w");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16611:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      debug_level=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16614:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      debug_verbosity=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16782:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      use_syslog=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16793:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      log_notifications=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16804:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      log_service_retries=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16815:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      log_host_retries=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16826:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      log_event_handlers=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16837:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      log_external_commands=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16848:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      log_passive_checks=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16859:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      log_initial_states=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16870:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      retain_state_information=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16874:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int tmp(atoi(value));
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16891:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      use_retained_program_state=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16902:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      use_retained_scheduling_info=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16907:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      retention_scheduling_horizon=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16917:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      additional_freshness_latency=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16945:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      obsess_over_services=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16956:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      obsess_over_hosts=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16967:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      translate_passive_host_checks=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16971:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      passive_host_checks_are_soft=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16975:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      service_check_timeout=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16986:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      host_check_timeout=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16997:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      event_handler_timeout=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17008:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      notification_timeout=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17019:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ocsp_timeout=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17030:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ochp_timeout=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17047:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      use_aggressive_host_checking=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17054:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      enable_predictive_host_dependency_checks=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17060:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      enable_predictive_service_dependency_checks=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17069:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      soft_state_dependencies=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17103:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      enable_event_handlers=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17106:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      enable_notifications=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17109:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      execute_service_checks=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17112:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      accept_passive_service_checks=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17115:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      execute_host_checks=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17118:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      accept_passive_host_checks=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17140:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      max_service_check_spread=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17169:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      max_host_check_spread=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17182:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        scheduling_info.service_interleave_factor=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17189:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int tmp(atoi(value));
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17200:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      check_reaper_interval=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17210:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      max_check_reaper_time=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17230:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      interval_length=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17246:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      check_external_commands=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17252:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      command_check_interval=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17268:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      check_orphaned_services=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17279:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      check_orphaned_hosts=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17290:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      check_service_freshness=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17301:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      check_host_freshness=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17306:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      service_freshness_check_interval=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17316:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      host_freshness_check_interval=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17331:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      auto_reschedule_checks=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17336:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      auto_rescheduling_interval=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17346:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      auto_rescheduling_window=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17364:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      status_update_interval=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17374:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      time_change_threshold=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17384:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      process_performance_data=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17387:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      enable_flap_detection=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17482:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      use_regexp_matches=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17485:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      use_true_regexp_matching=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17506:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      use_large_installation_tweaks=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17510:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      enable_environment_macros=(atoi(value)>0)?true:false;
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17541:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      external_command_buffer_slots=atoi(value);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:158:41:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((xrddefault_retention_file_fd = open(
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1005:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->enable_notifications((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1009:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->execute_service_checks((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1013:54:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->accept_passive_service_checks((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1017:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->execute_host_checks((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1021:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->accept_passive_host_checks((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1025:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->enable_event_handlers((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1029:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->obsess_over_services((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1033:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->obsess_over_hosts((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1037:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->check_service_freshness((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1041:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->check_host_freshness((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1045:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->enable_flap_detection((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1052:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              config->process_performance_data((atoi(val) > 0) ? TRUE : FALSE);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1114:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->has_been_checked = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1120:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->check_type = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1122:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->current_state = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1124:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->last_state = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1126:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->last_hard_state = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1149:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_host->check_options = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1152:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->current_attempt = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1162:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->state_type = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1174:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->notified_on_down = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1176:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->notified_on_unreachable = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1180:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->current_notification_number = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1184:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              was_flapping = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1189:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_host->check_flapping_recovery_notification = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1194:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    temp_host->state_history[x] = atoi(ch);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1208:59:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->problem_has_been_acknowledged = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1210:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_host->acknowledgement_type = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1213:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_host->notifications_enabled = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1217:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_host->checks_enabled = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1221:58:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_host->accept_passive_host_checks = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1225:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_host->event_handler_enabled = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1229:54:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_host->flap_detection_enabled = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1236:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_host->process_performance_data = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1240:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_host->obsess_over_host = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1316:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                  && atoi(val) >= 1) {
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1317:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_host->max_attempts = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1337:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    if ((x = atoi(val)) > 0 && strlen(val) > 3) {
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1378:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->has_been_checked = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1384:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->check_type = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1386:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->current_state = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1388:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->last_state = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1390:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->last_hard_state = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1392:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->current_attempt = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1402:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->state_type = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1437:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_service->check_options = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1440:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->notified_on_unknown = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1442:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->notified_on_warning = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1444:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->notified_on_critical = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1446:59:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->current_notification_number = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1452:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              was_flapping = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1457:70:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_service->check_flapping_recovery_notification = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1462:54:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    temp_service->state_history[x] = atoi(ch);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1476:62:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->problem_has_been_acknowledged = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1478:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              temp_service->acknowledgement_type = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1481:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_service->notifications_enabled = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1485:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_service->checks_enabled = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1489:64:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_service->accept_passive_service_checks = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1493:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_service->event_handler_enabled = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1497:57:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_service->flap_detection_enabled = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1504:59:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_service->process_performance_data = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1508:54:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_service->obsess_over_service = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1584:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                  && atoi(val) >= 1) {
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1585:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_service->max_attempts = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1605:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    if ((x = atoi(val)) > 0 && strlen(val) > 3) {
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1687:61:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_contact->host_notifications_enabled = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1691:64:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                temp_contact->service_notifications_enabled = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1703:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    if ((x = atoi(val)) > 0 && strlen(val) > 3) {
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1724:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          entry_type = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1728:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          source = atoi(val);
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1730:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          persistent = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1734:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          expires = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1758:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          fixed = (atoi(val) > 0) ? TRUE : FALSE;
data/centreon-engine-19.10.8/test/logging/broker_log.cc:64:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  mod->open();
data/centreon-engine-19.10.8/test/logging/test.cc:121:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void test::open() {
data/centreon-engine-19.10.8/test/modules/external_commands/read_state_information.cc:65:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fs.open(path, "w+");
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host.cc:41:37:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
static int check(std::string const& tmpfile, check_result& cr) {
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host.cc:43:27:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  io::file_stream::remove(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host.cc:55:39:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    retval |= io::file_stream::exists(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host.cc:67:38:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  retval |= !io::file_stream::exists(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host.cc:85:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  std::string tmpfile(io::file_stream::temp_path());
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host.cc:88:45:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  retval |= first_notif_delay_default_setup(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host.cc:106:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    retval |= check(tmpfile, cr);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host.cc:118:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    retval |= check(tmpfile, cr);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host.cc:122:27:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  io::file_stream::remove(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host_recovery.cc:46:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  std::string tmpfile(io::file_stream::temp_path());
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host_recovery.cc:49:45:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  retval |= first_notif_delay_default_setup(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host_recovery.cc:80:40:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    retval |= !io::file_stream::remove(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/host_recovery.cc:84:27:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  io::file_stream::remove(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service.cc:40:37:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
static int check(std::string const& tmpfile, check_result& cr) {
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service.cc:42:27:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  io::file_stream::remove(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service.cc:54:39:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    retval |= io::file_stream::exists(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service.cc:66:38:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  retval |= !io::file_stream::exists(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service.cc:84:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  std::string tmpfile(io::file_stream::temp_path());
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service.cc:87:45:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  retval |= first_notif_delay_default_setup(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service.cc:106:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    retval |= check(tmpfile, cr);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service.cc:118:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    retval |= check(tmpfile, cr);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service.cc:122:27:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  io::file_stream::remove(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service_recovery.cc:46:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  std::string tmpfile(io::file_stream::temp_path());
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service_recovery.cc:49:45:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  retval |= first_notif_delay_default_setup(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service_recovery.cc:82:40:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    retval |= !io::file_stream::exists(tmpfile);
data/centreon-engine-19.10.8/test/notifications/first_notif_delay/service_recovery.cc:86:27:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  io::file_stream::remove(tmpfile);
data/centreon-engine-19.10.8/test/running/log_without_pid.cc:88:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      log_gen.open(log_file.c_str(), "r");
data/centreon-engine-19.10.8/test/running/log_without_pid.cc:89:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[1024];
data/centreon-engine-19.10.8/test/running/precache_file_generation.cc:80:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      conf_stream.open(conf_file.c_str(), "w");
data/centreon-engine-19.10.8/test/running/precache_file_generation.cc:112:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      precache_ref.open(
data/centreon-engine-19.10.8/test/running/precache_file_generation.cc:116:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[1024];
data/centreon-engine-19.10.8/test/running/precache_file_generation.cc:124:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      precache_gen.open(precache_file.c_str(), "r");
data/centreon-engine-19.10.8/tests/commands/bin_connector_test_run.cc:69:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outfile.open("/tmp/test.txt", std::ios_base::app);
data/centreon-engine-19.10.8/tests/commands/bin_connector_test_run.cc:92:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      outfile.open("/tmp/test.txt", std::ios_base::app);
data/centreon-engine-19.10.8/tests/commands/bin_connector_test_run.cc:122:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outfile.open("/tmp/test.txt", std::ios_base::app);
data/centreon-engine-19.10.8/tests/commands/bin_connector_test_run.cc:168:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outfile.open("/tmp/test.txt", std::ios_base::app);
data/centreon-engine-19.10.8/tests/commands/bin_connector_test_run.cc:190:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outfile.open("/tmp/test.txt", std::ios_base::app);
data/centreon-engine-19.10.8/tests/commands/bin_connector_test_run.cc:203:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    outfile.open("/tmp/test.txt", std::ios_base::app);
data/centreon-engine-19.10.8/tests/commands/bin_connector_test_run.cc:222:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outfile.open("/tmp/test.txt", std::ios_base::app);
data/centreon-engine-19.10.8/tests/commands/bin_connector_test_run.cc:228:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[4096];
data/centreon-engine-19.10.8/tests/commands/bin_connector_test_run.cc:266:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outfile.open("/tmp/test.txt", std::ios_base::app);
data/centreon-engine-19.10.8/modules/external_commands/src/utils.cc:60:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask(S_IWOTH);
data/centreon-engine-19.10.8/src/centenginestats.cc:1432:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  y = (int)strlen(buffer);
data/centreon-engine-19.10.8/src/centenginestats.cc:1442:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  y = (int)strlen(buffer);
data/centreon-engine-19.10.8/src/checks.cc:470:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int x(strlen(dirfile->d_name));
data/centreon-engine-19.10.8/src/commands/connector.cc:289:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    p.read(data);
data/centreon-engine-19.10.8/src/commands/connector.cc:595:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char const* std_out(std_err + strlen(std_err) + 1);
data/centreon-engine-19.10.8/src/commands/environment.cc:107:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned int size(strlen(line));
data/centreon-engine-19.10.8/src/commands/environment.cc:133:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned int size_name(strlen(name));
data/centreon-engine-19.10.8/src/commands/environment.cc:134:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned int size_value(strlen(value));
data/centreon-engine-19.10.8/src/commands/environment.cc:284:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    pos += strlen(_buffer + pos + 1) + 2;
data/centreon-engine-19.10.8/src/commands/raw.cc:203:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  p.read(res.output);
data/centreon-engine-19.10.8/src/commands/raw.cc:294:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    p.read(res.output);
data/centreon-engine-19.10.8/src/compatibility/mmap.cc:160:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen(tempbuf);
data/centreon-engine-19.10.8/src/compatibility/mmap.cc:170:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen(stripped);
data/centreon-engine-19.10.8/src/compatibility/mmap.cc:171:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len2 = strlen(buf);
data/centreon-engine-19.10.8/src/configuration/applier/macros.cc:46:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (::strncmp(key.c_str(), "USER", ::strlen("USER")) != 0)
data/centreon-engine-19.10.8/src/diagnostic.cc:334:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    p.read(result);
data/centreon-engine-19.10.8/src/error.cc:104:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned int to_copy = strlen(str);
data/centreon-engine-19.10.8/src/main.cc:187:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(S_IWGRP | S_IWOTH);
data/centreon-engine-19.10.8/src/retention/contact.cc:134:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((key[0] == '_') && (strlen(value) > 3)) {
data/centreon-engine-19.10.8/src/retention/host.cc:273:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((key[0] == '_') && (strlen(value) > 3)) {
data/centreon-engine-19.10.8/src/shared.cc:83:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int)strlen(buffer);
data/centreon-engine-19.10.8/src/shared.cc:346:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(new_str, str, size - 2);
data/centreon-engine-19.10.8/src/timeperiod.cc:92:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          && std::equal(_exclusions.begin(), _exclusions.end(), obj._exclusions.begin()))) {
data/centreon-engine-19.10.8/src/utils.cc:152:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    buf[strlen(buf) - 1] = 0;
data/centreon-engine-19.10.8/test/commands/bin_connector_test_run.cc:185:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t ret(read(STDIN_FILENO, buffer, sizeof(buffer)));
data/centreon-engine-19.10.8/test/commands/raw_process.cc:47:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  macros.argv[0] = new char[strlen(CMD_ARG1) + 1];
data/centreon-engine-19.10.8/test/commands/raw_process.cc:57:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  hst.address = new char[strlen(CMD_HOSTADDR) + 1];
data/centreon-engine-19.10.8/test/commands/raw_run_async.cc:95:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  mac.argv[0] = new char[strlen(argv) + 1];
data/centreon-engine-19.10.8/test/commands/raw_run_sync.cc:87:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  mac.argv[0] = new char[strlen(argv) + 1];
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:258:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && config_file[strlen(config_file) - 1] == '/')
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:259:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          config_file[strlen(config_file) - 1] = '\x0';
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:578:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      x = strlen(dirfile->d_name);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2420:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_contactgroup->members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2420:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_contactgroup->members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2421:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(temp_contactgroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2437:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_contactgroup->contactgroup_members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2437:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_contactgroup->contactgroup_members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2438:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(temp_contactgroup->contactgroup_members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2524:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_hostgroup->members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2524:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_hostgroup->members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2525:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(temp_hostgroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2541:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_hostgroup->hostgroup_members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2541:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_hostgroup->hostgroup_members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2542:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(temp_hostgroup->hostgroup_members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2642:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_servicegroup->members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2642:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_servicegroup->members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2643:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(temp_servicegroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2659:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_servicegroup-> servicegroup_members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2659:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_servicegroup-> servicegroup_members) + strlen(value) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:2660:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(temp_servicegroup->servicegroup_members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3704:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  input = new char[strlen(var) + strlen(val) + 2];
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3704:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  input = new char[strlen(var) + strlen(val) + 2];
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:3707:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat(input, " ");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8840:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen(temp_contactgroup->members) +
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8841:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen(temp_contact->contact_name) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8843:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(temp_contactgroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8898:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen(temp_contactgroup->members) +
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8899:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen(this_memberlist->name1) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8901:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(temp_contactgroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8965:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(temp_contactgroup->members)
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8966:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                + strlen(newmembers) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:8967:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(temp_contactgroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9068:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen(temp_hostgroup->members) +
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9069:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen(temp_host->host_name) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9071:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(temp_hostgroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9140:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen(temp_hostgroup->members)
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9141:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        + strlen(this_memberlist->name1) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9143:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(temp_hostgroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9220:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                      strlen(temp_hostgroup->members)
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9221:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                      + strlen(newmembers) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9222:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(temp_hostgroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9307:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          = new char[strlen(temp_service->host_name)
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9308:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                     + strlen(temp_service->service_description) + 2];
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9310:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(temp_servicegroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9316:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen(temp_servicegroup->members)
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9317:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        + strlen(temp_service->host_name)
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9318:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        + strlen(temp_service->service_description) + 3);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9320:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(temp_servicegroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9322:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(temp_servicegroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9410:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              = new char[strlen(this_memberlist->name1)
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9411:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                         + strlen(this_memberlist->name2) + 2];
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9413:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(temp_servicegroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9419:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            strlen(temp_servicegroup->members)
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9420:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            + strlen(this_memberlist->name1)
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9421:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            + strlen(this_memberlist->name2) + 3);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9423:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(temp_servicegroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9425:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(temp_servicegroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9510:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                         strlen(temp_servicegroup->members)
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9511:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                         + strlen(newmembers) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:9512:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(temp_servicegroup->members, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15699:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      buf = new char[strlen(this_list->name1) + 1];
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15705:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              strlen(buf) + strlen(this_list->name1) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15705:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              strlen(buf) + strlen(this_list->name1) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15706:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(buf, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15911:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      buf = new char[strlen(this_list->name1) + 1];
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15917:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              strlen(buf) + strlen(this_list->name1) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15917:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              strlen(buf) + strlen(this_list->name1) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:15918:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(buf, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16129:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      buf = new char[strlen(this_list->name1) + 1];
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16135:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              strlen(buf) + strlen(this_list->name1) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16135:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              strlen(buf) + strlen(this_list->name1) + 2);
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16136:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(buf, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16329:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          buf = new char[strlen(*template_value) + strlen(*this_value) + 1];
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16329:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          buf = new char[strlen(*template_value) + strlen(*this_value) + 1];
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16331:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(buf, ",");
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16596:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)>MAX_FILENAME_LENGTH-1){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16618:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)>MAX_FILENAME_LENGTH-1){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16633:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)>MAX_FILENAME_LENGTH-1){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16693:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)>MAX_FILENAME_LENGTH-1){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16710:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(check_result_path[strlen(check_result_path)-1]=='/')
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16711:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          check_result_path[strlen(check_result_path)-1]='\x0';
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16776:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16787:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16798:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16809:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16820:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16831:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16842:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16853:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16864:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16885:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16896:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16939:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16950:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:16961:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17041:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17063:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17240:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17262:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17273:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17284:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17295:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17325:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xodtemplate.cc:17500:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(value)!=1||value[0]<'0'||value[0]>'1'){
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1337:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if ((x = atoi(val)) > 0 && strlen(val) > 3) {
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1605:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if ((x = atoi(val)) > 0 && strlen(val) > 3) {
data/centreon-engine-19.10.8/test/configuration/applier/xrddefault.cc:1703:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if ((x = atoi(val)) > 0 && strlen(val) > 3) {
data/centreon-engine-19.10.8/test/running/log_without_pid.cc:91:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((bytes = log_gen.read(buffer, sizeof(buffer))) > 0)
data/centreon-engine-19.10.8/test/running/precache_file_generation.cc:117:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((bytes = precache_ref.read(buffer, sizeof(buffer))) > 0)
data/centreon-engine-19.10.8/test/running/precache_file_generation.cc:125:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((bytes = precache_gen.read(buffer, sizeof(buffer))) > 0)
data/centreon-engine-19.10.8/tests/commands/bin_connector_test_run.cc:229:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t ret(read(STDIN_FILENO, buffer, sizeof(buffer)));
data/centreon-engine-19.10.8/tests/commands/simple-command.cc:125:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(100000);
data/centreon-engine-19.10.8/tests/commands/simple-command.cc:143:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(100000);
data/centreon-engine-19.10.8/tests/notifications/host_normal_notification.cc:1090:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  std::size_t pos = retention.find("notification_0=") + strlen("notification_0=");
data/centreon-engine-19.10.8/tests/notifications/host_normal_notification.cc:1098:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  pos = retention.find("notification_0=") + strlen("notification_0=");
data/centreon-engine-19.10.8/tests/notifications/host_normal_notification.cc:1110:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  pos = retention.find("notification_0=") + strlen("notification_0=");
data/centreon-engine-19.10.8/tests/notifications/service_flapping_notification.cc:445:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      retention.find("notification_3=") + strlen("notification_3=");
data/centreon-engine-19.10.8/tests/notifications/service_flapping_notification.cc:453:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  pos = retention.find("notification_3=") + strlen("notification_3=");
data/centreon-engine-19.10.8/tests/notifications/service_flapping_notification.cc:467:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  pos = retention.find("notification_3=") + strlen("notification_3=");

ANALYSIS SUMMARY:

Hits = 658
Lines analyzed = 129357 in approximately 3.27 seconds (39532 lines/second)
Physical Source Lines of Code (SLOC) = 82213
Hits@level = [0] 467 [1] 150 [2] 447 [3]  21 [4]  40 [5]   0
Hits@level+ = [0+] 1125 [1+] 658 [2+] 508 [3+]  61 [4+]  40 [5+]   0
Hits/KSLOC@level+ = [0+] 13.684 [1+] 8.0036 [2+] 6.17907 [3+] 0.741975 [4+] 0.486541 [5+]   0
Dot directories skipped = 2 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.