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-broker-19.10.2/bam/src/availability_builder.cc
Examining data/centreon-broker-19.10.2/bam/src/availability_thread.cc
Examining data/centreon-broker-19.10.2/bam/src/ba.cc
Examining data/centreon-broker-19.10.2/bam/src/ba_duration_event.cc
Examining data/centreon-broker-19.10.2/bam/src/ba_event.cc
Examining data/centreon-broker-19.10.2/bam/src/ba_status.cc
Examining data/centreon-broker-19.10.2/bam/src/ba_svc_mapping.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_aggregate.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_and.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_binary_operator.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_call.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_constant.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_equal.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_expression.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_less_than.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_metric.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_more_than.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_not.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_not_equal.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_operation.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_or.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_service.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_value.cc
Examining data/centreon-broker-19.10.2/bam/src/bool_xor.cc
Examining data/centreon-broker-19.10.2/bam/src/computable.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/applier/ba.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/applier/bool_expression.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/applier/kpi.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/applier/meta_service.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/applier/state.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/ba.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/bool_expression.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/kpi.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/meta_service.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/reader.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/reader_exception.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/reader_v2.cc
Examining data/centreon-broker-19.10.2/bam/src/configuration/state.cc
Examining data/centreon-broker-19.10.2/bam/src/connector.cc
Examining data/centreon-broker-19.10.2/bam/src/dimension_ba_bv_relation_event.cc
Examining data/centreon-broker-19.10.2/bam/src/dimension_ba_event.cc
Examining data/centreon-broker-19.10.2/bam/src/dimension_ba_timeperiod_relation.cc
Examining data/centreon-broker-19.10.2/bam/src/dimension_bv_event.cc
Examining data/centreon-broker-19.10.2/bam/src/dimension_kpi_event.cc
Examining data/centreon-broker-19.10.2/bam/src/dimension_timeperiod.cc
Examining data/centreon-broker-19.10.2/bam/src/dimension_timeperiod_exception.cc
Examining data/centreon-broker-19.10.2/bam/src/dimension_timeperiod_exclusion.cc
Examining data/centreon-broker-19.10.2/bam/src/dimension_truncate_table_signal.cc
Examining data/centreon-broker-19.10.2/bam/src/event_cache_visitor.cc
Examining data/centreon-broker-19.10.2/bam/src/exp_builder.cc
Examining data/centreon-broker-19.10.2/bam/src/exp_parser.cc
Examining data/centreon-broker-19.10.2/bam/src/exp_tokenizer.cc
Examining data/centreon-broker-19.10.2/bam/src/factory.cc
Examining data/centreon-broker-19.10.2/bam/src/hst_svc_mapping.cc
Examining data/centreon-broker-19.10.2/bam/src/impact_values.cc
Examining data/centreon-broker-19.10.2/bam/src/inherited_downtime.cc
Examining data/centreon-broker-19.10.2/bam/src/kpi.cc
Examining data/centreon-broker-19.10.2/bam/src/kpi_ba.cc
Examining data/centreon-broker-19.10.2/bam/src/kpi_boolexp.cc
Examining data/centreon-broker-19.10.2/bam/src/kpi_event.cc
Examining data/centreon-broker-19.10.2/bam/src/kpi_meta.cc
Examining data/centreon-broker-19.10.2/bam/src/kpi_service.cc
Examining data/centreon-broker-19.10.2/bam/src/kpi_status.cc
Examining data/centreon-broker-19.10.2/bam/src/main.cc
Examining data/centreon-broker-19.10.2/bam/src/meta_service.cc
Examining data/centreon-broker-19.10.2/bam/src/meta_service_status.cc
Examining data/centreon-broker-19.10.2/bam/src/metric_book.cc
Examining data/centreon-broker-19.10.2/bam/src/metric_listener.cc
Examining data/centreon-broker-19.10.2/bam/src/monitoring_stream.cc
Examining data/centreon-broker-19.10.2/bam/src/rebuild.cc
Examining data/centreon-broker-19.10.2/bam/src/reporting_stream.cc
Examining data/centreon-broker-19.10.2/bam/src/service_book.cc
Examining data/centreon-broker-19.10.2/bam/src/service_listener.cc
Examining data/centreon-broker-19.10.2/bam/src/timeperiod_map.cc
Examining data/centreon-broker-19.10.2/bam/test/ba/kpi_change_at_recompute.cc
Examining data/centreon-broker-19.10.2/bam/test/configuration/applier-boolexp.cc
Examining data/centreon-broker-19.10.2/bam/test/exp_builder/exp_builder.cc
Examining data/centreon-broker-19.10.2/bam/test/exp_parser/get_postfix.cc
Examining data/centreon-broker-19.10.2/bam/test/exp_tokenizer/next.cc
Examining data/centreon-broker-19.10.2/bam/test/time/check_timeperiod.cc
Examining data/centreon-broker-19.10.2/core/src/bbdo/acceptor.cc
Examining data/centreon-broker-19.10.2/core/src/bbdo/ack.cc
Examining data/centreon-broker-19.10.2/core/src/bbdo/connector.cc
Examining data/centreon-broker-19.10.2/core/src/bbdo/factory.cc
Examining data/centreon-broker-19.10.2/core/src/bbdo/input.cc
Examining data/centreon-broker-19.10.2/core/src/bbdo/input_buffer.cc
Examining data/centreon-broker-19.10.2/core/src/bbdo/internal.cc
Examining data/centreon-broker-19.10.2/core/src/bbdo/output.cc
Examining data/centreon-broker-19.10.2/core/src/bbdo/stream.cc
Examining data/centreon-broker-19.10.2/core/src/bbdo/version_response.cc
Examining data/centreon-broker-19.10.2/core/src/ceof/ceof_deserializer.cc
Examining data/centreon-broker-19.10.2/core/src/ceof/ceof_iterator.cc
Examining data/centreon-broker-19.10.2/core/src/ceof/ceof_parser.cc
Examining data/centreon-broker-19.10.2/core/src/ceof/ceof_serializer.cc
Examining data/centreon-broker-19.10.2/core/src/ceof/ceof_token.cc
Examining data/centreon-broker-19.10.2/core/src/ceof/ceof_writer.cc
Examining data/centreon-broker-19.10.2/core/src/compression/factory.cc
Examining data/centreon-broker-19.10.2/core/src/compression/internal.cc
Examining data/centreon-broker-19.10.2/core/src/compression/opener.cc
Examining data/centreon-broker-19.10.2/core/src/compression/stack_array.cc
Examining data/centreon-broker-19.10.2/core/src/compression/stream.cc
Examining data/centreon-broker-19.10.2/core/src/compression/zlib.cc
Examining data/centreon-broker-19.10.2/core/src/config/applier/endpoint.cc
Examining data/centreon-broker-19.10.2/core/src/config/applier/init.cc
Examining data/centreon-broker-19.10.2/core/src/config/applier/logger.cc
Examining data/centreon-broker-19.10.2/core/src/config/applier/modules.cc
Examining data/centreon-broker-19.10.2/core/src/config/applier/state.cc
Examining data/centreon-broker-19.10.2/core/src/config/endpoint.cc
Examining data/centreon-broker-19.10.2/core/src/config/logger.cc
Examining data/centreon-broker-19.10.2/core/src/config/parser.cc
Examining data/centreon-broker-19.10.2/core/src/config/state.cc
Examining data/centreon-broker-19.10.2/core/src/database.cc
Examining data/centreon-broker-19.10.2/core/src/database_config.cc
Examining data/centreon-broker-19.10.2/core/src/database_preparator.cc
Examining data/centreon-broker-19.10.2/core/src/database_query.cc
Examining data/centreon-broker-19.10.2/core/src/exceptions/config.cc
Examining data/centreon-broker-19.10.2/core/src/exceptions/corruption.cc
Examining data/centreon-broker-19.10.2/core/src/exceptions/interrupt.cc
Examining data/centreon-broker-19.10.2/core/src/exceptions/msg.cc
Examining data/centreon-broker-19.10.2/core/src/exceptions/shutdown.cc
Examining data/centreon-broker-19.10.2/core/src/exceptions/timeout.cc
Examining data/centreon-broker-19.10.2/core/src/extcmd/command_client.cc
Examining data/centreon-broker-19.10.2/core/src/extcmd/command_listener.cc
Examining data/centreon-broker-19.10.2/core/src/extcmd/command_parser.cc
Examining data/centreon-broker-19.10.2/core/src/extcmd/command_request.cc
Examining data/centreon-broker-19.10.2/core/src/extcmd/command_result.cc
Examining data/centreon-broker-19.10.2/core/src/extcmd/command_server.cc
Examining data/centreon-broker-19.10.2/core/src/extcmd/factory.cc
Examining data/centreon-broker-19.10.2/core/src/extcmd/internal.cc
Examining data/centreon-broker-19.10.2/core/src/extcmd/json_command_parser.cc
Examining data/centreon-broker-19.10.2/core/src/extcmd/plaintext_command_parser.cc
Examining data/centreon-broker-19.10.2/core/src/extcmd/server_socket.cc
Examining data/centreon-broker-19.10.2/core/src/file/cfile.cc
Examining data/centreon-broker-19.10.2/core/src/file/directory_event.cc
Examining data/centreon-broker-19.10.2/core/src/file/directory_watcher.cc
Examining data/centreon-broker-19.10.2/core/src/file/factory.cc
Examining data/centreon-broker-19.10.2/core/src/file/fifo.cc
Examining data/centreon-broker-19.10.2/core/src/file/fs_browser.cc
Examining data/centreon-broker-19.10.2/core/src/file/fs_file.cc
Examining data/centreon-broker-19.10.2/core/src/file/internal.cc
Examining data/centreon-broker-19.10.2/core/src/file/opener.cc
Examining data/centreon-broker-19.10.2/core/src/file/qt_fs_browser.cc
Examining data/centreon-broker-19.10.2/core/src/file/splitter.cc
Examining data/centreon-broker-19.10.2/core/src/file/stream.cc
Examining data/centreon-broker-19.10.2/core/src/instance_broadcast.cc
Examining data/centreon-broker-19.10.2/core/src/io/data.cc
Examining data/centreon-broker-19.10.2/core/src/io/endpoint.cc
Examining data/centreon-broker-19.10.2/core/src/io/event_info.cc
Examining data/centreon-broker-19.10.2/core/src/io/events.cc
Examining data/centreon-broker-19.10.2/core/src/io/factory.cc
Examining data/centreon-broker-19.10.2/core/src/io/properties.cc
Examining data/centreon-broker-19.10.2/core/src/io/property.cc
Examining data/centreon-broker-19.10.2/core/src/io/protocols.cc
Examining data/centreon-broker-19.10.2/core/src/io/raw.cc
Examining data/centreon-broker-19.10.2/core/src/io/stream.cc
Examining data/centreon-broker-19.10.2/core/src/logging/backend.cc
Examining data/centreon-broker-19.10.2/core/src/logging/file.cc
Examining data/centreon-broker-19.10.2/core/src/logging/logger.cc
Examining data/centreon-broker-19.10.2/core/src/logging/logging.cc
Examining data/centreon-broker-19.10.2/core/src/logging/manager.cc
Examining data/centreon-broker-19.10.2/core/src/logging/syslogger.cc
Examining data/centreon-broker-19.10.2/core/src/logging/temp_logger.cc
Examining data/centreon-broker-19.10.2/core/src/main.cc
Examining data/centreon-broker-19.10.2/core/src/mapping/entry.cc
Examining data/centreon-broker-19.10.2/core/src/mapping/source.cc
Examining data/centreon-broker-19.10.2/core/src/misc/diagnostic.cc
Examining data/centreon-broker-19.10.2/core/src/misc/global_lock.cc
Examining data/centreon-broker-19.10.2/core/src/misc/json_writer.cc
Examining data/centreon-broker-19.10.2/core/src/misc/misc.cc
Examining data/centreon-broker-19.10.2/core/src/misc/processing_speed_computer.cc
Examining data/centreon-broker-19.10.2/core/src/misc/string.cc
Examining data/centreon-broker-19.10.2/core/src/misc/stringifier.cc
Examining data/centreon-broker-19.10.2/core/src/misc/tokenizer.cc
Examining data/centreon-broker-19.10.2/core/src/modules/handle.cc
Examining data/centreon-broker-19.10.2/core/src/modules/loader.cc
Examining data/centreon-broker-19.10.2/core/src/multiplexing/engine.cc
Examining data/centreon-broker-19.10.2/core/src/multiplexing/hooker.cc
Examining data/centreon-broker-19.10.2/core/src/multiplexing/muxer.cc
Examining data/centreon-broker-19.10.2/core/src/multiplexing/publisher.cc
Examining data/centreon-broker-19.10.2/core/src/multiplexing/subscriber.cc
Examining data/centreon-broker-19.10.2/core/src/persistent_cache.cc
Examining data/centreon-broker-19.10.2/core/src/persistent_file.cc
Examining data/centreon-broker-19.10.2/core/src/processing/acceptor.cc
Examining data/centreon-broker-19.10.2/core/src/processing/failover.cc
Examining data/centreon-broker-19.10.2/core/src/processing/feeder.cc
Examining data/centreon-broker-19.10.2/core/src/processing/stat_visitable.cc
Examining data/centreon-broker-19.10.2/core/src/processing/thread.cc
Examining data/centreon-broker-19.10.2/core/src/time/daterange.cc
Examining data/centreon-broker-19.10.2/core/src/time/timeperiod.cc
Examining data/centreon-broker-19.10.2/core/src/time/timerange.cc
Examining data/centreon-broker-19.10.2/core/src/time/timezone_locker.cc
Examining data/centreon-broker-19.10.2/core/src/time/timezone_manager.cc
Examining data/centreon-broker-19.10.2/core/test/bbdo/input_buffer/erase.cc
Examining data/centreon-broker-19.10.2/core/test/bbdo/input_buffer/extract.cc
Examining data/centreon-broker-19.10.2/core/test/bbdo/read.cc
Examining data/centreon-broker-19.10.2/core/test/ceof/ceof_parser/parse.cc
Examining data/centreon-broker-19.10.2/core/test/compression/stream/read.cc
Examining data/centreon-broker-19.10.2/core/test/compression/stream/write.cc
Examining data/centreon-broker-19.10.2/core/test/compression/zlib/zlib.cc
Examining data/centreon-broker-19.10.2/core/test/config/logger/assignment.cc
Examining data/centreon-broker-19.10.2/core/test/config/logger/ctor_copy.cc
Examining data/centreon-broker-19.10.2/core/test/config/logger/ctor_default.cc
Examining data/centreon-broker-19.10.2/core/test/config/logger/equality.cc
Examining data/centreon-broker-19.10.2/core/test/config/logger/inequality.cc
Examining data/centreon-broker-19.10.2/core/test/config/parser/endpoint.cc
Examining data/centreon-broker-19.10.2/core/test/config/parser/include.cc
Examining data/centreon-broker-19.10.2/core/test/config/parser/logger.cc
Examining data/centreon-broker-19.10.2/core/test/exceptions/msg/clone.cc
Examining data/centreon-broker-19.10.2/core/test/exceptions/msg/default.cc
Examining data/centreon-broker-19.10.2/core/test/exceptions/msg/rethrow.cc
Examining data/centreon-broker-19.10.2/core/test/exceptions/msg/throw.cc
Examining data/centreon-broker-19.10.2/core/test/file/splitter/concurrent.cc
Examining data/centreon-broker-19.10.2/core/test/file/splitter/default.cc
Examining data/centreon-broker-19.10.2/core/test/file/splitter/more_than_max_size.cc
Examining data/centreon-broker-19.10.2/core/test/file/splitter/permission_denied.cc
Examining data/centreon-broker-19.10.2/core/test/file/splitter/resume.cc
Examining data/centreon-broker-19.10.2/core/test/file/splitter/split.cc
Examining data/centreon-broker-19.10.2/core/test/file/stream/max_size.cc
Examining data/centreon-broker-19.10.2/core/test/file/stream/mixed.cc
Examining data/centreon-broker-19.10.2/core/test/file/stream/read.cc
Examining data/centreon-broker-19.10.2/core/test/file/stream/write.cc
Examining data/centreon-broker-19.10.2/core/test/file/test_file.cc
Examining data/centreon-broker-19.10.2/core/test/file/test_fs_browser.cc
Examining data/centreon-broker-19.10.2/core/test/io/exceptions/shutdown/assignment.cc
Examining data/centreon-broker-19.10.2/core/test/io/exceptions/shutdown/clone.cc
Examining data/centreon-broker-19.10.2/core/test/io/exceptions/shutdown/ctor_copy.cc
Examining data/centreon-broker-19.10.2/core/test/io/exceptions/shutdown/ctor_default.cc
Examining data/centreon-broker-19.10.2/core/test/io/exceptions/shutdown/rethrow.cc
Examining data/centreon-broker-19.10.2/core/test/io/exceptions/shutdown/throw.cc
Examining data/centreon-broker-19.10.2/core/test/io/raw/ctor_default.cc
Examining data/centreon-broker-19.10.2/core/test/logging/file/common.cc
Examining data/centreon-broker-19.10.2/core/test/logging/file/log_with_everything.cc
Examining data/centreon-broker-19.10.2/core/test/logging/file/log_with_max_size.cc
Examining data/centreon-broker-19.10.2/core/test/logging/file/log_with_nothing.cc
Examining data/centreon-broker-19.10.2/core/test/logging/file/log_with_thread_id.cc
Examining data/centreon-broker-19.10.2/core/test/logging/file/log_with_timestamp.cc
Examining data/centreon-broker-19.10.2/core/test/logging/logging/concurrent.cc
Examining data/centreon-broker-19.10.2/core/test/logging/logging/performance.cc
Examining data/centreon-broker-19.10.2/core/test/logging/manager/backend_unlog.cc
Examining data/centreon-broker-19.10.2/core/test/logging/manager/cross.cc
Examining data/centreon-broker-19.10.2/core/test/logging/manager/multiple.cc
Examining data/centreon-broker-19.10.2/core/test/logging/manager/simple.cc
Examining data/centreon-broker-19.10.2/core/test/logging/temp_logger/copied.cc
Examining data/centreon-broker-19.10.2/core/test/logging/temp_logger/disabled.cc
Examining data/centreon-broker-19.10.2/core/test/logging/temp_logger/enabled.cc
Examining data/centreon-broker-19.10.2/core/test/logging/temp_logger/insertion.cc
Examining data/centreon-broker-19.10.2/core/test/main.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/assignment.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/bool.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/ctor_copy.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/ctor_default.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/double.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/int.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/long.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/long_long.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/mixed.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/pointer.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/qstring.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/reset.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/string.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/uint.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/ulong.cc
Examining data/centreon-broker-19.10.2/core/test/misc/stringifier/ulong_long.cc
Examining data/centreon-broker-19.10.2/core/test/modules/bad_version_module.cc
Examining data/centreon-broker-19.10.2/core/test/modules/module.cc
Examining data/centreon-broker-19.10.2/core/test/modules/null_module.cc
Examining data/centreon-broker-19.10.2/core/test/multiplexing/engine/hook.cc
Examining data/centreon-broker-19.10.2/core/test/multiplexing/engine/hooker.cc
Examining data/centreon-broker-19.10.2/core/test/multiplexing/engine/start_stop.cc
Examining data/centreon-broker-19.10.2/core/test/multiplexing/engine/unhook.cc
Examining data/centreon-broker-19.10.2/core/test/multiplexing/muxer/read.cc
Examining data/centreon-broker-19.10.2/core/test/multiplexing/publisher/read.cc
Examining data/centreon-broker-19.10.2/core/test/multiplexing/publisher/write.cc
Examining data/centreon-broker-19.10.2/core/test/multiplexing/subscriber/ctor_default.cc
Examining data/centreon-broker-19.10.2/core/test/multiplexing/subscriber/temporary_endpoint.cc
Examining data/centreon-broker-19.10.2/core/test/multiplexing/subscriber/temporary_stream.cc
Examining data/centreon-broker-19.10.2/correlation/src/connector.cc
Examining data/centreon-broker-19.10.2/correlation/src/engine_state.cc
Examining data/centreon-broker-19.10.2/correlation/src/factory.cc
Examining data/centreon-broker-19.10.2/correlation/src/issue.cc
Examining data/centreon-broker-19.10.2/correlation/src/issue_parent.cc
Examining data/centreon-broker-19.10.2/correlation/src/log_issue.cc
Examining data/centreon-broker-19.10.2/correlation/src/main.cc
Examining data/centreon-broker-19.10.2/correlation/src/node.cc
Examining data/centreon-broker-19.10.2/correlation/src/parser.cc
Examining data/centreon-broker-19.10.2/correlation/src/state.cc
Examining data/centreon-broker-19.10.2/correlation/src/stream.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/acknowledgement.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/common.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/dependency_multiple.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/dependency_single.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/downtime.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/issue.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/parent_multiple.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/parent_single.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/retention_read.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/retention_write.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/set_state.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/start_stop.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/state.cc
Examining data/centreon-broker-19.10.2/correlation/test/correlator/unknown_unreachable.cc
Examining data/centreon-broker-19.10.2/correlation/test/host_state/assignment.cc
Examining data/centreon-broker-19.10.2/correlation/test/host_state/ctor_copy.cc
Examining data/centreon-broker-19.10.2/correlation/test/host_state/ctor_default.cc
Examining data/centreon-broker-19.10.2/correlation/test/host_state/equality.cc
Examining data/centreon-broker-19.10.2/correlation/test/host_state/non_equality.cc
Examining data/centreon-broker-19.10.2/correlation/test/issue/assignment.cc
Examining data/centreon-broker-19.10.2/correlation/test/issue/ctor_copy.cc
Examining data/centreon-broker-19.10.2/correlation/test/issue/ctor_default.cc
Examining data/centreon-broker-19.10.2/correlation/test/issue/equality.cc
Examining data/centreon-broker-19.10.2/correlation/test/issue/non_equality.cc
Examining data/centreon-broker-19.10.2/correlation/test/issue_parent/assignment.cc
Examining data/centreon-broker-19.10.2/correlation/test/issue_parent/ctor_copy.cc
Examining data/centreon-broker-19.10.2/correlation/test/issue_parent/ctor_default.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/add_child.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/add_depended.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/add_dependency.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/add_parent.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/assignment.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/ctor_copy.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/ctor_default.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/equality.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/non_equality.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/on_destroy_child.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/on_destroy_depended.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/on_destroy_dependency.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/on_destroy_parent.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/remove_child.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/remove_depended.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/remove_dependency.cc
Examining data/centreon-broker-19.10.2/correlation/test/node/remove_parent.cc
Examining data/centreon-broker-19.10.2/correlation/test/parser/common.cc
Examining data/centreon-broker-19.10.2/correlation/test/parser/parse_include.cc
Examining data/centreon-broker-19.10.2/correlation/test/parser/parse_non_retention.cc
Examining data/centreon-broker-19.10.2/correlation/test/parser/parse_retention.cc
Examining data/centreon-broker-19.10.2/correlation/test/state/assignment.cc
Examining data/centreon-broker-19.10.2/correlation/test/state/ctor_copy.cc
Examining data/centreon-broker-19.10.2/correlation/test/state/ctor_default.cc
Examining data/centreon-broker-19.10.2/correlation/test/state/equality.cc
Examining data/centreon-broker-19.10.2/correlation/test/state/non_equality.cc
Examining data/centreon-broker-19.10.2/dumper/src/db_dump.cc
Examining data/centreon-broker-19.10.2/dumper/src/db_dump_committed.cc
Examining data/centreon-broker-19.10.2/dumper/src/db_loader.cc
Examining data/centreon-broker-19.10.2/dumper/src/db_loader_v2.cc
Examining data/centreon-broker-19.10.2/dumper/src/db_loader_v3.cc
Examining data/centreon-broker-19.10.2/dumper/src/db_reader.cc
Examining data/centreon-broker-19.10.2/dumper/src/db_writer.cc
Examining data/centreon-broker-19.10.2/dumper/src/directory_dump.cc
Examining data/centreon-broker-19.10.2/dumper/src/directory_dump_committed.cc
Examining data/centreon-broker-19.10.2/dumper/src/directory_dumper.cc
Examining data/centreon-broker-19.10.2/dumper/src/dump.cc
Examining data/centreon-broker-19.10.2/dumper/src/entries/ba.cc
Examining data/centreon-broker-19.10.2/dumper/src/entries/ba_type.cc
Examining data/centreon-broker-19.10.2/dumper/src/entries/boolean.cc
Examining data/centreon-broker-19.10.2/dumper/src/entries/diff.cc
Examining data/centreon-broker-19.10.2/dumper/src/entries/host.cc
Examining data/centreon-broker-19.10.2/dumper/src/entries/kpi.cc
Examining data/centreon-broker-19.10.2/dumper/src/entries/organization.cc
Examining data/centreon-broker-19.10.2/dumper/src/entries/service.cc
Examining data/centreon-broker-19.10.2/dumper/src/entries/state.cc
Examining data/centreon-broker-19.10.2/dumper/src/factory.cc
Examining data/centreon-broker-19.10.2/dumper/src/fifo_dumper.cc
Examining data/centreon-broker-19.10.2/dumper/src/main.cc
Examining data/centreon-broker-19.10.2/dumper/src/opener.cc
Examining data/centreon-broker-19.10.2/dumper/src/remove.cc
Examining data/centreon-broker-19.10.2/dumper/src/stream.cc
Examining data/centreon-broker-19.10.2/dumper/src/timestamp_cache.cc
Examining data/centreon-broker-19.10.2/generator/src/dummy.cc
Examining data/centreon-broker-19.10.2/generator/src/endpoint.cc
Examining data/centreon-broker-19.10.2/generator/src/factory.cc
Examining data/centreon-broker-19.10.2/generator/src/main.cc
Examining data/centreon-broker-19.10.2/generator/src/receiver.cc
Examining data/centreon-broker-19.10.2/generator/src/sender.cc
Examining data/centreon-broker-19.10.2/graphite/src/connector.cc
Examining data/centreon-broker-19.10.2/graphite/src/factory.cc
Examining data/centreon-broker-19.10.2/graphite/src/macro_cache.cc
Examining data/centreon-broker-19.10.2/graphite/src/main.cc
Examining data/centreon-broker-19.10.2/graphite/src/query.cc
Examining data/centreon-broker-19.10.2/graphite/src/stream.cc
Examining data/centreon-broker-19.10.2/influxdb/src/column.cc
Examining data/centreon-broker-19.10.2/influxdb/src/connector.cc
Examining data/centreon-broker-19.10.2/influxdb/src/factory.cc
Examining data/centreon-broker-19.10.2/influxdb/src/influxdb12.cc
Examining data/centreon-broker-19.10.2/influxdb/src/json_printer.cc
Examining data/centreon-broker-19.10.2/influxdb/src/line_protocol_query.cc
Examining data/centreon-broker-19.10.2/influxdb/src/macro_cache.cc
Examining data/centreon-broker-19.10.2/influxdb/src/main.cc
Examining data/centreon-broker-19.10.2/influxdb/src/stream.cc
Examining data/centreon-broker-19.10.2/lua/src/broker_cache.cc
Examining data/centreon-broker-19.10.2/lua/src/broker_log.cc
Examining data/centreon-broker-19.10.2/lua/src/broker_socket.cc
Examining data/centreon-broker-19.10.2/lua/src/broker_utils.cc
Examining data/centreon-broker-19.10.2/lua/src/connector.cc
Examining data/centreon-broker-19.10.2/lua/src/factory.cc
Examining data/centreon-broker-19.10.2/lua/src/luabinding.cc
Examining data/centreon-broker-19.10.2/lua/src/macro_cache.cc
Examining data/centreon-broker-19.10.2/lua/src/main.cc
Examining data/centreon-broker-19.10.2/lua/src/stream.cc
Examining data/centreon-broker-19.10.2/lua/test/lua.cc
Examining data/centreon-broker-19.10.2/neb/src/acknowledgement.cc
Examining data/centreon-broker-19.10.2/neb/src/broker.cc
Examining data/centreon-broker-19.10.2/neb/src/callback.cc
Examining data/centreon-broker-19.10.2/neb/src/callbacks.cc
Examining data/centreon-broker-19.10.2/neb/src/check.cc
Examining data/centreon-broker-19.10.2/neb/src/comment.cc
Examining data/centreon-broker-19.10.2/neb/src/custom_variable.cc
Examining data/centreon-broker-19.10.2/neb/src/custom_variable_status.cc
Examining data/centreon-broker-19.10.2/neb/src/dependency.cc
Examining data/centreon-broker-19.10.2/neb/src/downtime.cc
Examining data/centreon-broker-19.10.2/neb/src/downtime_map.cc
Examining data/centreon-broker-19.10.2/neb/src/downtime_scheduler.cc
Examining data/centreon-broker-19.10.2/neb/src/downtime_serializable.cc
Examining data/centreon-broker-19.10.2/neb/src/engcmd/endpoint.cc
Examining data/centreon-broker-19.10.2/neb/src/engcmd/engine_command.cc
Examining data/centreon-broker-19.10.2/neb/src/engcmd/factory.cc
Examining data/centreon-broker-19.10.2/neb/src/engcmd/internal.cc
Examining data/centreon-broker-19.10.2/neb/src/event_handler.cc
Examining data/centreon-broker-19.10.2/neb/src/flapping_status.cc
Examining data/centreon-broker-19.10.2/neb/src/group.cc
Examining data/centreon-broker-19.10.2/neb/src/group_member.cc
Examining data/centreon-broker-19.10.2/neb/src/host.cc
Examining data/centreon-broker-19.10.2/neb/src/host_check.cc
Examining data/centreon-broker-19.10.2/neb/src/host_dependency.cc
Examining data/centreon-broker-19.10.2/neb/src/host_group.cc
Examining data/centreon-broker-19.10.2/neb/src/host_group_member.cc
Examining data/centreon-broker-19.10.2/neb/src/host_parent.cc
Examining data/centreon-broker-19.10.2/neb/src/host_service.cc
Examining data/centreon-broker-19.10.2/neb/src/host_service_status.cc
Examining data/centreon-broker-19.10.2/neb/src/host_status.cc
Examining data/centreon-broker-19.10.2/neb/src/initial.cc
Examining data/centreon-broker-19.10.2/neb/src/instance.cc
Examining data/centreon-broker-19.10.2/neb/src/instance_configuration.cc
Examining data/centreon-broker-19.10.2/neb/src/instance_status.cc
Examining data/centreon-broker-19.10.2/neb/src/internal.cc
Examining data/centreon-broker-19.10.2/neb/src/log_entry.cc
Examining data/centreon-broker-19.10.2/neb/src/module.cc
Examining data/centreon-broker-19.10.2/neb/src/monitoring_logger.cc
Examining data/centreon-broker-19.10.2/neb/src/neb.cc
Examining data/centreon-broker-19.10.2/neb/src/node_cache.cc
Examining data/centreon-broker-19.10.2/neb/src/node_events_connector.cc
Examining data/centreon-broker-19.10.2/neb/src/node_events_factory.cc
Examining data/centreon-broker-19.10.2/neb/src/node_events_stream.cc
Examining data/centreon-broker-19.10.2/neb/src/node_id.cc
Examining data/centreon-broker-19.10.2/neb/src/responsive_instance.cc
Examining data/centreon-broker-19.10.2/neb/src/service.cc
Examining data/centreon-broker-19.10.2/neb/src/service_check.cc
Examining data/centreon-broker-19.10.2/neb/src/service_dependency.cc
Examining data/centreon-broker-19.10.2/neb/src/service_group.cc
Examining data/centreon-broker-19.10.2/neb/src/service_group_member.cc
Examining data/centreon-broker-19.10.2/neb/src/service_status.cc
Examining data/centreon-broker-19.10.2/neb/src/set_log_data.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/active_host_execution_time.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/active_host_latency.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/active_host_state_change.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/active_hosts_last.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/active_service_execution_time.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/active_service_latency.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/active_service_state_change.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/active_services_last.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/command_buffers.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/generator.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/hosts.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/hosts_actively_checked.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/hosts_checked.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/hosts_flapping.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/hosts_scheduled.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/passive_host_latency.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/passive_host_state_change.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/passive_hosts_last.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/passive_service_latency.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/passive_service_state_change.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/passive_services_last.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/plugin.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/services.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/services_actively_checked.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/services_checked.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/services_flapping.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/services_scheduled.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/total_host_state_change.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/total_hosts.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/total_service_state_change.cc
Examining data/centreon-broker-19.10.2/neb/src/statistics/total_services.cc
Examining data/centreon-broker-19.10.2/neb/src/status.cc
Examining data/centreon-broker-19.10.2/neb/src/timeperiod_serializable.cc
Examining data/centreon-broker-19.10.2/neb/test/custom_variable/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/custom_variable/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/custom_variable/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/custom_variable_status/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/custom_variable_status/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/custom_variable_status/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/event_handler/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/event_handler/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/event_handler/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/flapping_status/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/flapping_status/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/flapping_status/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/host/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/host/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/host/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/host_check/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/host_check/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/host_check/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/host_dependency/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/host_dependency/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/host_dependency/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/host_parent/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/host_parent/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/host_parent/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/host_status/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/host_status/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/host_status/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/instance/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/instance/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/instance/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/instance_status/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/instance_status/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/instance_status/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/log_entry/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/log_entry/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/log_entry/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/module/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/module/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/module/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/node_events/common.cc
Examining data/centreon-broker-19.10.2/neb/test/node_events/downtime_fixed.cc
Examining data/centreon-broker-19.10.2/neb/test/node_events/downtime_floating.cc
Examining data/centreon-broker-19.10.2/neb/test/node_events/file_downtime.cc
Examining data/centreon-broker-19.10.2/neb/test/node_events/recurring_downtime.cc
Examining data/centreon-broker-19.10.2/neb/test/service/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/service/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/service/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/service_check/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/service_check/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/service_check/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/service_dependency/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/service_dependency/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/service_dependency/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/service_status/assignment.cc
Examining data/centreon-broker-19.10.2/neb/test/service_status/ctor_copy.cc
Examining data/centreon-broker-19.10.2/neb/test/service_status/ctor_default.cc
Examining data/centreon-broker-19.10.2/neb/test/set_log_data/default.cc
Examining data/centreon-broker-19.10.2/neb/test/set_log_data/dummy_engine.cc
Examining data/centreon-broker-19.10.2/neb/test/set_log_data/host_alert.cc
Examining data/centreon-broker-19.10.2/neb/test/set_log_data/initial_host_state.cc
Examining data/centreon-broker-19.10.2/neb/test/set_log_data/initial_service_state.cc
Examining data/centreon-broker-19.10.2/neb/test/set_log_data/service_alert.cc
Examining data/centreon-broker-19.10.2/notification/src/action.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/command_by_id_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/composed_command_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/composed_contact_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/composed_dependency_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/composed_node_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/composed_notification_method_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/composed_notification_rule_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/composed_timeperiod_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/contact_by_id_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/dependency_by_node_id_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/global_macro_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/node_by_node_id_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/node_set_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/notification_method_by_id_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/notification_rule_by_id_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/notification_rule_by_node_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/timeperiod_by_id_builder.cc
Examining data/centreon-broker-19.10.2/notification/src/builders/timeperiod_linker.cc
Examining data/centreon-broker-19.10.2/notification/src/connector.cc
Examining data/centreon-broker-19.10.2/notification/src/factory.cc
Examining data/centreon-broker-19.10.2/notification/src/loaders/command_loader.cc
Examining data/centreon-broker-19.10.2/notification/src/loaders/contact_loader.cc
Examining data/centreon-broker-19.10.2/notification/src/loaders/dependency_loader.cc
Examining data/centreon-broker-19.10.2/notification/src/loaders/escalation_loader.cc
Examining data/centreon-broker-19.10.2/notification/src/loaders/macro_loader.cc
Examining data/centreon-broker-19.10.2/notification/src/loaders/node_loader.cc
Examining data/centreon-broker-19.10.2/notification/src/loaders/notification_method_loader.cc
Examining data/centreon-broker-19.10.2/notification/src/loaders/notification_rule_loader.cc
Examining data/centreon-broker-19.10.2/notification/src/loaders/timeperiod_loader.cc
Examining data/centreon-broker-19.10.2/notification/src/macro_context.cc
Examining data/centreon-broker-19.10.2/notification/src/macro_generator.cc
Examining data/centreon-broker-19.10.2/notification/src/macro_getters.cc
Examining data/centreon-broker-19.10.2/notification/src/main.cc
Examining data/centreon-broker-19.10.2/notification/src/node_cache.cc
Examining data/centreon-broker-19.10.2/notification/src/notification_scheduler.cc
Examining data/centreon-broker-19.10.2/notification/src/objects/command.cc
Examining data/centreon-broker-19.10.2/notification/src/objects/contact.cc
Examining data/centreon-broker-19.10.2/notification/src/objects/defines.cc
Examining data/centreon-broker-19.10.2/notification/src/objects/dependency.cc
Examining data/centreon-broker-19.10.2/notification/src/objects/node.cc
Examining data/centreon-broker-19.10.2/notification/src/objects/node_id.cc
Examining data/centreon-broker-19.10.2/notification/src/objects/notification_method.cc
Examining data/centreon-broker-19.10.2/notification/src/objects/notification_rule.cc
Examining data/centreon-broker-19.10.2/notification/src/process.cc
Examining data/centreon-broker-19.10.2/notification/src/process_manager.cc
Examining data/centreon-broker-19.10.2/notification/src/run_queue.cc
Examining data/centreon-broker-19.10.2/notification/src/state.cc
Examining data/centreon-broker-19.10.2/notification/src/stream.cc
Examining data/centreon-broker-19.10.2/notification/src/utilities/data_loggers.cc
Examining data/centreon-broker-19.10.2/notification/src/utilities/get_datetime_string.cc
Examining data/centreon-broker-19.10.2/notification/src/utilities/qhash_func.cc
Examining data/centreon-broker-19.10.2/rrd/src/backend.cc
Examining data/centreon-broker-19.10.2/rrd/src/cached.cc
Examining data/centreon-broker-19.10.2/rrd/src/connector.cc
Examining data/centreon-broker-19.10.2/rrd/src/creator.cc
Examining data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc
Examining data/centreon-broker-19.10.2/rrd/src/exceptions/update.cc
Examining data/centreon-broker-19.10.2/rrd/src/factory.cc
Examining data/centreon-broker-19.10.2/rrd/src/lib.cc
Examining data/centreon-broker-19.10.2/rrd/src/main.cc
Examining data/centreon-broker-19.10.2/rrd/src/output.cc
Examining data/centreon-broker-19.10.2/rrd/test/exceptions.cc
Examining data/centreon-broker-19.10.2/rrd/test/rrd.cc
Examining data/centreon-broker-19.10.2/sql/src/cleanup.cc
Examining data/centreon-broker-19.10.2/sql/src/connector.cc
Examining data/centreon-broker-19.10.2/sql/src/factory.cc
Examining data/centreon-broker-19.10.2/sql/src/main.cc
Examining data/centreon-broker-19.10.2/sql/src/stored_timestamp.cc
Examining data/centreon-broker-19.10.2/sql/src/stream.cc
Examining data/centreon-broker-19.10.2/stats/src/builder.cc
Examining data/centreon-broker-19.10.2/stats/src/config.cc
Examining data/centreon-broker-19.10.2/stats/src/generator.cc
Examining data/centreon-broker-19.10.2/stats/src/json_serializer.cc
Examining data/centreon-broker-19.10.2/stats/src/main.cc
Examining data/centreon-broker-19.10.2/stats/src/metric.cc
Examining data/centreon-broker-19.10.2/stats/src/parser.cc
Examining data/centreon-broker-19.10.2/stats/src/plain_text_serializer.cc
Examining data/centreon-broker-19.10.2/stats/src/worker.cc
Examining data/centreon-broker-19.10.2/storage/src/connector.cc
Examining data/centreon-broker-19.10.2/storage/src/exceptions/perfdata.cc
Examining data/centreon-broker-19.10.2/storage/src/factory.cc
Examining data/centreon-broker-19.10.2/storage/src/index_mapping.cc
Examining data/centreon-broker-19.10.2/storage/src/main.cc
Examining data/centreon-broker-19.10.2/storage/src/metric.cc
Examining data/centreon-broker-19.10.2/storage/src/metric_mapping.cc
Examining data/centreon-broker-19.10.2/storage/src/parser.cc
Examining data/centreon-broker-19.10.2/storage/src/perfdata.cc
Examining data/centreon-broker-19.10.2/storage/src/rebuild.cc
Examining data/centreon-broker-19.10.2/storage/src/rebuilder.cc
Examining data/centreon-broker-19.10.2/storage/src/remove_graph.cc
Examining data/centreon-broker-19.10.2/storage/src/status.cc
Examining data/centreon-broker-19.10.2/storage/src/stream.cc
Examining data/centreon-broker-19.10.2/storage/test/exceptions/perfdata/clone.cc
Examining data/centreon-broker-19.10.2/storage/test/exceptions/perfdata/rethrow.cc
Examining data/centreon-broker-19.10.2/storage/test/exceptions/perfdata/throw.cc
Examining data/centreon-broker-19.10.2/storage/test/metric/assignment.cc
Examining data/centreon-broker-19.10.2/storage/test/metric/ctor_copy.cc
Examining data/centreon-broker-19.10.2/storage/test/metric/ctor_default.cc
Examining data/centreon-broker-19.10.2/storage/test/parser/parse_perfdata.cc
Examining data/centreon-broker-19.10.2/storage/test/perfdata/assignment.cc
Examining data/centreon-broker-19.10.2/storage/test/perfdata/ctor_copy.cc
Examining data/centreon-broker-19.10.2/storage/test/perfdata/ctor_default.cc
Examining data/centreon-broker-19.10.2/storage/test/rebuild/assignment.cc
Examining data/centreon-broker-19.10.2/storage/test/rebuild/ctor_copy.cc
Examining data/centreon-broker-19.10.2/storage/test/rebuild/ctor_default.cc
Examining data/centreon-broker-19.10.2/storage/test/remove_graph/assignment.cc
Examining data/centreon-broker-19.10.2/storage/test/remove_graph/ctor_copy.cc
Examining data/centreon-broker-19.10.2/storage/test/remove_graph/ctor_default.cc
Examining data/centreon-broker-19.10.2/storage/test/status/assignment.cc
Examining data/centreon-broker-19.10.2/storage/test/status/ctor_copy.cc
Examining data/centreon-broker-19.10.2/storage/test/status/ctor_default.cc
Examining data/centreon-broker-19.10.2/tcp/src/acceptor.cc
Examining data/centreon-broker-19.10.2/tcp/src/connector.cc
Examining data/centreon-broker-19.10.2/tcp/src/factory.cc
Examining data/centreon-broker-19.10.2/tcp/src/main.cc
Examining data/centreon-broker-19.10.2/tcp/src/server_socket.cc
Examining data/centreon-broker-19.10.2/tcp/src/stream.cc
Examining data/centreon-broker-19.10.2/test/automatic_retention.cc
Examining data/centreon-broker-19.10.2/test/bam/v2/main.cc
Examining data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc
Examining data/centreon-broker-19.10.2/test/bam_circular.cc
Examining data/centreon-broker-19.10.2/test/bam_correlation.cc
Examining data/centreon-broker-19.10.2/test/bam_dimension.cc
Examining data/centreon-broker-19.10.2/test/bam_events_autoclose.cc
Examining data/centreon-broker-19.10.2/test/bam_rebuild.cc
Examining data/centreon-broker-19.10.2/test/bbdo_multiple_connections.cc
Examining data/centreon-broker-19.10.2/test/bbdo_one_peer_retention_mode.cc
Examining data/centreon-broker-19.10.2/test/bbdo_protocol_version.cc
Examining data/centreon-broker-19.10.2/test/bench_bbdo.cc
Examining data/centreon-broker-19.10.2/test/bench_generate_rrd.cc
Examining data/centreon-broker-19.10.2/test/bench_generate_rrd_mod.cc
Examining data/centreon-broker-19.10.2/test/bench_stream.cc
Examining data/centreon-broker-19.10.2/test/broker_extcmd.cc
Examining data/centreon-broker-19.10.2/test/cbd.cc
Examining data/centreon-broker-19.10.2/test/centengine.cc
Examining data/centreon-broker-19.10.2/test/centengine_config.cc
Examining data/centreon-broker-19.10.2/test/centengine_extcmd.cc
Examining data/centreon-broker-19.10.2/test/centengine_object.cc
Examining data/centreon-broker-19.10.2/test/correlation_to_sql.cc
Examining data/centreon-broker-19.10.2/test/db.cc
Examining data/centreon-broker-19.10.2/test/db_cfg.cc
Examining data/centreon-broker-19.10.2/test/delete_graphs.cc
Examining data/centreon-broker-19.10.2/test/directory_dumper.cc
Examining data/centreon-broker-19.10.2/test/failover_to_tcp.cc
Examining data/centreon-broker-19.10.2/test/fifo_dumper.cc
Examining data/centreon-broker-19.10.2/test/file.cc
Examining data/centreon-broker-19.10.2/test/graphite.cc
Examining data/centreon-broker-19.10.2/test/helgrind.cc
Examining data/centreon-broker-19.10.2/test/influxdb.cc
Examining data/centreon-broker-19.10.2/test/meta_service.cc
Examining data/centreon-broker-19.10.2/test/misc.cc
Examining data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc
Examining data/centreon-broker-19.10.2/test/my_plugin.cc
Examining data/centreon-broker-19.10.2/test/my_plugin_bam.cc
Examining data/centreon-broker-19.10.2/test/notification.cc
Examining data/centreon-broker-19.10.2/test/notification_correlated.cc
Examining data/centreon-broker-19.10.2/test/notification_non_correlated.cc
Examining data/centreon-broker-19.10.2/test/predicate.cc
Examining data/centreon-broker-19.10.2/test/rebuild_graphs.cc
Examining data/centreon-broker-19.10.2/test/rrd/v2/disable_metrics.cc
Examining data/centreon-broker-19.10.2/test/rrd/v2/disable_status.cc
Examining data/centreon-broker-19.10.2/test/rrd_file.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/acknowledgements.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/comments.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/customvariables.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/downtimes.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/eventhandlers.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/hostdependencies.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/hostgroups.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/hostparents.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/hosts.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/instances.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/logs.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/modules.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/servicedependencies.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/servicegroups.cc
Examining data/centreon-broker-19.10.2/test/rtmonitoring/v2/services.cc
Examining data/centreon-broker-19.10.2/test/secondary_failovers_to_file.cc
Examining data/centreon-broker-19.10.2/test/sql_cleanup.cc
Examining data/centreon-broker-19.10.2/test/sql_id_change.cc
Examining data/centreon-broker-19.10.2/test/sql_instance_update_outdated.cc
Examining data/centreon-broker-19.10.2/test/stats.cc
Examining data/centreon-broker-19.10.2/test/stats_events.cc
Examining data/centreon-broker-19.10.2/test/table_content.cc
Examining data/centreon-broker-19.10.2/test/time_points.cc
Examining data/centreon-broker-19.10.2/test/tls_to_sql.cc
Examining data/centreon-broker-19.10.2/test/write_into_file.cc
Examining data/centreon-broker-19.10.2/tls/src/acceptor.cc
Examining data/centreon-broker-19.10.2/tls/src/connector.cc
Examining data/centreon-broker-19.10.2/tls/src/factory.cc
Examining data/centreon-broker-19.10.2/tls/src/internal.cc
Examining data/centreon-broker-19.10.2/tls/src/main.cc
Examining data/centreon-broker-19.10.2/tls/src/params.cc
Examining data/centreon-broker-19.10.2/tls/src/stream.cc
Examining data/centreon-broker-19.10.2/watchdog/src/application.cc
Examining data/centreon-broker-19.10.2/watchdog/src/configuration.cc
Examining data/centreon-broker-19.10.2/watchdog/src/configuration_parser.cc
Examining data/centreon-broker-19.10.2/watchdog/src/instance.cc
Examining data/centreon-broker-19.10.2/watchdog/src/instance_configuration.cc
Examining data/centreon-broker-19.10.2/watchdog/src/main.cc

FINAL RESULTS:

data/centreon-broker-19.10.2/core/src/config/applier/logger.cc:202:24:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  case config::logger::syslog:
data/centreon-broker-19.10.2/core/src/config/parser.cc:357:26:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
          l.type(logger::syslog);
data/centreon-broker-19.10.2/core/src/misc/stringifier.cc:27:11:  [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.
#  define snprintf _snprintf
data/centreon-broker-19.10.2/core/src/misc/stringifier.cc:27:20:  [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.
#  define snprintf _snprintf
data/centreon-broker-19.10.2/core/src/misc/stringifier.cc:319:11:  [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.
  int ret(snprintf(_buffer + _current,
data/centreon-broker-19.10.2/core/src/misc/stringifier.cc:330:16:  [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 ((ret = snprintf(_buffer + _current,
data/centreon-broker-19.10.2/core/src/misc/stringifier.cc:355:11:  [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.
  int ret(snprintf(_buffer + _current,
data/centreon-broker-19.10.2/core/src/misc/stringifier.cc:367:16:  [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 ((ret = snprintf(_buffer + _current,
data/centreon-broker-19.10.2/core/test/config/logger/assignment.cc:49:27:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  l2.type(config::logger::syslog);
data/centreon-broker-19.10.2/rrd/src/cached.cc:163: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(filename.c_str(), F_OK))
data/centreon-broker-19.10.2/rrd/src/lib.cc:123: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(filename.c_str(), F_OK))
data/centreon-broker-19.10.2/rrd/test/rrd.cc:65:21:  [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.
  bool file_exists(!access(file_path.c_str(), F_OK));
data/centreon-broker-19.10.2/rrd/test/rrd.cc:89:21:  [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.
  bool file_exists(!access(file_path.c_str(), F_OK));
data/centreon-broker-19.10.2/rrd/test/rrd.cc:117:21:  [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.
  bool file_exists(!access(file_path.c_str(), F_OK));
data/centreon-broker-19.10.2/rrd/test/rrd.cc:144:21:  [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.
  bool file_exists(!access(file_path.c_str(), F_OK));
data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc:191: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(h.name, str);
data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc:202: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(s.host_name, host_name);
data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc:209: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(s.description, str.c_str());
data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc:221: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(s.service_check_command, str.c_str());
data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc:244: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(cmd.command_line, cmdline);
data/centreon-broker-19.10.2/test/bam_circular.cc:88: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(s->description, str.c_str());
data/centreon-broker-19.10.2/test/bam_circular.cc:95: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(s->description, str.c_str());
data/centreon-broker-19.10.2/test/delete_graphs.cc:140: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(cmd.command_line, cmdline);
data/centreon-broker-19.10.2/test/delete_graphs.cc:259:15:  [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(status_file.str().c_str(), F_OK))
data/centreon-broker-19.10.2/test/delete_graphs.cc:267:15:  [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(metrics_file.str().c_str(), F_OK))
data/centreon-broker-19.10.2/test/delete_graphs.cc:368: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.
      if (!access(status_file.str().c_str(), F_OK))
data/centreon-broker-19.10.2/test/delete_graphs.cc:383:14:  [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(metrics_file.str().c_str(), F_OK))
data/centreon-broker-19.10.2/test/meta_service.cc:77: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(it->command_line, cmd.c_str());
data/centreon-broker-19.10.2/test/meta_service.cc:93: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(it->service_check_command, cmd.c_str());
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:149: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(it->command_line, cmd);
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:152: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(it->command_line, cmd);
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:156: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(it->command_line, cmd);
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:160: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(it->command_line, cmd);
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:164: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(it->command_line, cmd);
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:168: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(it->command_line, cmd);
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:182: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(it->host_check_command, str);
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:218: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(it->service_check_command, str);
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:461:11:  [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(path.str().c_str(), F_OK))
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:475:11:  [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(path.str().c_str(), F_OK))
data/centreon-broker-19.10.2/test/notification.cc:129:5:  [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.
  ::snprintf(name, 31, format.c_str(), i);
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:142: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(cmd->command_line, cmdline);
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:146: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(cmd->command_line, cmdline);
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:154: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(it->host_check_command, (++i % 2 ? "1" : "2"));
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:164: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(it->service_check_command, (++i % 2 ? "1" : "2"));
data/centreon-broker-19.10.2/test/stats_events.cc:369:11:  [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(path.str().c_str(), F_OK))
data/centreon-broker-19.10.2/core/src/file/directory_watcher.cc:73:23:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  char *real_path = ::realpath(directory.c_str(), NULL);
data/centreon-broker-19.10.2/core/src/file/directory_watcher.cc:87:23:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  char *real_path = ::realpath(directory.c_str(), NULL);
data/centreon-broker-19.10.2/core/src/time/timezone_manager.cc:101:17:  [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* base_tz(getenv("TZ"));
data/centreon-broker-19.10.2/core/test/logging/logging/performance.cc:87: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(time(NULL));
data/centreon-broker-19.10.2/rrd/src/connector.cc:226:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  char* real_path(realpath(qPrintable(path), NULL));
data/centreon-broker-19.10.2/test/automatic_retention.cc:102:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/automatic_retention.cc:103:25:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string cache_dir(tmpnam(NULL));
data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc:160:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc:247:24:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/bam_circular.cc:50:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/bam_correlation.cc:53:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/bam_correlation.cc:219:24:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/bbdo_multiple_connections.cc:54:29:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    engine_config_path[i] = tmpnam(NULL);
data/centreon-broker-19.10.2/test/bbdo_one_peer_retention_mode.cc:51:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/bench_generate_rrd.cc:94:31:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string cbd_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/bench_generate_rrd.cc:95:28:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string metrics_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/bench_generate_rrd.cc:96:27:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string status_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/broker_extcmd.cc:32:12:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/correlation_to_sql.cc:59:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/correlation_to_sql.cc:73:30:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    cbmod_commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/correlation_to_sql.cc:98:31:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    engine_commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/db_cfg.cc:222:24:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/delete_graphs.cc:59:31:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string cbd_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/delete_graphs.cc:60:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/delete_graphs.cc:61:28:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string metrics_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/delete_graphs.cc:62:27:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string status_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/directory_dumper.cc:74:32:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string fifo_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/directory_dumper.cc:83:39:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string dumper_command_file = ::tmpnam(NULL);
data/centreon-broker-19.10.2/test/failover_to_tcp.cc:71:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/fifo_dumper.cc:50:32:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string fifo_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/graphite.cc:68:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/graphite.cc:96:24:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/helgrind.cc:55:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/influxdb.cc:71:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/influxdb.cc:100:24:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/meta_service.cc:53:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/meta_service.cc:96:24:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:74:33:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string cbmod_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:75:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:76:28:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string metrics_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:77:27:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string status_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:222:24:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification.cc:344:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification.cc:345:25:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string flag_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification.cc:346:26:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string flag_file2(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification.cc:347:26:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string flag_file3(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification.cc:348:26:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string flag_file4(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification.cc:349:31:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string node_cache_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification.cc:482:24:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification.cc:483:31:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    broker_commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification_correlated.cc:49:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification_correlated.cc:50:25:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string flag_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification_correlated.cc:51:31:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string node_cache_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification_correlated.cc:134:24:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification_non_correlated.cc:49:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification_non_correlated.cc:50:25:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string flag_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification_non_correlated.cc:51:31:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string node_cache_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/notification_non_correlated.cc:139:24:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:67:33:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string cbmod_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:68:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:69:28:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string metrics_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:70:27:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string status_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/secondary_failovers_to_file.cc:54:33:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string cbmod_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/secondary_failovers_to_file.cc:55:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/secondary_failovers_to_file.cc:56:45:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string retention_secondary_file_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/secondary_failovers_to_file.cc:57:46:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string retention_secondary_file2_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/secondary_failovers_to_file.cc:59:22:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  commander.set_file(tmpnam(NULL));
data/centreon-broker-19.10.2/test/sql_cleanup.cc:49:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/sql_id_change.cc:51:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/sql_instance_update_outdated.cc:53:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/stats.cc:43:31:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string cbd_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/stats.cc:44:26:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string stats_pipe(tmpnam(NULL));
data/centreon-broker-19.10.2/test/stats_events.cc:70:33:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string cbmod_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/stats_events.cc:71:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/stats_events.cc:72:28:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string metrics_path(tmpnam(NULL));
data/centreon-broker-19.10.2/test/tls_to_sql.cc:51:34:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  std::string engine_config_path(tmpnam(NULL));
data/centreon-broker-19.10.2/bam/src/connector.cc:109:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/bam/src/exp_tokenizer.cc:204:11:  [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 quote(_text[_next]);
data/centreon-broker-19.10.2/bam/src/monitoring_stream.cc:538: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(_ext_cmd_file.c_str());
data/centreon-broker-19.10.2/core/src/bbdo/acceptor.cc:125:39:  [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).
std::shared_ptr<io::stream> acceptor::open() {
data/centreon-broker-19.10.2/core/src/bbdo/acceptor.cc:130:18:  [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).
      s = _from->open();
data/centreon-broker-19.10.2/core/src/bbdo/connector.cc:107:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/core/src/bbdo/connector.cc:114:27:  [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).
    retval = _open(_from->open());
data/centreon-broker-19.10.2/core/src/bbdo/output.cc:60: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 str[32];
data/centreon-broker-19.10.2/core/src/bbdo/output.cc:226:9:  [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 header[BBDO_HEADER_SIZE];
data/centreon-broker-19.10.2/core/src/compression/opener.cc:73: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).
std::shared_ptr<io::stream> opener::open() {
data/centreon-broker-19.10.2/core/src/compression/opener.cc:76:27:  [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).
    retval = _open(_from->open());
data/centreon-broker-19.10.2/core/src/compression/stream.cc:291:14:  [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.
    unsigned char buffer[4];
data/centreon-broker-19.10.2/core/src/config/parser.cc:77: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).
  if (!f.open(QIODevice::ReadOnly))
data/centreon-broker-19.10.2/core/src/database.cc:66:17:  [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 (!_db->open())
data/centreon-broker-19.10.2/core/src/extcmd/command_client.cc:83: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[1000];
data/centreon-broker-19.10.2/core/src/extcmd/command_server.cc:68:45:  [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).
std::shared_ptr<io::stream> command_server::open() {
data/centreon-broker-19.10.2/core/src/file/cfile.cc:72:13:  [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).
  _stream = fopen(_path.c_str(), cfile_mode);
data/centreon-broker-19.10.2/core/src/file/fifo.cc:90: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 buf[BUF_SIZE];
data/centreon-broker-19.10.2/core/src/file/fifo.cc:142: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).
  _fd = ::open(_path.c_str(), O_RDWR | O_NONBLOCK);
data/centreon-broker-19.10.2/core/src/file/opener.cc:79: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).
std::shared_ptr<io::stream> opener::open() {
data/centreon-broker-19.10.2/core/src/file/splitter.cc:408: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     bytes[2 * sizeof(uint32_t)];
data/centreon-broker-19.10.2/core/src/logging/file.cc:78: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).
  if (!_file.open(QIODevice::WriteOnly | QIODevice::Append))
data/centreon-broker-19.10.2/core/src/logging/file.cc:97: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).
  if (!_file.open(special, QIODevice::WriteOnly))
data/centreon-broker-19.10.2/core/src/logging/file.cc:154: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[integer_width<time_t>::value + 10];
data/centreon-broker-19.10.2/core/src/logging/file.cc:174:9:  [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 human_readable_date[26];
data/centreon-broker-19.10.2/core/src/logging/file.cc:183: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[integer_width<unsigned long long>::value + 2];
data/centreon-broker-19.10.2/core/src/logging/file.cc:298: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).
  _file.open(QIODevice::WriteOnly | QIODevice::Truncate);
data/centreon-broker-19.10.2/core/src/misc/misc.cc:36:14:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
  int retval(mkstemp(path));
data/centreon-broker-19.10.2/core/src/misc/processing_speed_computer.cc:43: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-broker-19.10.2/core/src/misc/processing_speed_computer.cc:64: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(
data/centreon-broker-19.10.2/core/src/misc/string.cc:43: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-broker-19.10.2/core/src/misc/stringifier.cc:395: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(_buffer, right._buffer, (_current + 1) * sizeof(*_buffer));
data/centreon-broker-19.10.2/core/src/misc/stringifier.cc:411: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, (_current + 1) * sizeof(*new_buffer));
data/centreon-broker-19.10.2/core/src/modules/handle.cc:56: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).
  this->open(other._handle.fileName().toStdString());
data/centreon-broker-19.10.2/core/src/modules/handle.cc:84: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).
  this->open(other._handle.fileName().toStdString());
data/centreon-broker-19.10.2/core/src/modules/handle.cc:152: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(std::string const& filename, void const* arg) {
data/centreon-broker-19.10.2/core/src/modules/loader.cc:137: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).
    handl->open(filename, arg);
data/centreon-broker-19.10.2/core/src/persistent_cache.cc:133:39:  [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).
  std::shared_ptr<io::stream> fs(opnr.open());
data/centreon-broker-19.10.2/core/src/persistent_cache.cc:187:39:  [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).
  std::shared_ptr<io::stream> fs(opnr.open());
data/centreon-broker-19.10.2/core/src/persistent_file.cc:37:39:  [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).
  std::shared_ptr<io::stream> fs(opnr.open());
data/centreon-broker-19.10.2/core/src/processing/acceptor.cc:59:40:  [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).
  std::shared_ptr<io::stream> s(_endp->open());
data/centreon-broker-19.10.2/core/src/processing/failover.cc:138:50:  [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).
        std::shared_ptr<io::stream> s(_endpoint->open());
data/centreon-broker-19.10.2/core/src/processing/failover.cc:175:48:  [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).
          std::shared_ptr<io::stream> s((*it)->open());
data/centreon-broker-19.10.2/core/src/time/daterange.cc:1143: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-broker-19.10.2/core/test/bbdo/input_buffer/erase.cc:29: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[120];
data/centreon-broker-19.10.2/core/test/bbdo/input_buffer/extract.cc:28: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[120];
data/centreon-broker-19.10.2/core/test/config/parser/endpoint.cc:47:25:  [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).
      FILE* file_stream(fopen(config_file.c_str(), "w"));
data/centreon-broker-19.10.2/core/test/config/parser/include.cc:47:29:  [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).
      FILE* included_stream(fopen(included.c_str(), "w"));
data/centreon-broker-19.10.2/core/test/config/parser/include.cc:74:30:  [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).
      FILE* including_stream(fopen(including.c_str(), "w"));
data/centreon-broker-19.10.2/core/test/config/parser/logger.cc:46:25:  [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).
      FILE* file_stream(fopen(config_file.c_str(), "w"));
data/centreon-broker-19.10.2/core/test/file/splitter/default.cc:63: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[1000];
data/centreon-broker-19.10.2/core/test/file/splitter/default.cc:75: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[10];
data/centreon-broker-19.10.2/core/test/file/splitter/more_than_max_size.cc:56: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[10001];
data/centreon-broker-19.10.2/core/test/file/splitter/more_than_max_size.cc:78: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[10001];
data/centreon-broker-19.10.2/core/test/file/splitter/more_than_max_size.cc:98: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[10010];
data/centreon-broker-19.10.2/core/test/file/splitter/resume.cc:36: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[10008];
data/centreon-broker-19.10.2/core/test/file/splitter/resume.cc:89: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[10000];
data/centreon-broker-19.10.2/core/test/file/splitter/resume.cc:104: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[2000];
data/centreon-broker-19.10.2/core/test/file/splitter/resume.cc:120: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[10000];
data/centreon-broker-19.10.2/core/test/file/splitter/split.cc:39: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[10];
data/centreon-broker-19.10.2/core/test/file/splitter/split.cc:79: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[10001];
data/centreon-broker-19.10.2/core/test/file/stream/mixed.cc:85: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[32];
data/centreon-broker-19.10.2/core/test/file/stream/read.cc:62: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).
    if (!f.open(QIODevice::WriteOnly))
data/centreon-broker-19.10.2/core/test/file/stream/read.cc:65: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 header[8];
data/centreon-broker-19.10.2/core/test/file/stream/write.cc:70: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).
  if (!f.open(QIODevice::ReadOnly))
data/centreon-broker-19.10.2/core/test/file/stream/write.cc:75: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 header[8];
data/centreon-broker-19.10.2/core/test/file/stream/write.cc:84: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[36];
data/centreon-broker-19.10.2/core/test/file/test_file.cc:39: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, _content->data() + _pos, size);
data/centreon-broker-19.10.2/core/test/logging/file/common.cc:52: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).
  if (f.open(QIODevice::ReadOnly)) {
data/centreon-broker-19.10.2/core/test/logging/file/common.cc:101:5:  [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).
  f.open();
data/centreon-broker-19.10.2/core/test/logging/logging/concurrent.cc:99:16:  [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).
  retval |= !f.open(QIODevice::ReadOnly);
data/centreon-broker-19.10.2/core/test/multiplexing/muxer/read.cc:50: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(r->QByteArray::data(), &i, sizeof(i));
data/centreon-broker-19.10.2/core/test/multiplexing/subscriber/temporary_endpoint.cc:94:49:  [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).
std::shared_ptr<io::stream> temporary_endpoint::open() {
data/centreon-broker-19.10.2/correlation/src/connector.cc:81:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/correlation/src/parser.cc:87: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).
    if (!qf.open(QIODevice::ReadOnly))
data/centreon-broker-19.10.2/correlation/test/parser/parse_non_retention.cc:61: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).
  if (!f.open(QIODevice::WriteOnly))
data/centreon-broker-19.10.2/dumper/src/directory_dumper.cc:203: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).
    if (!file.open(QIODevice::ReadOnly))
data/centreon-broker-19.10.2/dumper/src/opener.cc:84: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).
std::shared_ptr<io::stream> opener::open() {
data/centreon-broker-19.10.2/generator/src/endpoint.cc:44:39:  [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).
std::shared_ptr<io::stream> endpoint::open() {
data/centreon-broker-19.10.2/graphite/src/connector.cc:98:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/influxdb/src/connector.cc:103:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/lua/src/broker_log.cc:69: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).
      of.open(bl->get_file().c_str(), std::ios_base::app);
data/centreon-broker-19.10.2/lua/src/broker_log.cc:78:9:  [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 buf[80];
data/centreon-broker-19.10.2/lua/src/broker_utils.cc:107:11:  [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 replacement[3] = "\\\\";
data/centreon-broker-19.10.2/lua/src/connector.cc:89:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/lua/test/lua.cc:69: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).
    if (!file.open(QIODevice::ReadOnly))
data/centreon-broker-19.10.2/neb/src/engcmd/endpoint.cc:72:39:  [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).
std::shared_ptr<io::stream> endpoint::open() {
data/centreon-broker-19.10.2/neb/src/engcmd/engine_command.cc:129: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 buff[32];
data/centreon-broker-19.10.2/neb/src/neb.cc:62:8:  [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* gl_qt_argv[2] = {
data/centreon-broker-19.10.2/neb/src/node_events_connector.cc:83:52:  [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).
std::shared_ptr<io::stream> node_events_connector::open() {
data/centreon-broker-19.10.2/neb/src/node_events_stream.cc:762: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).
    ifs.open(_config_file.c_str());
data/centreon-broker-19.10.2/neb/test/node_events/common.cc:46: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 t[64];
data/centreon-broker-19.10.2/neb/test/node_events/file_downtime.cc:53: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(
data/centreon-broker-19.10.2/neb/test/node_events/file_downtime.cc:69: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(
data/centreon-broker-19.10.2/notification/src/connector.cc:118:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/notification/src/stream.cc:285:16:  [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 (!db->open())
data/centreon-broker-19.10.2/notification/src/stream.cc:359: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).
    if (!db->open())
data/centreon-broker-19.10.2/notification/src/utilities/get_datetime_string.cc:42: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-broker-19.10.2/notification/src/utilities/get_datetime_string.cc:43: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-broker-19.10.2/rrd/src/cached.cc:158: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 cached::open(std::string const& filename) {
data/centreon-broker-19.10.2/rrd/src/cached.cc:164:24:  [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).
    throw (exceptions::open() << "RRD: file '" << filename
data/centreon-broker-19.10.2/rrd/src/cached.cc:183: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 cached::open(
data/centreon-broker-19.10.2/rrd/src/cached.cc:198: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).
  _lib.open(filename, length, from, step, value_type);
data/centreon-broker-19.10.2/rrd/src/cached.cc:295: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 line[1024];
data/centreon-broker-19.10.2/rrd/src/connector.cc:81:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/rrd/src/creator.cc:153: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).
      throw (exceptions::open() << "RRD: could not create template file '"
data/centreon-broker-19.10.2/rrd/src/creator.cc:158: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).
    int in_fd(open(tmpl_filename.c_str(), O_RDONLY));
data/centreon-broker-19.10.2/rrd/src/creator.cc:161: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).
      throw (exceptions::open() << "RRD: could not open template file '"
data/centreon-broker-19.10.2/rrd/src/creator.cc:188: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).
  int out_fd(open(
data/centreon-broker-19.10.2/rrd/src/creator.cc:194:24:  [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).
    throw (exceptions::open() << "RRD: could not create file '"
data/centreon-broker-19.10.2/rrd/src/creator.cc:210: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).
      throw (exceptions::open() << "RRD: could not create file '"
data/centreon-broker-19.10.2/rrd/src/creator.cc:255: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* argv[5];
data/centreon-broker-19.10.2/rrd/src/creator.cc:314:24:  [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).
    throw (exceptions::open() << "RRD: could not create file '"
data/centreon-broker-19.10.2/rrd/src/creator.cc:336:24:  [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).
    throw (exceptions::open() << "RRD: could not create file '"
data/centreon-broker-19.10.2/rrd/src/creator.cc:340: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[4096];
data/centreon-broker-19.10.2/rrd/src/creator.cc:348:28:  [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).
        throw (exceptions::open() << "RRD: could not create file '"
data/centreon-broker-19.10.2/rrd/src/creator.cc:361:30:  [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).
          throw (exceptions::open() << "RRD: could not create file '"
data/centreon-broker-19.10.2/rrd/src/creator.cc:401: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).
      throw (exceptions::open() << "RRD: could not create file '"
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:33:1:  [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::open() throw () {}
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:33: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).
open::open() throw () {}
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:40:1:  [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::open(open const& o) throw ()
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:40: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).
open::open(open const& o) throw ()
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:40: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).
open::open(open const& o) throw ()
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:46:1:  [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::~open() throw () {}
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:46: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).
open::~open() throw () {}
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:55:1:  [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& open::operator=(open const& o) throw () {
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:55: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).
open& open::operator=(open const& o) throw () {
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:55:23:  [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& open::operator=(open const& o) throw () {
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:65:18:  [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).
exceptions::msg* open::clone() const {
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:66: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).
  return (new open(*this));
data/centreon-broker-19.10.2/rrd/src/exceptions/open.cc:72: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).
void open::rethrow() const {
data/centreon-broker-19.10.2/rrd/src/lib.cc:118: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).
void lib::open(std::string const& filename) {
data/centreon-broker-19.10.2/rrd/src/lib.cc:124:24:  [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).
    throw (exceptions::open() << "RRD: file '"
data/centreon-broker-19.10.2/rrd/src/lib.cc:143: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).
void lib::open(
data/centreon-broker-19.10.2/rrd/src/lib.cc:202: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* argv[2];
data/centreon-broker-19.10.2/rrd/src/output.cc:211:21:  [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).
          _backend->open(metric_path);
data/centreon-broker-19.10.2/rrd/src/output.cc:213:28:  [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).
        catch (exceptions::open const& b) {
data/centreon-broker-19.10.2/rrd/src/output.cc:215:21:  [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).
          _backend->open(
data/centreon-broker-19.10.2/rrd/src/output.cc:259:21:  [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).
          _backend->open(status_path);
data/centreon-broker-19.10.2/rrd/src/output.cc:261:28:  [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).
        catch (exceptions::open const& b) {
data/centreon-broker-19.10.2/rrd/src/output.cc:263:21:  [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).
          _backend->open(
data/centreon-broker-19.10.2/rrd/test/exceptions.cc:38: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).
  rrd::exceptions::open e;
data/centreon-broker-19.10.2/rrd/test/exceptions.cc:51:36:  [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).
      static_cast<rrd::exceptions::open *>(clone.get())->rethrow();
data/centreon-broker-19.10.2/rrd/test/exceptions.cc:53:29:  [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).
    catch (rrd::exceptions::open const& e) {
data/centreon-broker-19.10.2/rrd/test/exceptions.cc:72:31:  [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).
      throw (rrd::exceptions::open()
data/centreon-broker-19.10.2/rrd/test/exceptions.cc:80:27:  [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).
  catch (rrd::exceptions::open const& e) { // Catch rethrown exception.
data/centreon-broker-19.10.2/rrd/test/exceptions.cc:98:31:  [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).
      throw (rrd::exceptions::open()
data/centreon-broker-19.10.2/rrd/test/exceptions.cc:102:29:  [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).
    catch (rrd::exceptions::open const& e) {
data/centreon-broker-19.10.2/rrd/test/exceptions.cc:113:31:  [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).
      throw (rrd::exceptions::open()
data/centreon-broker-19.10.2/rrd/test/exceptions.cc:128:31:  [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).
      throw (rrd::exceptions::open()
data/centreon-broker-19.10.2/rrd/test/rrd.cc:58: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).
  lib.open(
data/centreon-broker-19.10.2/rrd/test/rrd.cc:80: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).
  lib.open(
data/centreon-broker-19.10.2/rrd/test/rrd.cc:104: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).
  lib.open(
data/centreon-broker-19.10.2/rrd/test/rrd.cc:132: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).
  lib.open(
data/centreon-broker-19.10.2/sql/src/connector.cc:96:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/stats/src/worker.cc:114: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).
  _fd = open(_fifo.c_str(), O_WRONLY | O_NONBLOCK);
data/centreon-broker-19.10.2/storage/src/connector.cc:102:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/tcp/src/acceptor.cc:75:39:  [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).
std::shared_ptr<io::stream> acceptor::open() {
data/centreon-broker-19.10.2/tcp/src/connector.cc:88:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/tcp/src/stream.cc:143: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[2048];
data/centreon-broker-19.10.2/test/automatic_retention.cc:112: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc:170: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).
    db.open(CENTREON_DB_NAME, BI_DB_NAME, true);
data/centreon-broker-19.10.2/test/bam_circular.cc:57: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).
    db.open(DB_NAME, NULL, true);
data/centreon-broker-19.10.2/test/bam_correlation.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).
    db.open(DB_NAME, NULL, true);
data/centreon-broker-19.10.2/test/bam_dimension.cc:290: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).
    db.open(CENTREON_DB_NAME, BI_DB_NAME, true);
data/centreon-broker-19.10.2/test/bam_events_autoclose.cc:47: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).
    db.open(NULL, DB_NAME);
data/centreon-broker-19.10.2/test/bam_rebuild.cc:204: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).
    db.open(CENTREON_DB_NAME, BI_DB_NAME, true);
data/centreon-broker-19.10.2/test/bbdo_multiple_connections.cc:61: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/bbdo_one_peer_retention_mode.cc:58: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/bench_generate_rrd.cc:44: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(
data/centreon-broker-19.10.2/test/broker_extcmd.cc:152: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[1000];
data/centreon-broker-19.10.2/test/centengine.cc:124: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).
    ofs.open(
data/centreon-broker-19.10.2/test/centengine.cc:212: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(
data/centreon-broker-19.10.2/test/centengine.cc:223: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(
data/centreon-broker-19.10.2/test/centengine.cc:234: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(
data/centreon-broker-19.10.2/test/centengine.cc:245: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(
data/centreon-broker-19.10.2/test/centengine.cc:256: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(
data/centreon-broker-19.10.2/test/centengine.cc:267: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(
data/centreon-broker-19.10.2/test/centengine.cc:278: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(
data/centreon-broker-19.10.2/test/centengine.cc:289: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(
data/centreon-broker-19.10.2/test/centengine_extcmd.cc:79: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(_file.c_str(), std::ios_base::out | std::ios_base::app);
data/centreon-broker-19.10.2/test/correlation_to_sql.cc:70: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/db.cc:100: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).
  if (!_db->open())
data/centreon-broker-19.10.2/test/db.cc:127: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).
  if (!_db->open())
data/centreon-broker-19.10.2/test/db.cc:454: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).
    ifs.open(script_name);
data/centreon-broker-19.10.2/test/db.cc:459: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[1024];
data/centreon-broker-19.10.2/test/db_cfg.cc:167:16:  [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).
    db_to_read.open(READ_DB_NAME, NULL, true);
data/centreon-broker-19.10.2/test/db_cfg.cc:168:17:  [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).
    db_to_write.open(WRITE_DB_NAME, NULL, true);
data/centreon-broker-19.10.2/test/delete_graphs.cc:73: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/delete_graphs.cc:82: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(
data/centreon-broker-19.10.2/test/directory_dumper.cc:54: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 buf[4096];
data/centreon-broker-19.10.2/test/directory_dumper.cc:140: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).
    ifs.open(expected_file.c_str());
data/centreon-broker-19.10.2/test/failover_to_tcp.cc:82: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/fifo_dumper.cc:88: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 buf[4096];
data/centreon-broker-19.10.2/test/file.cc:110: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).
    ifs.open(_base_file.c_str());
data/centreon-broker-19.10.2/test/file.cc:114: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-broker-19.10.2/test/file.cc:146: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(
data/centreon-broker-19.10.2/test/graphite.cc:77: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).
    db.open(STORAGE_DB_NAME);
data/centreon-broker-19.10.2/test/helgrind.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).
    db.open(db_name, NULL, true);
data/centreon-broker-19.10.2/test/influxdb.cc:80: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).
    db.open(STORAGE_DB_NAME);
data/centreon-broker-19.10.2/test/meta_service.cc:61: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).
    db.open(DB_NAME, NULL, true);
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:88: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:97: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(
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:178:9:  [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 str[2];
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:214:9:  [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 str[2];
data/centreon-broker-19.10.2/test/my_plugin_bam.cc:56: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).
    if (!db.open())
data/centreon-broker-19.10.2/test/notification.cc:128: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 name[32];
data/centreon-broker-19.10.2/test/notification.cc:365: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).
    db.open(DB_NAME, NULL, true);
data/centreon-broker-19.10.2/test/notification_correlated.cc:63: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).
    db.open(DB_NAME, NULL, true);
data/centreon-broker-19.10.2/test/notification_non_correlated.cc:63: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).
    db.open(DB_NAME, NULL, true);
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:80: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:89: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(
data/centreon-broker-19.10.2/test/rtmonitoring/v2/comments.cc:230: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 dt_cmmnt[200];
data/centreon-broker-19.10.2/test/rtmonitoring/v2/comments.cc:244:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(
data/centreon-broker-19.10.2/test/rtmonitoring/v2/hosts.cc:242: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(expected[i], expected[0], sizeof(expected[0]));
data/centreon-broker-19.10.2/test/rtmonitoring/v2/services.cc:260: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(expected[i], expected[0], sizeof(expected[0]));
data/centreon-broker-19.10.2/test/secondary_failovers_to_file.cc:65: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/secondary_failovers_to_file.cc:70: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(
data/centreon-broker-19.10.2/test/secondary_failovers_to_file.cc:165: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).
    file.open(retention_secondary_file_path.c_str());
data/centreon-broker-19.10.2/test/secondary_failovers_to_file.cc:171: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).
    file.open(retention_secondary_file2_path.c_str());
data/centreon-broker-19.10.2/test/sql_cleanup.cc:55: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/sql_id_change.cc:58: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/sql_instance_update_outdated.cc:61: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/stats.cc:51: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(
data/centreon-broker-19.10.2/test/stats.cc:95: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[BUFSIZ];
data/centreon-broker-19.10.2/test/stats_events.cc:81: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/stats_events.cc:89: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(
data/centreon-broker-19.10.2/test/tls_to_sql.cc:58: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).
    db.open(DB_NAME);
data/centreon-broker-19.10.2/test/write_into_file.cc:39: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).
    ofs.open(filename.c_str());
data/centreon-broker-19.10.2/tls/src/acceptor.cc:89:39:  [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).
std::shared_ptr<io::stream> acceptor::open() {
data/centreon-broker-19.10.2/tls/src/acceptor.cc:97:44:  [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).
  std::shared_ptr<io::stream> lower(_from->open());
data/centreon-broker-19.10.2/tls/src/acceptor.cc:100:18:  [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).
    new_stream = open(lower);
data/centreon-broker-19.10.2/tls/src/acceptor.cc:111:39:  [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).
std::shared_ptr<io::stream> acceptor::open(
data/centreon-broker-19.10.2/tls/src/connector.cc:82:40:  [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).
std::shared_ptr<io::stream> connector::open() {
data/centreon-broker-19.10.2/tls/src/connector.cc:84:44:  [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).
  std::shared_ptr<io::stream> lower(_from->open());
data/centreon-broker-19.10.2/tls/src/connector.cc:87:18:  [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).
    new_stream = open(lower);
data/centreon-broker-19.10.2/tls/src/connector.cc:98:40:  [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).
std::shared_ptr<io::stream> connector::open(
data/centreon-broker-19.10.2/tls/src/factory.cc:172:36:  [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).
  return (is_acceptor ? acceptor().open(to) : connector().open(to));
data/centreon-broker-19.10.2/tls/src/factory.cc:172:59:  [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).
  return (is_acceptor ? acceptor().open(to) : connector().open(to));
data/centreon-broker-19.10.2/tls/src/stream.cc:145: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(buffer, _buffer.data(), rb);
data/centreon-broker-19.10.2/tls/src/stream.cc:150: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(buffer, _buffer.data(), size);
data/centreon-broker-19.10.2/watchdog/src/configuration_parser.cc:57: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).
  if (!config_file.open(QFile::ReadOnly))
data/centreon-broker-19.10.2/bam/src/configuration/reader.cc:66:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void reader::read(state& st) {
data/centreon-broker-19.10.2/bam/src/configuration/reader.cc:357:36:  [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).
      service_description.erase(0, strlen("ba_"));
data/centreon-broker-19.10.2/bam/src/configuration/reader.cc:499:36:  [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).
      service_description.erase(0, strlen("meta_"));
data/centreon-broker-19.10.2/bam/src/configuration/reader_v2.cc:67:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void reader_v2::read(state& st) {
data/centreon-broker-19.10.2/bam/src/configuration/reader_v2.cc:268:36:  [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).
      service_description.erase(0, strlen("ba_"));
data/centreon-broker-19.10.2/bam/src/configuration/reader_v2.cc:416:36:  [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).
      service_description.erase(0, strlen("meta_"));
data/centreon-broker-19.10.2/bam/src/event_cache_visitor.cc:73:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool event_cache_visitor::read(
data/centreon-broker-19.10.2/bam/src/monitoring_stream.cc:151:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool monitoring_stream::read(
data/centreon-broker-19.10.2/bam/src/monitoring_stream.cc:180:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      r.read(s);
data/centreon-broker-19.10.2/bam/src/monitoring_stream.cc:184:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      r.read(s);
data/centreon-broker-19.10.2/bam/src/reporting_stream.cc:126:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool reporting_stream::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/bam/test/time/check_timeperiod.cc:113:46:  [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(days[i], value.c_str(), strlen(days[i])))
data/centreon-broker-19.10.2/bam/test/time/check_timeperiod.cc:115:37:  [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).
            QString(value.c_str() + strlen(days[i])).trimmed().toStdString(),
data/centreon-broker-19.10.2/core/src/bbdo/input.cc:67: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).
  unsigned int len(strlen(str));
data/centreon-broker-19.10.2/core/src/bbdo/input.cc:115: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).
  unsigned int len(strlen(str));
data/centreon-broker-19.10.2/core/src/bbdo/input.cc:291:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool input::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/core/src/bbdo/input.cc:477:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    timed_out = !_substream->read(d, deadline);
data/centreon-broker-19.10.2/core/src/bbdo/stream.cc:233:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/core/src/bbdo/stream.cc:237:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool retval = input::read(d, deadline);
data/centreon-broker-19.10.2/core/src/compression/stream.cc:90:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(
data/centreon-broker-19.10.2/core/src/compression/stream.cc:317:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (!_substream->read(d, deadline))
data/centreon-broker-19.10.2/core/src/extcmd/command_client.cc:69:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool command_client::read(
data/centreon-broker-19.10.2/core/src/extcmd/command_client.cc:84:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int rb(_socket->read(buffer, sizeof(buffer)));
data/centreon-broker-19.10.2/core/src/extcmd/command_listener.cc:80:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool command_listener::read(
data/centreon-broker-19.10.2/core/src/extcmd/plaintext_command_parser.cc:75: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 (cmd.substr(0, ::strlen(status_cmd)) == status_cmd) {
data/centreon-broker-19.10.2/core/src/extcmd/plaintext_command_parser.cc:77:63:  [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).
                          QString::fromStdString(cmd.substr(::strlen(status_cmd))));
data/centreon-broker-19.10.2/core/src/extcmd/plaintext_command_parser.cc:81:32:  [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).
      else if (cmd.substr(0, ::strlen(execute_cmd)) == execute_cmd) {
data/centreon-broker-19.10.2/core/src/extcmd/plaintext_command_parser.cc:83:37:  [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).
        request->parse(cmd.substr(::strlen(execute_cmd)));
data/centreon-broker-19.10.2/core/src/file/cfile.cc:98:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
long cfile::read(void* buffer, long max_size) {
data/centreon-broker-19.10.2/core/src/file/directory_watcher.cc:151:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int len = ::read(_inotify_instance_id, buf, buf_size);
data/centreon-broker-19.10.2/core/src/file/fifo.cc:91:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int ret = ::read(_fd, buf, BUF_SIZE - 1);
data/centreon-broker-19.10.2/core/src/file/splitter.cc:153:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
long splitter::read(void* buffer, long max_size) {
data/centreon-broker-19.10.2/core/src/file/splitter.cc:163:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    long rb(_rfile->read(buffer, max_size));
data/centreon-broker-19.10.2/core/src/file/splitter.cc:196:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return (read(buffer, max_size));
data/centreon-broker-19.10.2/core/src/file/stream.cc:71:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(
data/centreon-broker-19.10.2/core/src/file/stream.cc:85:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  long rb(_file->read(data->QByteArray::data(), data->size()));
data/centreon-broker-19.10.2/core/src/logging/file.cc:312: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).
  qint64 to_write(strlen(data));
data/centreon-broker-19.10.2/core/src/multiplexing/engine.cc:172:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        it->first->read(d);
data/centreon-broker-19.10.2/core/src/multiplexing/engine.cc:175:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          it->first->read(d, 0);
data/centreon-broker-19.10.2/core/src/multiplexing/engine.cc:214:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        it->first->read(d);
data/centreon-broker-19.10.2/core/src/multiplexing/engine.cc:217:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          it->first->read(d);
data/centreon-broker-19.10.2/core/src/multiplexing/engine.cc:229:7:  [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(200000);
data/centreon-broker-19.10.2/core/src/multiplexing/engine.cc:390:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          it->first->read(d);
data/centreon-broker-19.10.2/core/src/multiplexing/engine.cc:393:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            it->first->read(d);
data/centreon-broker-19.10.2/core/src/multiplexing/muxer.cc:65:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        mf->read(e, 0);
data/centreon-broker-19.10.2/core/src/multiplexing/muxer.cc:206:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool muxer::read(
data/centreon-broker-19.10.2/core/src/multiplexing/muxer.cc:437:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        _file->read(event);
data/centreon-broker-19.10.2/core/src/multiplexing/publisher.cc:71:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool publisher::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/core/src/persistent_cache.cc:102:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    _read_file->read(d);
data/centreon-broker-19.10.2/core/src/persistent_file.cc:67:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool persistent_file::read(
data/centreon-broker-19.10.2/core/src/persistent_file.cc:70:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return (_substream->read(d, deadline));
data/centreon-broker-19.10.2/core/src/processing/failover.cc:232:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            timed_out_stream = !_stream->read(d, 0);
data/centreon-broker-19.10.2/core/src/processing/failover.cc:262:57:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            timed_out_muxer = !_subscriber->get_muxer().read(d, 0);
data/centreon-broker-19.10.2/core/src/processing/failover.cc:326:13:  [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-broker-19.10.2/core/src/processing/feeder.cc:84:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          timed_out_stream = !_client->read(d, 0);
data/centreon-broker-19.10.2/core/src/processing/feeder.cc:104:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          timed_out_muxer = !_subscriber.get_muxer().read(d, 0);
data/centreon-broker-19.10.2/core/src/processing/feeder.cc:121:11:  [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-broker-19.10.2/core/test/bbdo/read.cc:50:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read(
data/centreon-broker-19.10.2/core/test/bbdo/read.cc:108:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      stream.read(d);
data/centreon-broker-19.10.2/core/test/bbdo/read.cc:135:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(d);
data/centreon-broker-19.10.2/core/test/bbdo/read.cc:137:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(d);
data/centreon-broker-19.10.2/core/test/bbdo/read.cc:161:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(d);
data/centreon-broker-19.10.2/core/test/compression/stream/read.cc:62:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool retval(_stream->read(d, 0));
data/centreon-broker-19.10.2/core/test/compression/stream/read.cc:82:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool retval(_stream->read(d));
data/centreon-broker-19.10.2/core/test/compression/stream/read.cc:104:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool retval(_stream->read(d));
data/centreon-broker-19.10.2/core/test/compression/stream/read.cc:121:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  _stream->read(d);
data/centreon-broker-19.10.2/core/test/compression/stream/read.cc:124:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT_THROW(_stream->read(d), exceptions::shutdown);
data/centreon-broker-19.10.2/core/test/compression/stream/read.cc:143:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool retval(_stream->read(d));
data/centreon-broker-19.10.2/core/test/compression/stream/read.cc:168:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool retval(_stream->read(d));
data/centreon-broker-19.10.2/core/test/compression/stream/read.cc:192:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool retval(_stream->read(d));
data/centreon-broker-19.10.2/core/test/compression/stream/write.cc:85:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    _stream->read(d);
data/centreon-broker-19.10.2/core/test/compression/stream/write.cc:109:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT_THROW(_substream->read(d), exceptions::msg);
data/centreon-broker-19.10.2/core/test/compression/stream/write.cc:126:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  _substream->read(d);
data/centreon-broker-19.10.2/core/test/compression/stream/write.cc:150:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT_THROW(_stream->read(d), exceptions::shutdown);
data/centreon-broker-19.10.2/core/test/compression/stream/write.cc:174:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  _stream->read(d);
data/centreon-broker-19.10.2/core/test/file/splitter/concurrent.cc:62:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = _file->read(_buf.data() + _current, _size);
data/centreon-broker-19.10.2/core/test/file/splitter/concurrent.cc:66:7:  [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(100);
data/centreon-broker-19.10.2/core/test/file/splitter/concurrent.cc:92:7:  [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(rand() % 100);
data/centreon-broker-19.10.2/core/test/file/splitter/default.cc:76:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT_THROW(_file->read(buffer, sizeof(buffer)), exceptions::shutdown);
data/centreon-broker-19.10.2/core/test/file/splitter/more_than_max_size.cc:84:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  long read_bytes(_file->read(buffer, sizeof(buffer)));
data/centreon-broker-19.10.2/core/test/file/splitter/more_than_max_size.cc:103:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  _file->read(buffer, sizeof(buffer));
data/centreon-broker-19.10.2/core/test/file/splitter/more_than_max_size.cc:107:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  long read_bytes(_file->read(buffer, sizeof(buffer)));
data/centreon-broker-19.10.2/core/test/file/splitter/resume.cc:90:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  long bytes_read(_file->read(buffer, sizeof(buffer)));
data/centreon-broker-19.10.2/core/test/file/splitter/resume.cc:122:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    _file->read(buffer, sizeof(buffer));
data/centreon-broker-19.10.2/core/test/file/splitter/resume.cc:123:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT_THROW(_file->read(buffer, 1), exceptions::shutdown);
data/centreon-broker-19.10.2/core/test/file/splitter/split.cc:82:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    long bytes_read(_file->read(buffer, sizeof(buffer)));
data/centreon-broker-19.10.2/core/test/file/splitter/split.cc:85:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  long bytes_read(_file->read(buffer, sizeof(buffer)));
data/centreon-broker-19.10.2/core/test/file/stream/mixed.cc:52:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      f.read(d, (time_t)-1);
data/centreon-broker-19.10.2/core/test/file/stream/mixed.cc:137:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fs.read(d, (time_t)-1);
data/centreon-broker-19.10.2/core/test/file/stream/read.cc:102:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      fs.read(d, (time_t)-1);
data/centreon-broker-19.10.2/core/test/file/stream/read.cc:135:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fs.read(d, (time_t)-1);
data/centreon-broker-19.10.2/core/test/file/stream/write.cc:79:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      current += f.read(header + current, sizeof(header - current));
data/centreon-broker-19.10.2/core/test/file/stream/write.cc:89:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    qint64 rb(f.read(buffer + current, sizeof(buffer) - current));
data/centreon-broker-19.10.2/core/test/file/stream/write.cc:103:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  retval |= (f.read(buffer, 1) > 0);
data/centreon-broker-19.10.2/core/test/file/test_file.cc:33:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
long test_file::read(void* buffer, long max_size) {
data/centreon-broker-19.10.2/core/test/multiplexing/engine/hook.cc:74:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      s.get_muxer().read(data, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/engine/hook.cc:107:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        s.get_muxer().read(d, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/engine/hook.cc:116: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(messages[i])))
data/centreon-broker-19.10.2/core/test/multiplexing/engine/hook.cc:121:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      s.get_muxer().read(d, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/engine/hooker.cc:72:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool hooker::read(
data/centreon-broker-19.10.2/core/test/multiplexing/engine/start_stop.cc:67:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      s.get_muxer().read(data, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/engine/start_stop.cc:78:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      s.get_muxer().read(data, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/engine/start_stop.cc:87: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(messages[i])))
data/centreon-broker-19.10.2/core/test/multiplexing/engine/start_stop.cc:103:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      s.get_muxer().read(data, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/engine/start_stop.cc:112: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(MSG3)))
data/centreon-broker-19.10.2/core/test/multiplexing/engine/start_stop.cc:131:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      s.get_muxer().read(data, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/engine/unhook.cc:62:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      s.get_muxer().read(data, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/engine/unhook.cc:106:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        s.get_muxer().read(d, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/engine/unhook.cc:115: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(messages[i])))
data/centreon-broker-19.10.2/core/test/multiplexing/engine/unhook.cc:120:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      s.get_muxer().read(data, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/muxer/read.cc:60:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      _m->read(d, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/muxer/read.cc:85:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  _m->read(d, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/muxer/read.cc:99:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  _m->read(d, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/muxer/read.cc:103:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  _m->read(d, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/muxer/read.cc:118:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  _m->read(d, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/muxer/read.cc:136:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  _m->read(d, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/publisher/read.cc:44:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    p.read(d);
data/centreon-broker-19.10.2/core/test/multiplexing/publisher/write.cc:75:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    s.get_muxer().read(data, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/publisher/write.cc:84: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).
        strlen(messages[i]));
data/centreon-broker-19.10.2/core/test/multiplexing/subscriber/ctor_default.cc:54:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  s.get_muxer().read(event, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/subscriber/ctor_default.cc:63:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  s.get_muxer().read(event, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/subscriber/ctor_default.cc:72:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  s.get_muxer().read(event, 0);
data/centreon-broker-19.10.2/core/test/multiplexing/subscriber/temporary_stream.cc:80:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool temporary_stream::read(
data/centreon-broker-19.10.2/correlation/src/stream.cc:99:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/correlation/test/correlator/common.cc:162:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    s.read(d);
data/centreon-broker-19.10.2/correlation/test/correlator/common.cc:270:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool test_stream::read(
data/centreon-broker-19.10.2/correlation/test/parser/parse_non_retention.cc:64:37:  [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).
    qint64 wb(f.write(file_content, strlen(file_content)));
data/centreon-broker-19.10.2/dumper/src/db_loader_v2.cc:240: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).
    trimmed_description.erase(0, strlen("ba_"));
data/centreon-broker-19.10.2/dumper/src/db_reader.cc:96:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool db_reader::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/dumper/src/db_writer.cc:69:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool db_writer::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/dumper/src/directory_dumper.cc:99:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool directory_dumper::read(
data/centreon-broker-19.10.2/dumper/src/fifo_dumper.cc:76:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool fifo_dumper::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/dumper/src/stream.cc:81:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/generator/src/receiver.cc:45:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool receiver::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/generator/src/sender.cc:44:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool sender::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/graphite/src/stream.cc:138:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/influxdb/src/influxdb12.cc:107:37:  [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).
  size_t length = _query.size() + ::strlen(query_footer);
data/centreon-broker-19.10.2/influxdb/src/stream.cc:111:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/lua/src/stream.cc:64:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/neb/src/engcmd/engine_command.cc:61:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool engine_command::read(
data/centreon-broker-19.10.2/neb/src/neb.cc:231: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 (args && !strncmp(args, dbg_flag, strlen(dbg_flag))) {
data/centreon-broker-19.10.2/neb/src/neb.cc:233: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).
            args += strlen(dbg_flag);
data/centreon-broker-19.10.2/neb/src/neb.cc:257: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).
          size_t config_file_size(strlen(config_file));
data/centreon-broker-19.10.2/neb/src/node_events_stream.cc:105:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool node_events_stream::read(
data/centreon-broker-19.10.2/neb/test/node_events/common.cc:124:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    s.read(d);
data/centreon-broker-19.10.2/neb/test/node_events/common.cc:214:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool test_stream::read(
data/centreon-broker-19.10.2/neb/test/node_events/recurring_downtime.cc:120:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      sbc.get_muxer().read(d, ::time(NULL) + 1);
data/centreon-broker-19.10.2/notification/src/node_cache.cc:169:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool node_cache::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/notification/src/stream.cc:193:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/rrd/src/cached.cc:280: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).
    size = strlen(command);
data/centreon-broker-19.10.2/rrd/src/creator.cc:344:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t rb(::read(in_fd, buffer, sizeof(buffer)));
data/centreon-broker-19.10.2/rrd/src/output.cc:159:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool output::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/sql/src/stream.cc:2722:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/stats/src/worker.cc:137:9:  [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-broker-19.10.2/storage/src/stream.cc:173:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/tcp/src/stream.cc:104:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(
data/centreon-broker-19.10.2/tcp/src/stream.cc:144:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  qint64 rb(_socket->read(buffer, sizeof(buffer)));
data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc:190: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).
      h.name = new char[strlen(str) + 1];
data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc:201:32:  [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).
        s.host_name = new char[strlen(host_name) + 1];
data/centreon-broker-19.10.2/test/bam_boolexp_retention.cc:243: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).
      cmd.command_line = new char[strlen(cmdline) + 1];
data/centreon-broker-19.10.2/test/bench_stream.cc:63:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool bench_stream::read(
data/centreon-broker-19.10.2/test/broker_extcmd.cc:97:7:  [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-broker-19.10.2/test/broker_extcmd.cc:156: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).
    buffer[strlen(buffer) - 1] = '\0';
data/centreon-broker-19.10.2/test/db.cc:461:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ifs.read(buffer, sizeof(buffer));
data/centreon-broker-19.10.2/test/db.cc:465:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ifs.read(buffer, sizeof(buffer));
data/centreon-broker-19.10.2/test/delete_graphs.cc:139: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).
      cmd.command_line = new char[strlen(cmdline) + 1];
data/centreon-broker-19.10.2/test/delete_graphs.cc:147:7:  [1] (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). Risk is low because the source is a constant character.
      strcpy(it->host_check_command, "1");
data/centreon-broker-19.10.2/test/delete_graphs.cc:156:7:  [1] (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). Risk is low because the source is a constant character.
      strcpy(it->service_check_command, "1");
data/centreon-broker-19.10.2/test/file.cc:116:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ifs.read(buffer, sizeof(buffer));
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:148: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).
      it->command_line = new char[strlen(cmd) + 1];
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:151: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).
      it->command_line = new char[strlen(cmd) + 1];
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:155: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).
      it->command_line = new char[strlen(cmd) + 1];
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:159: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).
      it->command_line = new char[strlen(cmd) + 1];
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:163: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).
      it->command_line = new char[strlen(cmd) + 1];
data/centreon-broker-19.10.2/test/monitoring_to_rrd.cc:167: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).
      it->command_line = new char[strlen(cmd) + 1];
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:141:36:  [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).
      cmd->command_line = new char[strlen(cmdline) + 1];
data/centreon-broker-19.10.2/test/rebuild_graphs.cc:145:36:  [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).
      cmd->command_line = new char[strlen(cmdline) + 1];
data/centreon-broker-19.10.2/test/rrd_file.cc:155: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).
      line += strlen("--> <row><v>");
data/centreon-broker-19.10.2/test/stats.cc:101:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ifs.read(buffer, sizeof(buffer));
data/centreon-broker-19.10.2/tls/src/stream.cc:82:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool stream::read(std::shared_ptr<io::data>& d, time_t deadline) {
data/centreon-broker-19.10.2/tls/src/stream.cc:124:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    timed_out = !_substream->read(d, _deadline);
data/centreon-broker-19.10.2/watchdog/src/application.cc:72:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ::read(sighup_fd[1], &tmp, sizeof(tmp));
data/centreon-broker-19.10.2/watchdog/src/application.cc:96:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ::read(sigterm_fd[1], &tmp, sizeof(tmp));

ANALYSIS SUMMARY:

Hits = 546
Lines analyzed = 130713 in approximately 3.42 seconds (38239 lines/second)
Physical Source Lines of Code (SLOC) = 74181
Hits@level = [0]  35 [1] 183 [2] 242 [3]  76 [4]  45 [5]   0
Hits@level+ = [0+] 581 [1+] 546 [2+] 363 [3+] 121 [4+]  45 [5+]   0
Hits/KSLOC@level+ = [0+] 7.83219 [1+] 7.36038 [2+] 4.89344 [3+] 1.63115 [4+] 0.606624 [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.