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/galera-3-25.3.31/gcomm/src/pc_proto.cpp
Examining data/galera-3-25.3.31/gcomm/src/socket.cpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/common.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/exception.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/map.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/order.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/protostack.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/util.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/uuid.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/conf.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/protonet.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/view.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/protolay.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/transport.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/datagram.hpp
Examining data/galera-3-25.3.31/gcomm/src/gcomm/types.hpp
Examining data/galera-3-25.3.31/gcomm/src/asio_udp.hpp
Examining data/galera-3-25.3.31/gcomm/src/view.cpp
Examining data/galera-3-25.3.31/gcomm/src/transport.cpp
Examining data/galera-3-25.3.31/gcomm/src/defaults.hpp
Examining data/galera-3-25.3.31/gcomm/src/evs_message2.cpp
Examining data/galera-3-25.3.31/gcomm/src/gmcast_message.hpp
Examining data/galera-3-25.3.31/gcomm/src/evs_consensus.cpp
Examining data/galera-3-25.3.31/gcomm/src/gmcast.hpp
Examining data/galera-3-25.3.31/gcomm/src/pc_message.hpp
Examining data/galera-3-25.3.31/gcomm/src/evs_input_map2.cpp
Examining data/galera-3-25.3.31/gcomm/src/asio_tcp.cpp
Examining data/galera-3-25.3.31/gcomm/src/evs_node.hpp
Examining data/galera-3-25.3.31/gcomm/src/gmcast_proto.cpp
Examining data/galera-3-25.3.31/gcomm/src/asio_protonet.hpp
Examining data/galera-3-25.3.31/gcomm/src/asio_protonet.cpp
Examining data/galera-3-25.3.31/gcomm/src/gmcast_link.hpp
Examining data/galera-3-25.3.31/gcomm/src/protonet.cpp
Examining data/galera-3-25.3.31/gcomm/src/asio_udp.cpp
Examining data/galera-3-25.3.31/gcomm/src/fair_send_queue.hpp
Examining data/galera-3-25.3.31/gcomm/src/evs_input_map2.hpp
Examining data/galera-3-25.3.31/gcomm/src/evs_message2.hpp
Examining data/galera-3-25.3.31/gcomm/src/pc_proto.hpp
Examining data/galera-3-25.3.31/gcomm/src/gmcast_node.hpp
Examining data/galera-3-25.3.31/gcomm/src/evs_seqno.hpp
Examining data/galera-3-25.3.31/gcomm/src/gmcast.cpp
Examining data/galera-3-25.3.31/gcomm/src/pc.hpp
Examining data/galera-3-25.3.31/gcomm/src/datagram.cpp
Examining data/galera-3-25.3.31/gcomm/src/defaults.cpp
Examining data/galera-3-25.3.31/gcomm/src/evs_node.cpp
Examining data/galera-3-25.3.31/gcomm/src/evs_proto.cpp
Examining data/galera-3-25.3.31/gcomm/src/socket.hpp
Examining data/galera-3-25.3.31/gcomm/src/evs_proto.hpp
Examining data/galera-3-25.3.31/gcomm/src/protostack.cpp
Examining data/galera-3-25.3.31/gcomm/src/evs_consensus.hpp
Examining data/galera-3-25.3.31/gcomm/src/conf.cpp
Examining data/galera-3-25.3.31/gcomm/src/uuid.cpp
Examining data/galera-3-25.3.31/gcomm/src/asio_tcp.hpp
Examining data/galera-3-25.3.31/gcomm/src/gmcast_proto.hpp
Examining data/galera-3-25.3.31/gcomm/src/pc.cpp
Examining data/galera-3-25.3.31/gcomm/src/protocol_version.hpp
Examining data/galera-3-25.3.31/gcomm/test/check_trace.cpp
Examining data/galera-3-25.3.31/gcomm/test/ssl_test.cpp
Examining data/galera-3-25.3.31/gcomm/test/check_fair_send_queue.cpp
Examining data/galera-3-25.3.31/gcomm/test/check_types.cpp
Examining data/galera-3-25.3.31/gcomm/test/check_evs2.cpp
Examining data/galera-3-25.3.31/gcomm/test/check_gmcast.cpp
Examining data/galera-3-25.3.31/gcomm/test/check_pc_nondet.cpp
Examining data/galera-3-25.3.31/gcomm/test/check_util_nondet.cpp
Examining data/galera-3-25.3.31/gcomm/test/check_trace.hpp
Examining data/galera-3-25.3.31/gcomm/test/check_gcomm_nondet.cpp
Examining data/galera-3-25.3.31/gcomm/test/check_util.cpp
Examining data/galera-3-25.3.31/gcomm/test/check_gcomm.hpp
Examining data/galera-3-25.3.31/gcomm/test/check_pc.cpp
Examining data/galera-3-25.3.31/gcomm/test/check_templ.hpp
Examining data/galera-3-25.3.31/gcomm/test/check_gcomm.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_act.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_test.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_backend.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_gcomm.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_gcache.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_group.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_gcomm.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_recv_msg.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_seqno.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_sm.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_priv.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_fc.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_state_msg.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_spread.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_core.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_defrag.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_dummy.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_defrag.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_comp_msg.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_fifo_lite.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_params.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_conf.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_core.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_fc.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_act_proto.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_msg_type.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_sm.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_dummy.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_fifo_lite.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_params.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_msg_type.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_test.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_backend.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_node.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_node.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_act_proto.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_comp_msg.hpp
Examining data/galera-3-25.3.31/gcs/src/gcs_spread.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_fc_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_fc_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_backend_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_sm_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_memb_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_state_msg_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_memb_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_node_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_backend_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_test_utils.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_defrag_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_group_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_proto_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_comp_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_node_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_test_utils.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_sm_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_comp_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_defrag_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_group_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_fifo_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_proto_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_state_msg_test.hpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_fifo_test.cpp
Examining data/galera-3-25.3.31/gcs/src/unit_tests/gcs_tests.cpp
Examining data/galera-3-25.3.31/gcs/src/gcs_group.hpp
Examining data/galera-3-25.3.31/garb/garb_gcs.cpp
Examining data/galera-3-25.3.31/garb/garb_recv_loop.cpp
Examining data/galera-3-25.3.31/garb/garb_recv_loop.hpp
Examining data/galera-3-25.3.31/garb/garb_logger.hpp
Examining data/galera-3-25.3.31/garb/garb_main.cpp
Examining data/galera-3-25.3.31/garb/garb_config.cpp
Examining data/galera-3-25.3.31/garb/garb_config.hpp
Examining data/galera-3-25.3.31/garb/garb_gcs.hpp
Examining data/galera-3-25.3.31/garb/garb_logger.cpp
Examining data/galera-3-25.3.31/tests/test_causal/causal.cpp
Examining data/galera-3-25.3.31/galera/tests/service_thd_check.cpp
Examining data/galera-3-25.3.31/galera/tests/defaults_check.cpp
Examining data/galera-3-25.3.31/galera/tests/write_set_check.cpp
Examining data/galera-3-25.3.31/galera/tests/ist_check.cpp
Examining data/galera-3-25.3.31/galera/tests/test_key.hpp
Examining data/galera-3-25.3.31/galera/tests/galera_check.cpp
Examining data/galera-3-25.3.31/galera/tests/trx_handle_check.cpp
Examining data/galera-3-25.3.31/galera/tests/write_set_ng_check.cpp
Examining data/galera-3-25.3.31/galera/tests/data_set_check.cpp
Examining data/galera-3-25.3.31/galera/tests/key_set_check.cpp
Examining data/galera-3-25.3.31/galera/tests/saved_state_check.cpp
Examining data/galera-3-25.3.31/galera/src/galera_exception.hpp
Examining data/galera-3-25.3.31/galera/src/saved_state.cpp
Examining data/galera-3-25.3.31/galera/src/certification.cpp
Examining data/galera-3-25.3.31/galera/src/wsrep_params.hpp
Examining data/galera-3-25.3.31/galera/src/key_set.hpp
Examining data/galera-3-25.3.31/galera/src/write_set.cpp
Examining data/galera-3-25.3.31/galera/src/key_entry_os.cpp
Examining data/galera-3-25.3.31/galera/src/galera_info.hpp
Examining data/galera-3-25.3.31/galera/src/certification.hpp
Examining data/galera-3-25.3.31/galera/src/key_data.hpp
Examining data/galera-3-25.3.31/galera/src/replicator.cpp
Examining data/galera-3-25.3.31/galera/src/gcs_action_source.hpp
Examining data/galera-3-25.3.31/galera/src/replicator_smm_stats.cpp
Examining data/galera-3-25.3.31/galera/src/monitor.hpp
Examining data/galera-3-25.3.31/galera/src/mapped_buffer.hpp
Examining data/galera-3-25.3.31/galera/src/uuid.hpp
Examining data/galera-3-25.3.31/galera/src/galera_gcs.hpp
Examining data/galera-3-25.3.31/galera/src/wsrep_params.cpp
Examining data/galera-3-25.3.31/galera/src/wsdb.hpp
Examining data/galera-3-25.3.31/galera/src/wsrep_provider.cpp
Examining data/galera-3-25.3.31/galera/src/fsm.hpp
Examining data/galera-3-25.3.31/galera/src/ist_proto.hpp
Examining data/galera-3-25.3.31/galera/src/data_set.cpp
Examining data/galera-3-25.3.31/galera/src/trx_handle.hpp
Examining data/galera-3-25.3.31/galera/src/ist.hpp
Examining data/galera-3-25.3.31/galera/src/key_entry_ng.hpp
Examining data/galera-3-25.3.31/galera/src/key_set.cpp
Examining data/galera-3-25.3.31/galera/src/key_entry_os.hpp
Examining data/galera-3-25.3.31/galera/src/saved_state.hpp
Examining data/galera-3-25.3.31/galera/src/galera_service_thd.cpp
Examining data/galera-3-25.3.31/galera/src/key_os.hpp
Examining data/galera-3-25.3.31/galera/src/replicator_smm_params.cpp
Examining data/galera-3-25.3.31/galera/src/write_set_ng.hpp
Examining data/galera-3-25.3.31/galera/src/mapped_buffer.cpp
Examining data/galera-3-25.3.31/galera/src/replicator.hpp
Examining data/galera-3-25.3.31/galera/src/galera_info.cpp
Examining data/galera-3-25.3.31/galera/src/gcs_action_source.cpp
Examining data/galera-3-25.3.31/galera/src/data_set.hpp
Examining data/galera-3-25.3.31/galera/src/gcs_dummy.cpp
Examining data/galera-3-25.3.31/galera/src/action_source.hpp
Examining data/galera-3-25.3.31/galera/src/replicator_smm.hpp
Examining data/galera-3-25.3.31/galera/src/replicator_smm.cpp
Examining data/galera-3-25.3.31/galera/src/write_set.hpp
Examining data/galera-3-25.3.31/galera/src/galera_common.hpp
Examining data/galera-3-25.3.31/galera/src/ist.cpp
Examining data/galera-3-25.3.31/galera/src/replicator_str.cpp
Examining data/galera-3-25.3.31/galera/src/galera_service_thd.hpp
Examining data/galera-3-25.3.31/galera/src/wsdb.cpp
Examining data/galera-3-25.3.31/galera/src/write_set_ng.cpp
Examining data/galera-3-25.3.31/galera/src/trx_handle.cpp
Examining data/galera-3-25.3.31/wsrep/src/wsrep_dummy.c
Examining data/galera-3-25.3.31/wsrep/src/wsrep_api.h
Examining data/galera-3-25.3.31/wsrep/src/wsrep_listener.c
Examining data/galera-3-25.3.31/wsrep/src/wsrep_gtid.c
Examining data/galera-3-25.3.31/wsrep/src/wsrep_uuid.c
Examining data/galera-3-25.3.31/wsrep/src/wsrep_loader.c
Examining data/galera-3-25.3.31/common/common.h
Examining data/galera-3-25.3.31/chromium/build_config.h
Examining data/galera-3-25.3.31/chromium/compile_assert.h
Examining data/galera-3-25.3.31/chromium/aligned_memory.h
Examining data/galera-3-25.3.31/chromium/compiler_specific.h
Examining data/galera-3-25.3.31/gcache/tests/gcache_page_test.cpp
Examining data/galera-3-25.3.31/gcache/tests/gcache_rb_test.hpp
Examining data/galera-3-25.3.31/gcache/tests/gcache_mem_test.hpp
Examining data/galera-3-25.3.31/gcache/tests/gcache_page_test.hpp
Examining data/galera-3-25.3.31/gcache/tests/gcache_mem_test.cpp
Examining data/galera-3-25.3.31/gcache/tests/gcache_tests.hpp
Examining data/galera-3-25.3.31/gcache/tests/gcache_rb_test.cpp
Examining data/galera-3-25.3.31/gcache/tests/gcache_tests.cpp
Examining data/galera-3-25.3.31/gcache/src/gcache_mem_store.hpp
Examining data/galera-3-25.3.31/gcache/src/gcache_page_store.hpp
Examining data/galera-3-25.3.31/gcache/src/gcache_types.hpp
Examining data/galera-3-25.3.31/gcache/src/GCache_seqno.cpp
Examining data/galera-3-25.3.31/gcache/src/gcache_seqno.hpp
Examining data/galera-3-25.3.31/gcache/src/gcache_page.hpp
Examining data/galera-3-25.3.31/gcache/src/GCache.cpp
Examining data/galera-3-25.3.31/gcache/src/gcache_limits.hpp
Examining data/galera-3-25.3.31/gcache/src/gcache_page_store.cpp
Examining data/galera-3-25.3.31/gcache/src/gcache_bh.hpp
Examining data/galera-3-25.3.31/gcache/src/gcache_rb_store.cpp
Examining data/galera-3-25.3.31/gcache/src/test.cpp
Examining data/galera-3-25.3.31/gcache/src/GCache.hpp
Examining data/galera-3-25.3.31/gcache/src/gcache_memops.hpp
Examining data/galera-3-25.3.31/gcache/src/GCache_memops.cpp
Examining data/galera-3-25.3.31/gcache/src/gcache_params.cpp
Examining data/galera-3-25.3.31/gcache/src/gcache_page.cpp
Examining data/galera-3-25.3.31/gcache/src/gcache_rb_store.hpp
Examining data/galera-3-25.3.31/gcache/src/gcache.h
Examining data/galera-3-25.3.31/gcache/src/gcache_mem_store.cpp
Examining data/galera-3-25.3.31/asio/asio.hpp
Examining data/galera-3-25.3.31/asio/asio/async_result.hpp
Examining data/galera-3-25.3.31/asio/asio/time_traits.hpp
Examining data/galera-3-25.3.31/asio/asio/is_write_buffered.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_socket_iostream.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_socket_acceptor.hpp
Examining data/galera-3-25.3.31/asio/asio/buffered_write_stream.hpp
Examining data/galera-3-25.3.31/asio/asio/write.hpp
Examining data/galera-3-25.3.31/asio/asio/streambuf.hpp
Examining data/galera-3-25.3.31/asio/asio/buffered_stream_fwd.hpp
Examining data/galera-3-25.3.31/asio/asio/read_until.hpp
Examining data/galera-3-25.3.31/asio/asio/socket_acceptor_service.hpp
Examining data/galera-3-25.3.31/asio/asio/placeholders.hpp
Examining data/galera-3-25.3.31/asio/asio/buffered_read_stream_fwd.hpp
Examining data/galera-3-25.3.31/asio/asio/buffers_iterator.hpp
Examining data/galera-3-25.3.31/asio/asio/coroutine.hpp
Examining data/galera-3-25.3.31/asio/asio/spawn.hpp
Examining data/galera-3-25.3.31/asio/asio/seq_packet_socket_service.hpp
Examining data/galera-3-25.3.31/asio/asio/high_resolution_timer.hpp
Examining data/galera-3-25.3.31/asio/asio/is_read_buffered.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/buffered_write_stream.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/write.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/read_until.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/spawn.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/connect.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/serial_port_base.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/use_future.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/io_service.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/read_at.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/write_at.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/buffered_read_stream.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/read.hpp
Examining data/galera-3-25.3.31/asio/asio/impl/src.cpp
Examining data/galera-3-25.3.31/asio/asio/impl/src.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_socket_streambuf.hpp
Examining data/galera-3-25.3.31/asio/asio/stream_socket_service.hpp
Examining data/galera-3-25.3.31/asio/asio/system_timer.hpp
Examining data/galera-3-25.3.31/asio/asio/deadline_timer.hpp
Examining data/galera-3-25.3.31/asio/asio/buffered_write_stream_fwd.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_signal_set.hpp
Examining data/galera-3-25.3.31/asio/asio/datagram_socket_service.hpp
Examining data/galera-3-25.3.31/asio/asio/socket_base.hpp
Examining data/galera-3-25.3.31/asio/asio/completion_condition.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_socket.hpp
Examining data/galera-3-25.3.31/asio/asio/error_code.hpp
Examining data/galera-3-25.3.31/asio/asio/raw_socket_service.hpp
Examining data/galera-3-25.3.31/asio/asio/system_error.hpp
Examining data/galera-3-25.3.31/asio/asio/buffered_stream.hpp
Examining data/galera-3-25.3.31/asio/asio/yield.hpp
Examining data/galera-3-25.3.31/asio/asio/windows/random_access_handle_service.hpp
Examining data/galera-3-25.3.31/asio/asio/windows/basic_stream_handle.hpp
Examining data/galera-3-25.3.31/asio/asio/windows/basic_object_handle.hpp
Examining data/galera-3-25.3.31/asio/asio/windows/stream_handle.hpp
Examining data/galera-3-25.3.31/asio/asio/windows/object_handle.hpp
Examining data/galera-3-25.3.31/asio/asio/windows/random_access_handle.hpp
Examining data/galera-3-25.3.31/asio/asio/windows/basic_random_access_handle.hpp
Examining data/galera-3-25.3.31/asio/asio/windows/object_handle_service.hpp
Examining data/galera-3-25.3.31/asio/asio/windows/stream_handle_service.hpp
Examining data/galera-3-25.3.31/asio/asio/windows/basic_handle.hpp
Examining data/galera-3-25.3.31/asio/asio/windows/overlapped_ptr.hpp
Examining data/galera-3-25.3.31/asio/asio/handler_type.hpp
Examining data/galera-3-25.3.31/asio/asio/steady_timer.hpp
Examining data/galera-3-25.3.31/asio/asio/posix/descriptor_base.hpp
Examining data/galera-3-25.3.31/asio/asio/posix/basic_stream_descriptor.hpp
Examining data/galera-3-25.3.31/asio/asio/posix/stream_descriptor.hpp
Examining data/galera-3-25.3.31/asio/asio/posix/basic_descriptor.hpp
Examining data/galera-3-25.3.31/asio/asio/posix/stream_descriptor_service.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_streambuf.hpp
Examining data/galera-3-25.3.31/asio/asio/local/datagram_protocol.hpp
Examining data/galera-3-25.3.31/asio/asio/local/basic_endpoint.hpp
Examining data/galera-3-25.3.31/asio/asio/local/connect_pair.hpp
Examining data/galera-3-25.3.31/asio/asio/local/detail/endpoint.hpp
Examining data/galera-3-25.3.31/asio/asio/local/stream_protocol.hpp
Examining data/galera-3-25.3.31/asio/asio/signal_set.hpp
Examining data/galera-3-25.3.31/asio/asio/connect.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_raw_socket.hpp
Examining data/galera-3-25.3.31/asio/asio/deadline_timer_service.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_deadline_timer.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_seq_packet_socket.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/rfc2818_verification.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/basic_context.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/context.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/impl/context.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/impl/src.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/stream_base.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/old/basic_context.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/old/stream.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/old/context_service.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/old/stream_service.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/old/detail/openssl_stream_service.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/old/detail/openssl_operation.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/old/detail/openssl_context_service.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/verify_context.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/stream.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/context_service.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/verify_mode.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/stream_service.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/context_base.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/password_callback.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/openssl_types.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/engine.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/read_op.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/write_op.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/openssl_init.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/verify_callback.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/buffered_handshake_op.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/handshake_op.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/shutdown_op.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/io.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/detail/stream_core.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl/error.hpp
Examining data/galera-3-25.3.31/asio/asio/serial_port_base.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_serial_port.hpp
Examining data/galera-3-25.3.31/asio/asio/wait_traits.hpp
Examining data/galera-3-25.3.31/asio/asio/waitable_timer_service.hpp
Examining data/galera-3-25.3.31/asio/asio/use_future.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_stream_socket.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/address_v4.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/basic_resolver_entry.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/address_v6.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/basic_resolver_iterator.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/impl/address_v4.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/impl/address_v6.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/impl/basic_endpoint.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/impl/address.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/basic_endpoint.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/unicast.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/basic_resolver_query.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/address.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/host_name.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/resolver_service.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/multicast.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/resolver_query_base.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/basic_resolver.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/v6_only.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/udp.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/detail/endpoint.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/detail/socket_option.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/icmp.hpp
Examining data/galera-3-25.3.31/asio/asio/ip/tcp.hpp
Examining data/galera-3-25.3.31/asio/asio/io_service.hpp
Examining data/galera-3-25.3.31/asio/asio/read_at.hpp
Examining data/galera-3-25.3.31/asio/asio/handler_alloc_hook.hpp
Examining data/galera-3-25.3.31/asio/asio/serial_port_service.hpp
Examining data/galera-3-25.3.31/asio/asio/write_at.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_io_object.hpp
Examining data/galera-3-25.3.31/asio/asio/buffered_read_stream.hpp
Examining data/galera-3-25.3.31/asio/asio/ssl.hpp
Examining data/galera-3-25.3.31/asio/asio/thread.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_socket_service_base.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/local_free_on_block_exit.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/scoped_lock.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/bind_handler.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/task_io_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_static_mutex.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_serial_port_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/buffered_stream_storage.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/std_thread.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/posix_signal_blocker.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/tss_ptr.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/select_reactor.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/posix_static_mutex.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/gcc_sync_fenced_block.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/socket_select_interrupter.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/gcc_hppa_fenced_block.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/macos_fenced_block.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winrt_socket_recv_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/scoped_ptr.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/null_fenced_block.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/timer_scheduler.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_handle_read_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_serial_port_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/epoll_reactor.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/handler_invoke_helpers.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_fd_set_adapter.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/array_fwd.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/config.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_socket_send_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/eventfd_select_interrupter.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_socket_send_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/wince_thread.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_socket_recvmsg_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/base_from_completion_cond.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/gcc_x86_fenced_block.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/socket_option.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/impl/task_io_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/impl/select_reactor.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/impl/epoll_reactor.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/impl/service_registry.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/impl/kqueue_reactor.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/impl/win_iocp_io_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/impl/strand_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/impl/dev_poll_reactor.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/impl/winrt_timer_scheduler.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_socket_accept_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_handle_write_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_fenced_block.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/array.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/assert.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_object_handle_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/socket_ops.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_null_buffers_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/signal_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/operation.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winrt_ssocket_service_base.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/timer_scheduler_fwd.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/chrono_time_traits.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/keyword_tss_ptr.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_socket_service_base.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winrt_async_manager.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/null_event.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_handle_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_overlapped_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/null_tss_ptr.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/timer_queue_base.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/addressof.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/timer_queue.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/type_traits.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/null_socket_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/resolver_service_base.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_tss_ptr.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winrt_socket_send_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/posix_mutex.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winrt_ssocket_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_event.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/shared_ptr.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/service_registry.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_socket_connect_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/resolver_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_overlapped_ptr.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_socket_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/deadline_timer_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/gcc_arm_fenced_block.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/select_interrupter.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_socket_recv_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/handler_cont_helpers.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winrt_async_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/posix_thread.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/kqueue_reactor.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/call_stack.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/wait_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactor_op_queue.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_descriptor_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_io_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_socket_recvmsg_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/function.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/null_reactor.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/object_pool.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/descriptor_read_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/task_io_service_thread_info.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/old_win_sdk_compat.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/signal_blocker.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/push_options.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/null_thread.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_socket_recv_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winrt_resolver_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/fenced_block.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/signal_handler.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/pipe_select_interrupter.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/buffer_resize_guard.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/consuming_buffers.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_socket_recvfrom_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_operation.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/signal_init.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/resolve_endpoint_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/handler_alloc_helpers.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/completion_handler.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/mutex.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_thread.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/std_static_mutex.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/fd_set_adapter.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/socket_types.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/wrapped_handler.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/null_mutex.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_socket_connect_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/strand_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_socket_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/descriptor_write_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_socket_recvfrom_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/hash_map.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/regex_fwd.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/event.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/solaris_fenced_block.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winrt_utils.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/op_queue.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/thread.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/null_signal_blocker.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/resolve_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/dev_poll_reactor.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/noncopyable.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/buffer_sequence_adapter.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/handler_tracking.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/task_io_service_operation.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_mutex.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/throw_error.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactor.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/atomic_count.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/thread_info_base.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/win_iocp_thread_info.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/io_control.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/variadic_templates.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/pop_options.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/posix_tss_ptr.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/wait_handler.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/timer_queue_set.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/limits.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winrt_socket_connect_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winrt_resolve_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/std_mutex.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/posix_fd_set_adapter.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/throw_exception.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/posix_event.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/signal_set_service.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/dependent_type.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/weak_ptr.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/cstdint.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_null_buffers_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winsock_init.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_socket_sendto_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/handler_type_requirements.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/static_mutex.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactive_socket_accept_op.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactor_fwd.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/std_event.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/socket_holder.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/timer_queue_ptime.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/null_static_mutex.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/winrt_timer_scheduler.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/date_time_fwd.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/descriptor_ops.hpp
Examining data/galera-3-25.3.31/asio/asio/detail/reactor_op.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_datagram_socket.hpp
Examining data/galera-3-25.3.31/asio/asio/read.hpp
Examining data/galera-3-25.3.31/asio/asio/unyield.hpp
Examining data/galera-3-25.3.31/asio/asio/handler_continuation_hook.hpp
Examining data/galera-3-25.3.31/asio/asio/generic/datagram_protocol.hpp
Examining data/galera-3-25.3.31/asio/asio/generic/basic_endpoint.hpp
Examining data/galera-3-25.3.31/asio/asio/generic/raw_protocol.hpp
Examining data/galera-3-25.3.31/asio/asio/generic/detail/endpoint.hpp
Examining data/galera-3-25.3.31/asio/asio/generic/seq_packet_protocol.hpp
Examining data/galera-3-25.3.31/asio/asio/generic/stream_protocol.hpp
Examining data/galera-3-25.3.31/asio/asio/handler_invoke_hook.hpp
Examining data/galera-3-25.3.31/asio/asio/error.hpp
Examining data/galera-3-25.3.31/asio/asio/signal_set_service.hpp
Examining data/galera-3-25.3.31/asio/asio/strand.hpp
Examining data/galera-3-25.3.31/asio/asio/serial_port.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_streambuf_fwd.hpp
Examining data/galera-3-25.3.31/asio/asio/version.hpp
Examining data/galera-3-25.3.31/asio/asio/buffer.hpp
Examining data/galera-3-25.3.31/asio/asio/basic_waitable_timer.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_digest_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/deqmap_bench.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_spooky_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_vlq_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/copy_vs_assignment.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_hash_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_uuid_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_alloc_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_bswap_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_bswap_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_vector_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_mem_pool_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_atomic_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_string_utils_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_asio_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_alloc_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_crc32c_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_stats_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_uri_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_string_utils_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_fifo_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_mmh3_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_string_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_lock_step_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_dbug_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_net_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_deqmap_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_mem_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_vector_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_uuid_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_fnv_test.h
Examining data/galera-3-25.3.31/galerautils/tests/avalanche.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_utils_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_deqmap_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_asio_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_config_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_str_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_str_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_datetime_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_mem_pool_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_string_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_config_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_to_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_dbug_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_histogram_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_tests++.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_stats_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_mmh3_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_net_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_lock_step_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_uri_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_atomic_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_hash_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_spooky_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_time_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_mem_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_digest_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_rset_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_thread_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_fnv_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_histogram_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_thread_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_utils_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_rset_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_tests++.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_fifo_test.c
Examining data/galera-3-25.3.31/galerautils/tests/gu_datetime_test.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_vlq_test.hpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_time_test.h
Examining data/galera-3-25.3.31/galerautils/tests/gu_tests.c
Examining data/galera-3-25.3.31/galerautils/tests/crc32c_bench.cpp
Examining data/galera-3-25.3.31/galerautils/tests/gu_crc32c_test.c
Examining data/galera-3-25.3.31/galerautils/src/gu_lock_step.c
Examining data/galera-3-25.3.31/galerautils/src/gu_to.c
Examining data/galera-3-25.3.31/galerautils/src/gu_rand.h
Examining data/galera-3-25.3.31/galerautils/src/gu_crc.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_time.c
Examining data/galera-3-25.3.31/galerautils/src/gu_resolver.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_errno.h
Examining data/galera-3-25.3.31/galerautils/src/gu_hexdump.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_buf.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_abort.h
Examining data/galera-3-25.3.31/galerautils/src/gu_throw.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_monitor.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_mem.c
Examining data/galera-3-25.3.31/galerautils/src/gu_utils.c
Examining data/galera-3-25.3.31/galerautils/src/gu_vector.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_debug_sync.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_alloc.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_uuid.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_mmh3.h
Examining data/galera-3-25.3.31/galerautils/src/gu_serialize.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_barrier.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_uuid.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_deqmap.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_progress.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_dbug.h
Examining data/galera-3-25.3.31/galerautils/src/gu_mem_pool.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_types.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_crc32c_x86.c
Examining data/galera-3-25.3.31/galerautils/src/gu_atomic.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_rset.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_stats.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_config.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_serialize.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_string_utils.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_fdesc.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_fifo.c
Examining data/galera-3-25.3.31/galerautils/src/gu_buffer.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_asio.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_config.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_int128.h
Examining data/galera-3-25.3.31/galerautils/src/gu_mutex.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_uri.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_debug_sync.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_crc32c.c
Examining data/galera-3-25.3.31/galerautils/src/gu_mmh3.c
Examining data/galera-3-25.3.31/galerautils/src/gu_crc32c.h
Examining data/galera-3-25.3.31/galerautils/src/gu_conf.h
Examining data/galera-3-25.3.31/galerautils/src/gu_rset.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_lock_step.h
Examining data/galera-3-25.3.31/galerautils/src/gu_serializable.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_alloc.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_mmap.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_utils.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_shared_ptr.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_config.h
Examining data/galera-3-25.3.31/galerautils/src/galerautils.h
Examining data/galera-3-25.3.31/galerautils/src/gu_spooky.c
Examining data/galera-3-25.3.31/galerautils/src/gu_backtrace.c
Examining data/galera-3-25.3.31/galerautils/src/gu_to.h
Examining data/galera-3-25.3.31/galerautils/src/gu_asio.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_macros.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_threads.c
Examining data/galera-3-25.3.31/galerautils/src/gu_string_utils.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_digest.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_utils.h
Examining data/galera-3-25.3.31/galerautils/src/gu_unordered.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_vlq.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_assert.h
Examining data/galera-3-25.3.31/galerautils/src/gu_reserved_container.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_mmap.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_status.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_limits.c
Examining data/galera-3-25.3.31/galerautils/src/gu_str.h
Examining data/galera-3-25.3.31/galerautils/src/gu_hash.h
Examining data/galera-3-25.3.31/galerautils/src/gu_arch.h
Examining data/galera-3-25.3.31/galerautils/src/gu_cond.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_spooky.h
Examining data/galera-3-25.3.31/galerautils/src/gu_lock.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_log.c
Examining data/galera-3-25.3.31/galerautils/src/gu_backtrace.h
Examining data/galera-3-25.3.31/galerautils/src/gu_regex.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_vlq.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_exception.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_hexdump.h
Examining data/galera-3-25.3.31/galerautils/src/gu_byteswap.h
Examining data/galera-3-25.3.31/galerautils/src/gu_types.h
Examining data/galera-3-25.3.31/galerautils/src/gu_uuid.c
Examining data/galera-3-25.3.31/galerautils/src/gu_assert.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_threads.h
Examining data/galera-3-25.3.31/galerautils/src/gu_thread.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_log.h
Examining data/galera-3-25.3.31/galerautils/src/gu_dbug.c
Examining data/galera-3-25.3.31/galerautils/src/gu_hexdump.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_string.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_fdesc.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_resolver.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_utils++.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_atomic.h
Examining data/galera-3-25.3.31/galerautils/src/gu_init.h
Examining data/galera-3-25.3.31/galerautils/src/gu_stats.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_inttypes.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_uri.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_histogram.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_uuid.h
Examining data/galera-3-25.3.31/galerautils/src/gu_limits.h
Examining data/galera-3-25.3.31/galerautils/src/gu_logger.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_backtrace.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_buf.h
Examining data/galera-3-25.3.31/galerautils/src/gu_regex.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_hexdump.c
Examining data/galera-3-25.3.31/galerautils/src/gu_mem.h
Examining data/galera-3-25.3.31/galerautils/src/gu_logger.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_array.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_exception.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_fnv_bench.c
Examining data/galera-3-25.3.31/galerautils/src/gu_system.h
Examining data/galera-3-25.3.31/galerautils/src/gu_convert.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_time.h
Examining data/galera-3-25.3.31/galerautils/src/gu_buffer.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_macros.h
Examining data/galera-3-25.3.31/galerautils/src/gu_init.c
Examining data/galera-3-25.3.31/galerautils/src/gu_histogram.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_fifo.h
Examining data/galera-3-25.3.31/galerautils/src/gu_fnv.h
Examining data/galera-3-25.3.31/galerautils/src/gu_datetime.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_rand.c
Examining data/galera-3-25.3.31/galerautils/src/gu_byteswap.hpp
Examining data/galera-3-25.3.31/galerautils/src/gu_abort.c
Examining data/galera-3-25.3.31/galerautils/src/gu_datetime.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_thread.cpp
Examining data/galera-3-25.3.31/galerautils/src/gu_crc32c_arm64.c

FINAL RESULTS:

data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1857:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    if (chown(pathname, getuid(), getgid()) == -1) {
data/galera-3-25.3.31/chromium/compiler_specific.h:154:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, format_param, dots_param)))
data/galera-3-25.3.31/galera/src/gcs_dummy.cpp:103:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            offt += sprintf (str + offt, "%s", my_name_.c_str()) + 1;
data/galera-3-25.3.31/galera/src/gcs_dummy.cpp:104:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf (str + offt, "%s", incoming_.c_str());
data/galera-3-25.3.31/galera/src/replicator_str.cpp:153:5:  [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 (ptr, MAGIC.c_str());
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:357:28:  [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.
#define EXISTS(pathname)	 (access (pathname, F_OK) == 0)
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:358:30:  [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.
#define WRITABLE(pathname)	 (access (pathname, W_OK) == 0)
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:870:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    (void) fprintf(_gu_db_pfp_, PROF_EFMT, Clock(), state->func);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:872:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    (void) fprintf(_gu_db_pfp_, PROF_SFMT, state->framep, stackused,
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:875:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    (void) fprintf(_gu_db_pfp_, PROF_SFMT, (ulong) state->framep,
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:934:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		(void) fprintf(_gu_db_fp_, ERR_MISSING_RETURN, _gu_db_process_,
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:944:14:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		    (void) fprintf(_gu_db_pfp_, PROF_XFMT, Clock(), state->func);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1042:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	(void) vfprintf(_gu_db_fp_, format, args);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1091:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(dbuff, "%s: Memory: %lx  Bytes: (%d)\n",
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1455:12:  [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).
    (void) strcpy(new_malloc, str);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1535:2:  [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(_gu_db_stack->name, name);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1542:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		(void) fprintf(stderr, ERR_OPEN, _gu_db_process_, name);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1548:14:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		    (void) fprintf(stderr, ERR_OPEN, _gu_db_process_, name);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1599:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	(void) fprintf(_gu_db_fp_, ERR_OPEN, _gu_db_process_, name);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1606:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    (void) fprintf(_gu_db_fp_, ERR_OPEN, _gu_db_process_, name);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1644:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    (void) fprintf(_gu_db_fp_, ERR_CLOSE, _gu_db_process_);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1674:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    (void) fprintf(stderr, ERR_ABORT, _gu_db_process_, why);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1858:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	(void) fprintf(stderr, ERR_CHOWN, _gu_db_process_, pathname);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:2027:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		(void) fprintf(stderr, ERR_OPEN, _gu_db_process_,_gu_db_stack->name);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:2150:1:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
vfprintf(stream, format, ap)
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:2168:14:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    rtnval = fprintf(stream, format, ARGS_LIST);
data/galera-3-25.3.31/galerautils/src/gu_log.c:171:17:  [4] (format) vsnprintf:
  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.
                vsnprintf (str, max_string, format, ap);
data/galera-3-25.3.31/galerautils/src/gu_string.hpp:212:21:  [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 const n(snprintf(&str_[size_], max_len, fmt_ ? fmt_ : format, x));
data/galera-3-25.3.31/galerautils/src/gu_uuid.c:188:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    return sprintf(buf, GU_UUID_FORMAT, GU_UUID_ARGS(uuid));
data/galera-3-25.3.31/galerautils/src/gu_uuid.c:197:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    ret = sscanf(buf, GU_UUID_FORMAT_SCANF, GU_UUID_ARGS_SCANF(uuid));
data/galera-3-25.3.31/galerautils/tests/gu_alloc_test.cpp:51:5:  [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 (reinterpret_cast<char*>(p), test0);
data/galera-3-25.3.31/galerautils/tests/gu_alloc_test.cpp:59:5:  [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 (reinterpret_cast<char*>(p), test1);
data/galera-3-25.3.31/garb/garb_gcs.cpp:93: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(req_str, request.c_str());
data/galera-3-25.3.31/gcomm/src/view.cpp:324:9:  [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(file_name_.c_str(), R_OK) != 0) {
data/galera-3-25.3.31/gcs/src/gcs_dummy.cpp:379: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 ((char*)&dummy->memb[i], gcs_comp_msg_member(comp, i)->id);
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1525:17:  [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 (ptr, group->nodes[idx].id);
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1527:17:  [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 (ptr, group->nodes[idx].name);
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1529:17:  [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 (ptr, group->nodes[idx].inc_addr);
data/galera-3-25.3.31/gcs/src/gcs_sm.hpp:81:9:  [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(line, GCS_SM_HIST_STR_LEN - 1,                         \
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:89: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 ((char*)ret->name, name);
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:91: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 ((char*)ret->inc_addr, inc_addr);
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:208:5:  [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 (name,     state->name);
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:209:5:  [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 (inc_addr, state->inc_addr);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_test_utils.cpp:284:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (req_buf, "%s", donor_name);
data/galera-3-25.3.31/wsrep/src/wsrep_gtid.c:65:15:  [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.
        ret = snprintf(str + offset, str_len - offset,
data/galera-3-25.3.31/asio/asio/basic_socket_iostream.hpp:54:13:  [3] (random) setstate:
  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.
      this->setstate(std::ios_base::failbit); \
data/galera-3-25.3.31/asio/asio/basic_socket_iostream.hpp:72:13:  [3] (random) setstate:
  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.
      this->setstate(std::ios_base::failbit); \
data/galera-3-25.3.31/asio/asio/basic_socket_iostream.hpp:167:13:  [3] (random) setstate:
  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.
      this->setstate(std::ios_base::failbit);
data/galera-3-25.3.31/asio/asio/basic_socket_iostream.hpp:187:13:  [3] (random) setstate:
  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.
      this->setstate(std::ios_base::failbit);
data/galera-3-25.3.31/asio/asio/basic_socket_iostream.hpp:197:13:  [3] (random) setstate:
  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.
      this->setstate(std::ios_base::failbit);
data/galera-3-25.3.31/asio/asio/detail/win_mutex.hpp:49:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    ::EnterCriticalSection(&crit_section_);
data/galera-3-25.3.31/asio/asio/detail/win_static_mutex.hpp:44:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    ::EnterCriticalSection(&crit_section_);
data/galera-3-25.3.31/asio/asio/ip/impl/address.hpp:38:10:  [3] (random) setstate:
  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.
      os.setstate(std::basic_ostream<Elem, Traits>::failbit);
data/galera-3-25.3.31/asio/asio/ip/impl/address_v4.hpp:38:10:  [3] (random) setstate:
  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.
      os.setstate(std::basic_ostream<Elem, Traits>::failbit);
data/galera-3-25.3.31/asio/asio/ip/impl/address_v6.hpp:38:10:  [3] (random) setstate:
  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.
      os.setstate(std::basic_ostream<Elem, Traits>::failbit);
data/galera-3-25.3.31/asio/asio/ip/impl/basic_endpoint.hpp:40:10:  [3] (random) setstate:
  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.
      os.setstate(std::basic_ostream<Elem, Traits>::failbit);
data/galera-3-25.3.31/galerautils/src/gu_logger.cpp:37:19:  [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.
            if (::getenv("LOGGER_DEBUG_FILTER"))
data/galera-3-25.3.31/galerautils/src/gu_logger.cpp:39:30:  [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.
                set_filter(::getenv("LOGGER_DEBUG_FILTER"));
data/galera-3-25.3.31/galerautils/tests/gu_deqmap_test.cpp:719:5:  [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(SEED);
data/galera-3-25.3.31/gcomm/test/check_evs2.cpp:40:15:  [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.
        if (::getenv("GALERA_TEST_DETERMINISTIC"))
data/galera-3-25.3.31/gcomm/test/check_evs2.cpp:67:5:  [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(seed);
data/galera-3-25.3.31/gcomm/test/check_evs2.cpp:73:5:  [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(seed);
data/galera-3-25.3.31/gcomm/test/check_evs2.cpp:719:11:  [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.
    if (::getenv("EVS_DEBUG_MASK") != 0)
data/galera-3-25.3.31/gcomm/test/check_evs2.cpp:722: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.
            + ::getenv("EVS_DEBUG_MASK");
data/galera-3-25.3.31/gcomm/test/check_gcomm.cpp:68:11:  [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.
    if (::getenv("CHECK_GCOMM_DEBUG"))
data/galera-3-25.3.31/gcomm/test/check_gcomm.cpp:75:11:  [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.
    if (::getenv("CHECK_GCOMM_SUITES"))
data/galera-3-25.3.31/gcomm/test/check_gcomm.cpp:77:51:  [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.
        suits = new vector<string>(gu::strsplit(::getenv("CHECK_GCOMM_SUITES"), ','));
data/galera-3-25.3.31/gcomm/test/check_gcomm_nondet.cpp:66:11:  [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.
    if (::getenv("CHECK_GCOMM_DEBUG"))
data/galera-3-25.3.31/gcomm/test/check_gcomm_nondet.cpp:75:11:  [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.
    if (::getenv("CHECK_GCOMM_SUITES"))
data/galera-3-25.3.31/gcomm/test/check_gcomm_nondet.cpp:77:51:  [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.
        suits = new vector<string>(gu::strsplit(::getenv("CHECK_GCOMM_SUITES"), ','));
data/galera-3-25.3.31/asio/asio/basic_serial_port.hpp:89:25:  [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->get_service().open(this->get_implementation(), device, ec);
data/galera-3-25.3.31/asio/asio/basic_serial_port.hpp:109:25:  [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->get_service().open(this->get_implementation(), device, ec);
data/galera-3-25.3.31/asio/asio/basic_serial_port.hpp:206: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).
  void open(const std::string& device)
data/galera-3-25.3.31/asio/asio/basic_serial_port.hpp:209:25:  [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->get_service().open(this->get_implementation(), device, ec);
data/galera-3-25.3.31/asio/asio/basic_serial_port.hpp:222: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).
  asio::error_code open(const std::string& device,
data/galera-3-25.3.31/asio/asio/basic_serial_port.hpp:225:32:  [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 this->get_service().open(this->get_implementation(), device, ec);
data/galera-3-25.3.31/asio/asio/basic_socket.hpp:90:25:  [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->get_service().open(this->get_implementation(), protocol, ec);
data/galera-3-25.3.31/asio/asio/basic_socket.hpp:115:25:  [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->get_service().open(this->get_implementation(), protocol, ec);
data/galera-3-25.3.31/asio/asio/basic_socket.hpp:266: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).
  void open(const protocol_type& protocol = protocol_type())
data/galera-3-25.3.31/asio/asio/basic_socket.hpp:269:25:  [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->get_service().open(this->get_implementation(), protocol, ec);
data/galera-3-25.3.31/asio/asio/basic_socket.hpp:292: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).
  asio::error_code open(const protocol_type& protocol,
data/galera-3-25.3.31/asio/asio/basic_socket.hpp:295:32:  [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 this->get_service().open(this->get_implementation(), protocol, ec);
data/galera-3-25.3.31/asio/asio/basic_socket.hpp:653: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).
      this->get_service().open(this->get_implementation(),
data/galera-3-25.3.31/asio/asio/basic_socket.hpp:694: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).
      if (this->get_service().open(this->get_implementation(),
data/galera-3-25.3.31/asio/asio/basic_socket.hpp:760: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).
      if (this->get_service().open(this->get_implementation(), protocol, ec))
data/galera-3-25.3.31/asio/asio/basic_socket_acceptor.hpp:104:25:  [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->get_service().open(this->get_implementation(), protocol, ec);
data/galera-3-25.3.31/asio/asio/basic_socket_acceptor.hpp:141:25:  [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->get_service().open(this->get_implementation(), protocol, ec);
data/galera-3-25.3.31/asio/asio/basic_socket_acceptor.hpp:279: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).
  void open(const protocol_type& protocol = protocol_type())
data/galera-3-25.3.31/asio/asio/basic_socket_acceptor.hpp:282:25:  [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->get_service().open(this->get_implementation(), protocol, ec);
data/galera-3-25.3.31/asio/asio/basic_socket_acceptor.hpp:306: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).
  asio::error_code open(const protocol_type& protocol,
data/galera-3-25.3.31/asio/asio/basic_socket_acceptor.hpp:309:32:  [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 this->get_service().open(this->get_implementation(), protocol, ec);
data/galera-3-25.3.31/asio/asio/buffer.hpp:1302: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_cast<void*>(target), buffer_cast<const void*>(source), n);
data/galera-3-25.3.31/asio/asio/datagram_socket_service.hpp:141: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).
  asio::error_code open(implementation_type& impl,
data/galera-3-25.3.31/asio/asio/datagram_socket_service.hpp:145: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).
      service_impl_.open(impl, protocol, ec);
data/galera-3-25.3.31/asio/asio/detail/descriptor_ops.hpp:61: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).
ASIO_DECL int open(const char* path, int flags,
data/galera-3-25.3.31/asio/asio/detail/null_socket_service.hpp:91: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).
  asio::error_code open(implementation_type&,
data/galera-3-25.3.31/asio/asio/detail/old_win_sdk_compat.hpp:52:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char __ss_pad1[sockaddr_storage_pad1size];
data/galera-3-25.3.31/asio/asio/detail/old_win_sdk_compat.hpp: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 __ss_pad2[sockaddr_storage_pad2size];
data/galera-3-25.3.31/asio/asio/detail/reactive_serial_port_service.hpp:81: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).
  ASIO_DECL asio::error_code open(implementation_type& impl,
data/galera-3-25.3.31/asio/asio/detail/reactive_socket_service.hpp:114: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).
  asio::error_code open(implementation_type& impl,
data/galera-3-25.3.31/asio/asio/detail/resolve_endpoint_op.hpp:68: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 host_name[NI_MAXHOST];
data/galera-3-25.3.31/asio/asio/detail/resolve_endpoint_op.hpp:69: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 service_name[NI_MAXSERV];
data/galera-3-25.3.31/asio/asio/detail/resolver_service.hpp:93: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 host_name[NI_MAXHOST];
data/galera-3-25.3.31/asio/asio/detail/resolver_service.hpp:94: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 service_name[NI_MAXSERV];
data/galera-3-25.3.31/asio/asio/detail/socket_types.hpp:101:33:  [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.
struct in6_addr_type { unsigned char s6_addr[16]; };
data/galera-3-25.3.31/asio/asio/detail/socket_types.hpp:111:12:  [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 ss_bytes[128 - sizeof(int)]; };
data/galera-3-25.3.31/asio/asio/detail/win_iocp_serial_port_service.hpp:79: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).
  ASIO_DECL asio::error_code open(implementation_type& impl,
data/galera-3-25.3.31/asio/asio/detail/win_iocp_socket_accept_op.hpp:153:12:  [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 output_buffer_[(sizeof(sockaddr_storage_type) + 16) * 2];
data/galera-3-25.3.31/asio/asio/detail/win_iocp_socket_service.hpp:187: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).
  asio::error_code open(implementation_type& impl,
data/galera-3-25.3.31/asio/asio/detail/winrt_ssocket_service.hpp:102: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).
  asio::error_code open(implementation_type& impl,
data/galera-3-25.3.31/asio/asio/detail/winrt_utils.hpp:72:10:  [2] (integer) _wtoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  return _wtoi(from->Data());
data/galera-3-25.3.31/asio/asio/ip/basic_resolver_iterator.hpp:98:9:  [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(endpoint.data(), address_info->ai_addr,
data/galera-3-25.3.31/asio/asio/ip/detail/socket_option.hpp:403: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(ipv6_value_.ipv6mr_multiaddr.s6_addr, bytes.data(), 16);
data/galera-3-25.3.31/asio/asio/ip/detail/socket_option.hpp:441: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(ipv6_value_.ipv6mr_multiaddr.s6_addr, bytes.data(), 16);
data/galera-3-25.3.31/asio/asio/is_read_buffered.hpp:34:36:  [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.
struct is_read_buffered_big_type { char data[10]; };
data/galera-3-25.3.31/asio/asio/is_write_buffered.hpp:34:37:  [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.
struct is_write_buffered_big_type { char data[10]; };
data/galera-3-25.3.31/asio/asio/raw_socket_service.hpp:141: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).
  asio::error_code open(implementation_type& impl,
data/galera-3-25.3.31/asio/asio/raw_socket_service.hpp:145: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).
      service_impl_.open(impl, protocol, ec);
data/galera-3-25.3.31/asio/asio/seq_packet_socket_service.hpp:143: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).
  asio::error_code open(implementation_type& impl,
data/galera-3-25.3.31/asio/asio/seq_packet_socket_service.hpp:147: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).
      service_impl_.open(impl, protocol, ec);
data/galera-3-25.3.31/asio/asio/serial_port_service.hpp:117: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).
  asio::error_code open(implementation_type& impl,
data/galera-3-25.3.31/asio/asio/serial_port_service.hpp:120: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).
    return service_impl_.open(impl, device, ec);
data/galera-3-25.3.31/asio/asio/socket_acceptor_service.hpp:140: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).
  asio::error_code open(implementation_type& impl,
data/galera-3-25.3.31/asio/asio/socket_acceptor_service.hpp:143: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).
    return service_impl_.open(impl, protocol, ec);
data/galera-3-25.3.31/asio/asio/ssl/old/detail/openssl_operation.hpp:49:12:  [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 buf_[NET_BUF_SIZE];
data/galera-3-25.3.31/asio/asio/stream_socket_service.hpp:141: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).
  asio::error_code open(implementation_type& impl,
data/galera-3-25.3.31/asio/asio/stream_socket_service.hpp:145: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).
      service_impl_.open(impl, protocol, ec);
data/galera-3-25.3.31/chromium/aligned_memory.h:58:40:  [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.
      ALIGNAS(byte_alignment) unsigned char data_[Size]; \
data/galera-3-25.3.31/galera/src/galera_gcs.hpp:307:21:  [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 (ptr + copied, actv[i].ptr, actv[i].size);
data/galera-3-25.3.31/galera/src/galera_gcs.hpp:324:17:  [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 (ptr, act.buf, act.size);
data/galera-3-25.3.31/galera/src/galera_info.cpp:48:17:  [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(&member->id, &memb_id, sizeof(memb_id));
data/galera-3-25.3.31/galera/src/galera_info.cpp:83:9:  [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 (ret, vi, ret_size);
data/galera-3-25.3.31/galera/src/gcs_dummy.cpp:93:13:  [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 (cc->uuid, &uuid_, sizeof(uuid_));
data/galera-3-25.3.31/galera/src/ist.cpp:315:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        acceptor_.open(i->endpoint().protocol());
data/galera-3-25.3.31/galera/src/key_set.cpp:93:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        ::memcpy(buf, &tmp, off);
data/galera-3-25.3.31/galera/src/key_set.hpp:97:15:  [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 (tmp.buf, hash.buf, key_size);
data/galera-3-25.3.31/galera/src/mapped_buffer.cpp:85:19:  [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).
            fd_ = mkstemp(&file_[0]);
data/galera-3-25.3.31/galera/src/replicator_smm.hpp:525:15:  [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.
        const char            state_uuid_str_[37];
data/galera-3-25.3.31/galera/src/replicator_smm_stats.cpp:338:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, &sv[0], vec_size);
data/galera-3-25.3.31/galera/src/replicator_str.cpp:160: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 (ptr, sst_req, sst_req_len);
data/galera-3-25.3.31/galera/src/replicator_str.cpp:167: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 (ptr, ist_req, ist_req_len);
data/galera-3-25.3.31/galera/src/saved_state.cpp:47:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fs_ = fopen(file.c_str(), "a");
data/galera-3-25.3.31/galera/src/saved_state.cpp:265: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[MAX_SIZE];
data/galera-3-25.3.31/galera/src/write_set_ng.cpp:145: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 (lptr, ptr_, size_);
data/galera-3-25.3.31/galera/tests/data_set_check.cpp:90:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        ::memcpy (buf, buf_, size_);
data/galera-3-25.3.31/galera/tests/galera_check.cpp:52:20:  [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).
        log_file = fopen (LOG_FILE, "w");
data/galera-3-25.3.31/galera/tests/ist_check.cpp:308:19:  [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(p, bufs[k].ptr, bufs[k].size); p += bufs[k].size;
data/galera-3-25.3.31/galera/tests/key_set_check.cpp:209: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 huge_key[2048];
data/galera-3-25.3.31/galera/tests/write_set_check.cpp:75:12:  [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 k1[16];
data/galera-3-25.3.31/galera/tests/write_set_check.cpp:76:12:  [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 k2[256];
data/galera-3-25.3.31/galera/tests/write_set_check.cpp:77:12:  [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 k3[1 << 21];
data/galera-3-25.3.31/galera/tests/write_set_check.cpp:78:12:  [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 k4[(1 << 22) - 5];
data/galera-3-25.3.31/galera/tests/write_set_check.cpp:126:12:  [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 k1[16];
data/galera-3-25.3.31/galera/tests/write_set_check.cpp:127:12:  [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 k2[256];
data/galera-3-25.3.31/galera/tests/write_set_check.cpp:128:12:  [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 k3[1 << 21];
data/galera-3-25.3.31/galera/tests/write_set_check.cpp:129:12:  [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 k4[(1 << 22) - 5];
data/galera-3-25.3.31/galerautils/src/gu_asio.cpp:127: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 errstr[120] = {0, };
data/galera-3-25.3.31/galerautils/src/gu_asio.hpp:189:13:  [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 errstr[120] = {0, };
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:248: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  name[FN_REFLEN];      /* Name of output file             */
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:672:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		_gu_db_stack->delay = DelayArg(atoi(temp->str));
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:736:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		_gu_db_stack->maxdepth = atoi(temp->str);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1077: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 dbuff[90];
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1547:14:  [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).
		if (!(fp = fopen(name, append ? "a+" : "w"))) {
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1605: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).
	if (!(fp = fopen(name, "w"))) {
data/galera-3-25.3.31/galerautils/src/gu_digest.hpp:35:11:  [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 (&out, tmp, s);
data/galera-3-25.3.31/galerautils/src/gu_digest.hpp:71:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        ::memcpy (buf, tmp, s);
data/galera-3-25.3.31/galerautils/src/gu_digest.hpp:140:11:  [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 (&out, tmp, s);
data/galera-3-25.3.31/galerautils/src/gu_fdesc.cpp:47: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).
          fd_  (open (name_.c_str(), OPEN_FLAGS)),
data/galera-3-25.3.31/galerautils/src/gu_fdesc.cpp:88: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).
          fd_  (open (fname.c_str(), CREATE_FLAGS, CREATE_MODE)),
data/galera-3-25.3.31/galerautils/src/gu_fifo.c:535: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 tmp[tmp_len];
data/galera-3-25.3.31/galerautils/src/gu_fnv_bench.c:171:22:  [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 md[MD5_DIGEST_LENGTH];
data/galera-3-25.3.31/galerautils/src/gu_fnv_bench.c:180:22:  [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 md[16];
data/galera-3-25.3.31/galerautils/src/gu_hexdump.cpp:24: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   str[hexdump_reserve_string];
data/galera-3-25.3.31/galerautils/src/gu_log.c:140: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  string[max_string]; /** @note: this can cause stack overflow
data/galera-3-25.3.31/galerautils/src/gu_mmh3.c:326:13:  [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 (tail_end, part, to_fill);
data/galera-3-25.3.31/galerautils/src/gu_mmh3.c:334:13:  [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 (tail_end, part, len);
data/galera-3-25.3.31/galerautils/src/gu_mmh3.c:345: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 (mmh->tail, blocks + nblocks, len & 15);
data/galera-3-25.3.31/galerautils/src/gu_mmh3.c:357: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(res, r, sizeof(r));
data/galera-3-25.3.31/galerautils/src/gu_regex.cpp:20: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[128];
data/galera-3-25.3.31/galerautils/src/gu_resolver.cpp:117:9:  [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(to.ai_addr, from.ai_addr, to.ai_addrlen);
data/galera-3-25.3.31/galerautils/src/gu_resolver.cpp:175: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(sa_, sa, sa_len_);
data/galera-3-25.3.31/galerautils/src/gu_resolver.cpp:187: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(sa_, s.sa_, sa_len_);
data/galera-3-25.3.31/galerautils/src/gu_resolver.cpp:431: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(ai_.ai_addr, &sa.get_sockaddr(), ai_.ai_addrlen);
data/galera-3-25.3.31/galerautils/src/gu_resolver.cpp:464: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 dst[INET6_ADDRSTRLEN + 1];
data/galera-3-25.3.31/galerautils/src/gu_resolver.hpp:215:9:  [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(sa_, sa.sa_, sa_len_);
data/galera-3-25.3.31/galerautils/src/gu_rset.hpp:335:15:  [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 (dst, ptr_, size_);
data/galera-3-25.3.31/galerautils/src/gu_serialize.hpp:77:11:  [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(ptr_offset(buf, offset), &tmp, sizeof(tmp));
data/galera-3-25.3.31/galerautils/src/gu_spooky.h:203:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, message, length);
data/galera-3-25.3.31/galerautils/src/gu_spooky.h:371:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, u.p64, _spooky_blockSize);
data/galera-3-25.3.31/galerautils/src/gu_spooky.h:380: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(buf, end, remainder);
data/galera-3-25.3.31/galerautils/src/gu_str.h:24:9:  [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(tmp + *off, app, app_len + 1);
data/galera-3-25.3.31/galerautils/src/gu_str.h:78: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[10];
data/galera-3-25.3.31/galerautils/src/gu_uuid.c:65: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).
    urand = fopen (urand_name, "r");
data/galera-3-25.3.31/galerautils/src/gu_uuid.c:128:9:  [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 (&uuid->data[10], node, node_len > UUID_NODE_LEN ?
data/galera-3-25.3.31/galerautils/src/gu_uuid.h:113: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(to, from, sizeof(gu_uuid_t));
data/galera-3-25.3.31/galerautils/src/gu_uuid.hpp:30: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 uuid_buf[GU_UUID_STR_LEN + 1];
data/galera-3-25.3.31/galerautils/src/gu_uuid.hpp:55: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 str[GU_UUID_STR_LEN + 1];
data/galera-3-25.3.31/galerautils/src/gu_uuid.hpp:84:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    ::memcpy(buf + offset, uuid.data, len);
data/galera-3-25.3.31/galerautils/src/gu_uuid.hpp:97: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(uuid.data, buf + offset, len);
data/galera-3-25.3.31/galerautils/tests/avalanche.c:68: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 out_name [256] = { 0, };
data/galera-3-25.3.31/galerautils/tests/avalanche.c:70:23:  [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* const out = fopen(out_name, "w");
data/galera-3-25.3.31/galerautils/tests/copy_vs_assignment.cpp:84: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 a1[arr_size + sizeof(T)] = { 1, }, a2[arr_size + sizeof(T)] = { 2, };
data/galera-3-25.3.31/galerautils/tests/copy_vs_assignment.cpp:114:19:  [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(&t1, p1i, sizeof(T));
data/galera-3-25.3.31/galerautils/tests/copy_vs_assignment.cpp:115:19:  [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(&t2, p2j, sizeof(T));
data/galera-3-25.3.31/galerautils/tests/copy_vs_assignment.cpp:116:19:  [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(p2j, &t1, sizeof(T));
data/galera-3-25.3.31/galerautils/tests/copy_vs_assignment.cpp:117:19:  [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(p1i, &t2, sizeof(T));
data/galera-3-25.3.31/galerautils/tests/copy_vs_assignment.cpp:152: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 a[16];
data/galera-3-25.3.31/galerautils/tests/gu_dbug_test.c:55:20:  [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).
    GU_DBUG_FILE = fopen("/dev/null", "a+");
data/galera-3-25.3.31/galerautils/tests/gu_digest_test.cpp:39: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.
static const char test_msg[2048] = { 0, };
data/galera-3-25.3.31/galerautils/tests/gu_hash_test.c:28: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 c[str_size], r[str_size];
data/galera-3-25.3.31/galerautils/tests/gu_hash_test.c:41: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.
static const char test_msg[2048] = { 0, };
data/galera-3-25.3.31/galerautils/tests/gu_mem_test.c:40: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 (ptr2, ptr1, TEST_SIZE);
data/galera-3-25.3.31/galerautils/tests/gu_mmh3_test.c:96: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 (res, final, sizeof(*res));
data/galera-3-25.3.31/galerautils/tests/gu_mmh3_test.c:114: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 c[str_size], r[str_size];
data/galera-3-25.3.31/galerautils/tests/gu_rset_test.cpp:95:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        ::memcpy (buf, buf_, size_);
data/galera-3-25.3.31/galerautils/tests/gu_str_test.c:70: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 const* col_names[5] = {
data/galera-3-25.3.31/galerautils/tests/gu_str_test.c:100:17:  [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* tmp = fopen("/dev/null", "w");
data/galera-3-25.3.31/galerautils/tests/gu_tests++.cpp:21:20:  [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).
        log_file = fopen (LOG_FILE, "w");
data/galera-3-25.3.31/galerautils/tests/gu_tests.c:57:18:  [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).
      log_file = fopen (LOG_FILE, "w");
data/galera-3-25.3.31/galerautils/tests/gu_to_test.c:170:38:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (argc > 1) seqno_max  = (1 << atol(argv[0]));
data/galera-3-25.3.31/galerautils/tests/gu_to_test.c:171:38:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (argc > 2) thread_max = (1 << atol(argv[1]));
data/galera-3-25.3.31/garb/garb_logger.cpp:16:26:  [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* log_file = fopen (fname.c_str(), "a");
data/galera-3-25.3.31/garb/garb_main.cpp:72: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 (open("/dev/null", O_RDONLY) < 0)
data/galera-3-25.3.31/gcache/src/GCache_memops.cpp:257:17:  [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_ptr, ptr, bh->size - sizeof(BufferHeader));
data/galera-3-25.3.31/gcache/src/gcache_page.cpp:138:17:  [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 (ret, ptr, bh->size - sizeof(BufferHeader));
data/galera-3-25.3.31/gcache/src/gcache_page_store.cpp:272:9:  [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 (ret, ptr, size > ptr_size ? ptr_size : size);
data/galera-3-25.3.31/gcache/src/gcache_rb_store.cpp:359:13:  [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 (ptr_new, ptr, bh->size - sizeof(BufferHeader));
data/galera-3-25.3.31/gcache/src/gcache_rb_store.cpp:580:11:  [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(preamble_, os.str().c_str(), copy_len);
data/galera-3-25.3.31/gcache/tests/gcache_rb_test.cpp:180:19:  [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(ret, &m.msg, m.size());
data/galera-3-25.3.31/gcache/tests/gcache_tests.cpp:22:20:  [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).
        log_file = fopen (LOG_FILE, "w");
data/galera-3-25.3.31/gcomm/src/asio_tcp.cpp:229:41:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            ssl_socket_->lowest_layer().open(i->endpoint().protocol());
data/galera-3-25.3.31/gcomm/src/asio_tcp.cpp:241: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).
            socket_.open(i->endpoint().protocol());
data/galera-3-25.3.31/gcomm/src/asio_tcp.cpp:906:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        acceptor_.open(i->endpoint().protocol());
data/galera-3-25.3.31/gcomm/src/asio_udp.cpp:85: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).
    socket_.open(conn_i->endpoint().protocol());
data/galera-3-25.3.31/gcomm/src/gcomm/datagram.hpp:209:13:  [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(header_ + header_offset_,
data/galera-3-25.3.31/gcomm/src/gcomm/uuid.hpp:39:9:  [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(&uuid_, &idx, sizeof(idx));
data/galera-3-25.3.31/gcomm/src/view.cpp:271:18:  [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* fout = fopen(tmp.c_str(), "w");
data/galera-3-25.3.31/gcomm/test/check_evs2.cpp:2316: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 data[1] = { 0 };
data/galera-3-25.3.31/gcomm/test/check_evs2.cpp:2411: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.
    const char data[1] = { 0 };
data/galera-3-25.3.31/gcomm/test/check_evs2.cpp:2502: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.
    const char small_data[1] = { 0 };
data/galera-3-25.3.31/gcomm/test/check_fair_send_queue.cpp:12:18:  [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 const char data[1] = { 0 };
data/galera-3-25.3.31/gcomm/test/check_gcomm.cpp:56:20:  [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).
        log_file = fopen (LOG_FILE, "w");
data/galera-3-25.3.31/gcomm/test/check_gcomm_nondet.cpp:54:20:  [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).
        log_file = fopen (LOG_FILE, "w");
data/galera-3-25.3.31/gcomm/test/check_gmcast.cpp:127:13:  [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[16];
data/galera-3-25.3.31/gcs/src/gcs.cpp:1056:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (buf, act->buf, act->buf_len);
data/galera-3-25.3.31/gcs/src/gcs.cpp:1785:13:  [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 (rst + offset, donor, donor_len);
data/galera-3-25.3.31/gcs/src/gcs.cpp:1787:13:  [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 (rst + offset, req, size);
data/galera-3-25.3.31/gcs/src/gcs.cpp:1800:13:  [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 (rst + offset, donor, donor_len);
data/galera-3-25.3.31/gcs/src/gcs.cpp:1804:13:  [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 (rst + offset, ist_uuid, sizeof(*ist_uuid));
data/galera-3-25.3.31/gcs/src/gcs.cpp:1808:13:  [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 (rst + offset, req, size);
data/galera-3-25.3.31/gcs/src/gcs.hpp:419: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             data[1];  /*! member array (null-terminated ID, name,
data/galera-3-25.3.31/gcs/src/gcs_backend.hpp:180: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).
    gcs_backend_open_t      open;
data/galera-3-25.3.31/gcs/src/gcs_comp_msg.cpp:92: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 (comp->memb[free_slot].id, id, id_len);
data/galera-3-25.3.31/gcs/src/gcs_comp_msg.cpp:105:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if (ret) memcpy (ret, comp, size);
data/galera-3-25.3.31/gcs/src/gcs_comp_msg.hpp:25: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 id[GCS_COMP_MEMB_ID_MAX_LEN + 1]; /// ID assigned by the backend
data/galera-3-25.3.31/gcs/src/gcs_core.cpp:203:35:  [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 (!(ret = core->backend.open (&core->backend, channel, bstrap))) {
data/galera-3-25.3.31/gcs/src/gcs_core.cpp:361:17:  [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 (dst, ptr, to_copy);
data/galera-3-25.3.31/gcs/src/gcs_core.cpp:367:17:  [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 (dst, ptr, left);
data/galera-3-25.3.31/gcs/src/gcs_defrag.cpp:148: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 (df->tail, frg->frag, frg->frag_len);
data/galera-3-25.3.31/gcs/src/gcs_dummy.cpp:47:9:  [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 (msg->buf, buf, len);
data/galera-3-25.3.31/gcs/src/gcs_dummy.cpp:159:17:  [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 (msg->buf, dmsg->buf, dmsg->len);
data/galera-3-25.3.31/gcs/src/gcs_dummy.cpp:164:17:  [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 (msg->buf, dmsg->buf, msg->buf_len);
data/galera-3-25.3.31/gcs/src/gcs_gcomm.cpp:626:17:  [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(msg->buf, b, pload_len);
data/galera-3-25.3.31/gcs/src/gcs_gcomm.cpp:641:17:  [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(msg->buf, cm, cm_size);
data/galera-3-25.3.31/gcs/src/gcs_gcomm.cpp:677:17:  [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(msg->buf, cm, cm_size);
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:267: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.
static const char group_empty_id[GCS_COMP_MEMB_ID_MAX_LEN + 1] = { 0, };
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:606: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 state_str[str_len];
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1321:13:  [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 (donor->joiner, joiner->id, GCS_COMP_MEMB_ID_MAX_LEN+1);
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1322:13:  [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 (joiner->donor, donor->id,  GCS_COMP_MEMB_ID_MAX_LEN+1);
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1515:9:  [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 (conf->uuid, &group->group_uuid, sizeof (gu_uuid_t));
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1532:17:  [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(ptr, &cached, sizeof(cached));
data/galera-3-25.3.31/gcs/src/gcs_node.cpp:51: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 (dst, src, sizeof (gcs_node_t));
data/galera-3-25.3.31/gcs/src/gcs_node.hpp:31: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             id[GCS_COMP_MEMB_ID_MAX_LEN + 1];
data/galera-3-25.3.31/gcs/src/gcs_node.hpp:34: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             joiner[GCS_COMP_MEMB_ID_MAX_LEN + 1];
data/galera-3-25.3.31/gcs/src/gcs_node.hpp:35: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             donor [GCS_COMP_MEMB_ID_MAX_LEN + 1];
data/galera-3-25.3.31/gcs/src/gcs_params.cpp:55: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 tmp[32] = { 0, };
data/galera-3-25.3.31/gcs/src/gcs_sm.hpp:68: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 history[GCS_SM_HIST_LEN][GCS_SM_HIST_STR_LEN];
data/galera-3-25.3.31/gcs/src/gcs_spread.cpp:32: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  strings[0][MAX_GROUP_NAME];
data/galera-3-25.3.31/gcs/src/gcs_spread.cpp:96: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 (sps, colon+1, port_len);
data/galera-3-25.3.31/gcs/src/gcs_spread.cpp:97: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 (sps + port_len + 1, socket, addr_len);
data/galera-3-25.3.31/gcs/src/gcs_spread.cpp:353:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (buf, spread->comp_msg, ret);
data/galera-3-25.3.31/gcs/src/gcs_spread.cpp:558:12:  [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 str[128];
data/galera-3-25.3.31/gcs/src/gcs_test.cpp:201: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 real_name[1024];
data/galera-3-25.3.31/gcs/src/gcs_test.cpp:208:21:  [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).
    if (!(l->file = fopen (real_name, "w"))) return errno;
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_comp_test.cpp:68: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[buf_len];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_comp_test.cpp:118: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 (buf, m, buf_len);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:404: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      tmp[1];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:740: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(act_ptr, donor, donor_len);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:741: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(act_ptr + donor_len, req_ptr, req_size);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:750: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 msg_buf[1024];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:752: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(const_cast<void*>(frg.frag), act_ptr, act_size);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:763: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 uuid_buf[uuid_len];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:764: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(uuid_buf, &state_uuid, uuid_len);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:773: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 state_buf[state_len];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:797: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 state_buf2[state_len2];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:864: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(uuid_buf, &state_uuid, uuid_len);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:887: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 state_buf3[state_len3];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_group_test.cpp:44: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 ((void*)frg->frag, data, data_len);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_group_test.cpp:92: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       buf1[buf_len], buf2[buf_len], buf3[buf_len],
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_group_test.cpp:531: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 name[32];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_memb_test.cpp:32: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 name_str[str_len];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_memb_test.cpp:33: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 addr_str[str_len];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_memb_test.cpp:35:9:  [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(name_str, "node%d", i);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_memb_test.cpp:36:9:  [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(addr_str, "addr%d", i);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_proto_test.cpp: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         buf[buf_len];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_state_msg_test.cpp:96: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   send_str[str_len];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_state_msg_test.cpp:97: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   recv_str[str_len];
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_test_utils.cpp:403: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 name_str[str_len] = { '\0', };
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_test_utils.cpp:404: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 addr_str[str_len] = { '\0', };
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_test_utils.cpp:426:13:  [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/galera-3-25.3.31/gcs/src/unit_tests/gcs_test_utils.cpp:427:13:  [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(name, "%d", i);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_test_utils.hpp:15: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 id[GCS_COMP_MEMB_ID_MAX_LEN + 1]; /// ID assigned by the backend
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_tests.cpp:55:16:  [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).
    log_file = fopen (LOG_FILE, "w");
data/galera-3-25.3.31/wsrep/src/wsrep_api.h:271: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         name[WSREP_MEMBER_NAME_LEN];  //!< human-readable name
data/galera-3-25.3.31/wsrep/src/wsrep_api.h:272: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         incoming[WSREP_INCOMING_LEN]; //!< address for client requests
data/galera-3-25.3.31/wsrep/src/wsrep_listener.c: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 msg[4096];
data/galera-3-25.3.31/wsrep/src/wsrep_loader.c:43: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 msg[128];
data/galera-3-25.3.31/wsrep/src/wsrep_loader.c:58: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 msg[128];
data/galera-3-25.3.31/wsrep/src/wsrep_loader.c:138: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 msg[1024];
data/galera-3-25.3.31/asio/asio/buffers_iterator.hpp:266:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return a.equal(b);
data/galera-3-25.3.31/asio/asio/buffers_iterator.hpp:272:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return !a.equal(b);
data/galera-3-25.3.31/asio/asio/buffers_iterator.hpp:307:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  bool equal(const buffers_iterator& other) const
data/galera-3-25.3.31/asio/asio/detail/consuming_buffers.hpp:100:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return a.equal(b);
data/galera-3-25.3.31/asio/asio/detail/consuming_buffers.hpp:107:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return !a.equal(b);
data/galera-3-25.3.31/asio/asio/detail/consuming_buffers.hpp:128:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  bool equal(const consuming_buffers_iterator& other) const
data/galera-3-25.3.31/asio/asio/detail/winrt_utils.hpp:43:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  std::wstring tmp(from, from + std::strlen(from));
data/galera-3-25.3.31/asio/asio/impl/read.hpp:39:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers,
data/galera-3-25.3.31/asio/asio/impl/read.hpp:60:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers)
data/galera-3-25.3.31/asio/asio/impl/read.hpp:63:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  std::size_t bytes_transferred = read(s, buffers, transfer_all(), ec);
data/galera-3-25.3.31/asio/asio/impl/read.hpp:69:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers,
data/galera-3-25.3.31/asio/asio/impl/read.hpp:72:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read(s, buffers, transfer_all(), ec);
data/galera-3-25.3.31/asio/asio/impl/read.hpp:77:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers,
data/galera-3-25.3.31/asio/asio/impl/read.hpp:81:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  std::size_t bytes_transferred = read(s, buffers, completion_condition, ec);
data/galera-3-25.3.31/asio/asio/impl/read.hpp:90:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
std::size_t read(SyncReadStream& s,
data/galera-3-25.3.31/asio/asio/impl/read.hpp:112:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline std::size_t read(SyncReadStream& s,
data/galera-3-25.3.31/asio/asio/impl/read.hpp:116:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  std::size_t bytes_transferred = read(s, b, transfer_all(), ec);
data/galera-3-25.3.31/asio/asio/impl/read.hpp:122:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline std::size_t read(SyncReadStream& s,
data/galera-3-25.3.31/asio/asio/impl/read.hpp:126:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read(s, b, transfer_all(), ec);
data/galera-3-25.3.31/asio/asio/impl/read.hpp:131:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline std::size_t read(SyncReadStream& s,
data/galera-3-25.3.31/asio/asio/impl/read.hpp:136:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  std::size_t bytes_transferred = read(s, b, completion_condition, ec);
data/galera-3-25.3.31/asio/asio/ip/basic_resolver_iterator.hpp:215:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return a.equal(b);
data/galera-3-25.3.31/asio/asio/ip/basic_resolver_iterator.hpp:222:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return !a.equal(b);
data/galera-3-25.3.31/asio/asio/ip/basic_resolver_iterator.hpp:236:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  bool equal(const basic_resolver_iterator& other) const
data/galera-3-25.3.31/asio/asio/read.hpp:73:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers);
data/galera-3-25.3.31/asio/asio/read.hpp:112:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers,
data/galera-3-25.3.31/asio/asio/read.hpp:163:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers,
data/galera-3-25.3.31/asio/asio/read.hpp:207:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers,
data/galera-3-25.3.31/asio/asio/read.hpp:239:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
std::size_t read(SyncReadStream& s, basic_streambuf<Allocator>& b);
data/galera-3-25.3.31/asio/asio/read.hpp:268:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
std::size_t read(SyncReadStream& s, basic_streambuf<Allocator>& b,
data/galera-3-25.3.31/asio/asio/read.hpp:308:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
std::size_t read(SyncReadStream& s, basic_streambuf<Allocator>& b,
data/galera-3-25.3.31/asio/asio/read.hpp:349:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
std::size_t read(SyncReadStream& s, basic_streambuf<Allocator>& b,
data/galera-3-25.3.31/asio/asio/ssl/detail/engine.hpp:96:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASIO_DECL want read(const asio::mutable_buffer& data,
data/galera-3-25.3.31/asio/asio/ssl/detail/read_op.hpp:50:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return eng.read(buffer, ec, bytes_transferred);
data/galera-3-25.3.31/asio/asio/ssl/old/detail/openssl_context_service.hpp:347:7:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
      strncat(buf, passwd.c_str(), size);
data/galera-3-25.3.31/asio/asio/ssl/old/detail/openssl_context_service.hpp:348:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      return strlen(buf);
data/galera-3-25.3.31/chromium/aligned_memory.h:110:9:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
  ptr = memalign(alignment, size);
data/galera-3-25.3.31/galera/src/galera_gcs.hpp:152:17:  [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(1000);
data/galera-3-25.3.31/galera/src/galera_info.cpp:45:33:  [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 id_len = strlen(str);
data/galera-3-25.3.31/galera/src/galera_info.cpp:51:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(member->name, str, sizeof(member->name) - 1);
data/galera-3-25.3.31/galera/src/galera_info.cpp:53:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                str = str + strlen(str) + 1;
data/galera-3-25.3.31/galera/src/galera_info.cpp:55:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(member->incoming, str, sizeof(member->incoming) - 1);
data/galera-3-25.3.31/galera/src/galera_info.cpp:57:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                str = str + strlen(str) + 1;
data/galera-3-25.3.31/galera/src/ist.cpp:760:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            n = asio::read(*ssl_stream_, asio::buffer(&b, 1));
data/galera-3-25.3.31/galera/src/ist.cpp:764:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            n = asio::read(socket_, asio::buffer(&b, 1));
data/galera-3-25.3.31/galera/src/ist_proto.hpp:284:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                size_t n(asio::read(socket, asio::buffer(&buf[0], buf.size())));
data/galera-3-25.3.31/galera/src/ist_proto.hpp:343:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                size_t n(asio::read(socket, asio::buffer(&buf[0], buf.size())));
data/galera-3-25.3.31/galera/src/ist_proto.hpp:393:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                size_t n(asio::read(socket, asio::buffer(&buf[0], buf.size())));
data/galera-3-25.3.31/galera/src/ist_proto.hpp:489:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                size_t n(asio::read(socket, asio::buffer(&buf[0], buf.size())));
data/galera-3-25.3.31/galera/src/ist_proto.hpp:513:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    n = asio::read(socket, asio::buffer(&buf[0], buf.size()));
data/galera-3-25.3.31/galera/src/ist_proto.hpp:541:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        n = asio::read(socket,
data/galera-3-25.3.31/galera/src/replicator_smm.cpp:368: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(10000);
data/galera-3-25.3.31/galera/src/replicator_smm.cpp:596: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(1000), true));
data/galera-3-25.3.31/galera/src/replicator_smm.cpp:1193:37:  [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.
        while (rcode == -EAGAIN && (usleep(1000), true));
data/galera-3-25.3.31/galera/src/replicator_smm.cpp:1361: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).
    return (req_len != (strlen(WSREP_STATE_TRANSFER_NONE) + 1) ||
data/galera-3-25.3.31/galera/src/replicator_smm.cpp:1378: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).
            new_size += strlen(view.members[i].incoming);
data/galera-3-25.3.31/galera/src/replicator_smm.cpp:1906:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(str, os.str().c_str(), sizeof(state_uuid_str_) - 1);
data/galera-3-25.3.31/galera/src/replicator_smm_params.cpp:75: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).
    if (node_address && strlen(node_address) > 0)
data/galera-3-25.3.31/galera/src/replicator_smm_stats.cpp:307:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(tail_buf, incoming_list_.c_str(), incoming_list_.size() + 1);
data/galera-3-25.3.31/galera/src/replicator_smm_stats.cpp:317:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(tail_buf, i->first.c_str(), i->first.size() + 1);
data/galera-3-25.3.31/galera/src/replicator_smm_stats.cpp:323:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(tail_buf, i->second.c_str(), i->second.size() + 1);
data/galera-3-25.3.31/galera/src/replicator_str.cpp:283: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).
    size_t const trivial_len = strlen(ReplicatorSMM::TRIVIAL_SST) + 1;
data/galera-3-25.3.31/galera/src/replicator_str.cpp:493:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(str) + 1;
data/galera-3-25.3.31/galera/src/replicator_str.cpp:617:31:  [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.
    while (retry_str(ret) && (usleep(sst_retry_sec_ * 1000000), true));
data/galera-3-25.3.31/galera/tests/data_set_check.cpp:40:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        ::strncpy (const_cast<char*>(str_), str, size_ - 4);
data/galera-3-25.3.31/galera/tests/ist_check.cpp:336:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(100000);
data/galera-3-25.3.31/galera/tests/saved_state_check.cpp:127: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 (TEST_USLEEP);
data/galera-3-25.3.31/galera/tests/saved_state_check.cpp:130: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 (TEST_USLEEP);
data/galera-3-25.3.31/galera/tests/saved_state_check.cpp:179: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 (TEST_USLEEP);
data/galera-3-25.3.31/galera/tests/saved_state_check.cpp:182: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 (TEST_USLEEP);
data/galera-3-25.3.31/galera/tests/saved_state_check.cpp:216:54:  [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.
    { int count = 1000; while (--count && !(cond)) { usleep (TEST_USLEEP); }}
data/galera-3-25.3.31/galera/tests/service_thd_check.cpp:71:54:  [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.
    { int count = 1000; while (--count && !(cond)) { usleep (TEST_USLEEP); }}
data/galera-3-25.3.31/galera/tests/test_key.hpp:36: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 p_len(parts[i] ? strlen(parts[i]) + 1 : 0);
data/galera-3-25.3.31/galera/tests/test_key.hpp:95: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 (p && (p_len = strlen(p) + 1) > 0)
data/galera-3-25.3.31/galera/tests/trx_handle_check.cpp:155:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                           strlen("foobar"));
data/galera-3-25.3.31/galerautils/src/gu_cond.hpp:42:19:  [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/galera-3-25.3.31/galerautils/src/gu_config.cpp:505:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (buf, str.c_str(), buf_len - 1);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1454: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).
    new_malloc = DbugMalloc((int) strlen(str) + 1);
data/galera-3-25.3.31/galerautils/src/gu_dbug.c:1536:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(name) == 1 && name[0] == '-') {
data/galera-3-25.3.31/galerautils/src/gu_exception.cpp:15:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        msg.reserve (msg.length() + ::strlen(file) + ::strlen(func) + 15);
data/galera-3-25.3.31/galerautils/src/gu_exception.cpp:15:56:  [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).
        msg.reserve (msg.length() + ::strlen(file) + ::strlen(func) + 15);
data/galera-3-25.3.31/galerautils/src/gu_str.h:68:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return gu_str_append(str, off, name, strlen(name));
data/galera-3-25.3.31/galerautils/src/gu_str.h:114: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).
        str = gu_str_append(str, off, cols[i], strlen(cols[i]));
data/galera-3-25.3.31/galerautils/src/gu_str.h:127:47:  [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).
        str = gu_str_append(str, off, row[i], strlen(row[i]));
data/galera-3-25.3.31/galerautils/src/gu_string.hpp:66:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_type const n(::strlen(s));
data/galera-3-25.3.31/galerautils/src/gu_string.hpp:167: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).
        size_type const s_size(::strlen(s));
data/galera-3-25.3.31/galerautils/src/gu_string.hpp:186:33:  [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).
        append_string (other, ::strlen(other));
data/galera-3-25.3.31/galerautils/src/gu_string.hpp:269: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).
        size_type const n(strlen(s));
data/galera-3-25.3.31/galerautils/src/gu_utils.c:72:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t const len = strlen(str);
data/galera-3-25.3.31/galerautils/src/gu_uuid.c:72:33:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (i < node_len && (c = fgetc (urand)) != EOF) {
data/galera-3-25.3.31/galerautils/tests/gu_crc32c_test.c:64:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        uint32_t ret = gu_crc32c(input, strlen(input));
data/galera-3-25.3.31/galerautils/tests/gu_crc32c_test.c:73:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int const size = strlen(input);
data/galera-3-25.3.31/galerautils/tests/gu_fifo_test.c:210:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (100000 /* 0.1s */);
data/galera-3-25.3.31/galerautils/tests/gu_fnv_test.c:20: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).
    gu_fnv32a_internal (test_buf, strlen(test_buf), &ret);
data/galera-3-25.3.31/galerautils/tests/gu_fnv_test.c:30: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).
    gu_fnv64a_internal (test_buf, strlen(test_buf), &ret);
data/galera-3-25.3.31/galerautils/tests/gu_fnv_test.c:40: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).
    gu_fnv128a_internal (test_buf, strlen(test_buf), &ret);
data/galera-3-25.3.31/galerautils/tests/gu_lock_step_test.c:17:54:  [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.
    { int count = 1000; while (--count && !(cond)) { usleep (TEST_USLEEP); }}
data/galera-3-25.3.31/galerautils/tests/gu_rset_test.cpp:42:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        ::strncpy (const_cast<char*>(str_), str, size_ - 4);
data/galera-3-25.3.31/galerautils/tests/gu_str_test.c:21:49:  [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).
        str = gu_str_append(str, &off, strs[i], strlen(strs[i]));
data/galera-3-25.3.31/galerautils/tests/gu_str_test.c:45:49:  [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).
        str = gu_str_append(str, &off, strs[i], strlen(strs[i]));
data/galera-3-25.3.31/galerautils/tests/gu_str_test.c:46:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len += strlen(strs[i]) + 1;
data/galera-3-25.3.31/galerautils/tests/gu_string_test.cpp:14: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).
    ck_assert(strlen(str1.c_str()) == 0);
data/galera-3-25.3.31/galerautils/tests/gu_string_test.cpp:19:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ck_assert(str2.size() == strlen(test_string1));
data/galera-3-25.3.31/galerautils/tests/gu_string_test.cpp:29:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ck_assert(str4.size() == strlen(test_string1));
data/galera-3-25.3.31/galerautils/tests/gu_string_test.cpp:42: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).
    ck_assert(strlen(str.c_str()) == 0);
data/galera-3-25.3.31/galerautils/tests/gu_to_test.c:95:69:  [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.
            while ((ret = gu_to_self_cancel(to, seqno)) == -EAGAIN) usleep (t);
data/galera-3-25.3.31/garb/garb_gcs.cpp:116:31:  [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.
    while (-EAGAIN == ret && (usleep(1000000), true));
data/galera-3-25.3.31/gcomm/src/evs_consensus.cpp:74:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
bool gcomm::evs::Consensus::equal(const Message& m1, const Message& m2) const
data/galera-3-25.3.31/gcomm/src/evs_consensus.cpp:500:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                equal(msg, *my_jm) == true);
data/galera-3-25.3.31/gcomm/src/evs_consensus.cpp:504:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return equal(msg, *my_jm);
data/galera-3-25.3.31/gcomm/src/evs_consensus.hpp:41:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal(const Message&, const Message&) const;
data/galera-3-25.3.31/gcomm/src/evs_proto.cpp:2848:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                     consensus_.equal(
data/galera-3-25.3.31/gcomm/test/check_gmcast.cpp:174:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            u1.listen_addr().erase(0, strlen("tcp://")));
data/galera-3-25.3.31/gcomm/test/check_gmcast.cpp:188:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            u2.listen_addr().erase(0, strlen("tcp://")));
data/galera-3-25.3.31/gcomm/test/check_gmcast.cpp:201:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            u2.listen_addr().erase(0, strlen("tcp://")));
data/galera-3-25.3.31/gcomm/test/check_gmcast.cpp:307:47:  [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).
                                           0, strlen("tcp://"))
data/galera-3-25.3.31/gcomm/test/check_gmcast.cpp:312:47:  [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).
                                           0, strlen("tcp://"))
data/galera-3-25.3.31/gcomm/test/check_pc_nondet.cpp:139: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).
                + pu1.listen_addr().erase(0, strlen("tcp://"))
data/galera-3-25.3.31/gcomm/test/check_pc_nondet.cpp:148: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).
                + pu1.listen_addr().erase(0, strlen("tcp://"))
data/galera-3-25.3.31/gcs/src/gcs.cpp:889: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 (10000);
data/galera-3-25.3.31/gcs/src/gcs.cpp:1765:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t donor_len = strlen(donor) + 1; // include terminating \0
data/galera-3-25.3.31/gcs/src/gcs_backend.cpp:69:16:  [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 (len == strlen(type)) {
data/galera-3-25.3.31/gcs/src/gcs_backend.cpp:89: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).
        const char* addr = sep + strlen(backend_sep);
data/galera-3-25.3.31/gcs/src/gcs_comp_msg.cpp:78:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    id_len = strlen (id);
data/galera-3-25.3.31/gcs/src/gcs_comp_msg.cpp:124: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).
    size_t id_len = strlen(id);
data/galera-3-25.3.31/gcs/src/gcs_core.cpp:297: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 (10000);
data/galera-3-25.3.31/gcs/src/gcs_fifo_lite.cpp:131:6:  [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 (10000); /* sleep a bit to avoid busy loop */
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:520:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy (group->nodes[0].id, new_nodes[0].id,
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1269:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int  const donor_len = strlen(donor_string);
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1361:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return (strlen (GCS_DESYNC_REQ) == strlen(donor) &&
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1361:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return (strlen (GCS_DESYNC_REQ) == strlen(donor) &&
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1373:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t           donor_name_len = strlen(donor_name);
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1474:16:  [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).
        ret += strlen(group->nodes[idx].id) + 1;
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1475:16:  [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).
        ret += strlen(group->nodes[idx].name) + 1;
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1476:16:  [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).
        ret += strlen(group->nodes[idx].inc_addr) + 1;
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1526:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                ptr += strlen(ptr) + 1;
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1528:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                ptr += strlen(ptr) + 1;
data/galera-3-25.3.31/gcs/src/gcs_group.cpp:1530:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                ptr += strlen(ptr) + 1;
data/galera-3-25.3.31/gcs/src/gcs_node.cpp:23: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).
    assert(strlen(id) > 0);
data/galera-3-25.3.31/gcs/src/gcs_node.cpp:24: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).
    assert(strlen(id) < sizeof(node->id));
data/galera-3-25.3.31/gcs/src/gcs_node.cpp:27:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy ((char*)node->id, id, sizeof(node->id) - 1);
data/galera-3-25.3.31/gcs/src/gcs_sm.cpp:94: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(1000);
data/galera-3-25.3.31/gcs/src/gcs_sm.hpp:379:27:  [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.
            if (tail & 1) usleep(1000);
data/galera-3-25.3.31/gcs/src/gcs_spread.cpp:88:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t port_len = strlen (socket) - addr_len - 1;
data/galera-3-25.3.31/gcs/src/gcs_spread.cpp:115: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 (NULL == socket || strlen(socket) == 0)
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:58:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t name_len = strlen(name) + 1;
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:59:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t addr_len = strlen(inc_addr) + 1;
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:127: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 (state->name) + 1 +
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:128: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 (state->inc_addr) + 1 +
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:181: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).
    char*     inc_addr  = name + strlen (state->name) + 1;
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:182:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    uint8_t*  appl_proto_ver = (uint8_t*)(inc_addr + strlen(state->inc_addr) +1);
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:230: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).
    const char* inc_addr = name + strlen (name) + 1;
data/galera-3-25.3.31/gcs/src/gcs_state_msg.cpp:233:47:  [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).
    uint8_t* appl_ptr = (uint8_t*)(inc_addr + strlen(inc_addr) + 1);
data/galera-3-25.3.31/gcs/src/gcs_test.cpp:288: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(10000);
data/galera-3-25.3.31/gcs/src/gcs_test.cpp:492: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 (10000);
data/galera-3-25.3.31/gcs/src/gcs_test.cpp:745:5:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fgetc (stdin);
data/galera-3-25.3.31/gcs/src/gcs_test.cpp:753:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (conf.n_tries*1000000);
data/galera-3-25.3.31/gcs/src/gcs_test.cpp:794:5:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fgetc (stdin);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_comp_test.cpp:45:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ck_assert_msg(strlen(n->memb[i].id) == strlen(m->memb[i].id),
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_comp_test.cpp:45: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).
        ck_assert_msg(strlen(n->memb[i].id) == strlen(m->memb[i].id),
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_comp_test.cpp:47:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      i, strlen(n->memb[i].id), strlen(m->memb[i].id));
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_comp_test.cpp:47:49:  [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).
                      i, strlen(n->memb[i].id), strlen(m->memb[i].id));
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:566:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (10000); // resolve race between sending and setting transitional
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:651:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (100000); // make sure 1st fragment gets in before new component
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:682:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (500000); // fail_if_seq
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:696:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (1000000);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:735: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).
    static const size_t donor_len = strlen(donor) + 1;
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:810: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(10000); // make sure node1 already changed its status to WAIT_STATE_MSG
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_core_test.cpp:915: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(10000);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_defrag_test.cpp:84: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).
    frg4.frag_len = strlen("junk");
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_fc_test.cpp:52:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (1000);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_fc_test.cpp:62:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (1000);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_fc_test.cpp:72:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (1000);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_group_test.cpp:506: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).
    gu_uuid_scan(s_group_uuid, strlen(s_group_uuid), &group.group_uuid);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_group_test.cpp:552: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).
#define SARGS(s) s, strlen(s)
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_proto_test.cpp:41:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    frg_send.act_size  = strlen (act_send);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_proto_test.cpp:53: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).
    ck_assert_msg(strlen(act_send) >= frg_send.frag_len,
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_proto_test.cpp:58:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy ((char*)frg_send.frag, act_send_ptr, frg_send.frag_len);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_proto_test.cpp:75:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (act_recv_ptr, (const char*)frg_recv.frag, frg_recv.frag_len);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_proto_test.cpp:82:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy ((char*)frg_send.frag, act_send_ptr, frg_send.frag_len);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_proto_test.cpp:97:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (act_recv_ptr, (const char*)frg_recv.frag, frg_recv.frag_len);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_proto_test.cpp:98: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).
    ck_assert_msg(strlen(act_recv_ptr) < frg_send.frag_len,
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_proto_test.cpp:100:33:  [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).
                  act_recv_ptr, strlen(act_recv_ptr));
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_sm_test.cpp:20:54:  [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.
    { int count = 1000; while (--count && !(cond)) { usleep (1000); }}
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_sm_test.cpp:64: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(1000);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_sm_test.cpp:174:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(TEST_USLEEP); // make sure closing_thread() blocks in gcs_sm_close()
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_sm_test.cpp:215:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(TEST_USLEEP);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_sm_test.cpp:266:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(TEST_USLEEP); // make sure pausing_thread blocked in gcs_sm_enter()
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_sm_test.cpp:303:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (TEST_USLEEP);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_sm_test.cpp:343:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (TEST_USLEEP);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_sm_test.cpp:345:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (TEST_USLEEP);
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_sm_test.cpp:363:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (TEST_USLEEP); // nothing should change, since monitor is paused
data/galera-3-25.3.31/gcs/src/unit_tests/gcs_test_utils.cpp:274:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ssize_t const req_len = strlen(donor_name) + 2;
data/galera-3-25.3.31/wsrep/src/wsrep_listener.c:75:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            *sst_req_len = strlen(*sst_req) + 1;

ANALYSIS SUMMARY:

Hits = 513
Lines analyzed = 175293 in approximately 3.69 seconds (47451 lines/second)
Physical Source Lines of Code (SLOC) = 114962
Hits@level = [0] 147 [1] 194 [2] 249 [3]  25 [4]  44 [5]   1
Hits@level+ = [0+] 660 [1+] 513 [2+] 319 [3+]  70 [4+]  45 [5+]   1
Hits/KSLOC@level+ = [0+] 5.74103 [1+] 4.46234 [2+] 2.77483 [3+] 0.608897 [4+] 0.391434 [5+] 0.00869853
Symlinks skipped = 1 (--allowlink overrides but see doc for security issue)
Dot directories skipped = 1 (--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.