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/libtorrent-rasterbar-1.2.9/bindings/python/src/alert.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/boost_python.hpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/bytes.hpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/converters.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/create_torrent.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/datetime.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/entry.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/fingerprint.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/gil.hpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/ip_filter.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/magnet_uri.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/module.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/optional.hpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/peer_info.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/session.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/session_settings.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/sha1_hash.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/string.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/torrent_handle.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/torrent_info.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/torrent_status.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/utility.cpp
Examining data/libtorrent-rasterbar-1.2.9/bindings/python/src/version.cpp
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/add_scalar.cpp
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/fe.cpp
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/fe.h
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/fixedint.h
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.h
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/key_exchange.cpp
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/keypair.cpp
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/precomp_data.h
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/sc.cpp
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/sc.h
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/sign.cpp
Examining data/libtorrent-rasterbar-1.2.9/ed25519/src/verify.cpp
Examining data/libtorrent-rasterbar-1.2.9/ed25519/test.c
Examining data/libtorrent-rasterbar-1.2.9/examples/bt-get.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/bt-get2.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/custom_storage.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/dump_torrent.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/make_torrent.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/print.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/print.hpp
Examining data/libtorrent-rasterbar-1.2.9/examples/session_view.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/session_view.hpp
Examining data/libtorrent-rasterbar-1.2.9/examples/simple_client.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/stats_counters.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/torrent_view.cpp
Examining data/libtorrent-rasterbar-1.2.9/examples/torrent_view.hpp
Examining data/libtorrent-rasterbar-1.2.9/examples/upnp_test.cpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/add_torrent_params.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/address.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/alert.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/alert_manager.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/alert_types.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/announce_entry.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/assert.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/aligned_storage.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/aligned_union.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/alloca.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/allocating_handler.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/array.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/bind_to_device.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/block_cache_reference.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/byteswap.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/container_wrapper.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/cppint_import_export.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/cpuid.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/deferred_handler.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/deprecated.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/deque.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/dev_random.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/disable_warnings_pop.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/disable_warnings_push.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/disk_job_fence.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/escape_string.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/export.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/ffs.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/file_progress.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/generate_peer_id.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/has_block.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/instantiate_connection.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/io.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/ip_notifier.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/keepalive.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/listen_socket_handle.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/lsd.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/merkle.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/noexcept_movable.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/numeric_cast.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/openssl.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/path.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/portmap.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/proxy_settings.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/range.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/route.h
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/scope_end.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/session_call.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/session_impl.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/session_interface.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/session_settings.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/session_udp_sockets.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/set_socket_buffer.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/socket_type.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/storage_piece_set.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/storage_utils.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/string_ptr.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/suggest_piece.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/throw.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/time.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/torrent_impl.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/unique_ptr.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/vector.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/win_crypto_provider.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/win_util.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/windows.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/bandwidth_limit.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/bandwidth_manager.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/bandwidth_queue_entry.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/bandwidth_socket.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/bdecode.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/bencode.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/bitfield.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/block_cache.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/bloom_filter.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/broadcast_socket.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/bt_peer_connection.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/buffer.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/chained_buffer.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/choker.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/close_reason.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/config.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/copy_ptr.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/crc32c.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/create_torrent.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/deadline_timer.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/debug.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/disk_buffer_holder.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/disk_buffer_pool.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/disk_interface.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/disk_io_job.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/disk_io_thread.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/disk_io_thread_pool.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/disk_job_pool.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/disk_observer.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/download_priority.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/ed25519.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/entry.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/enum_net.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/error.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/extensions.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/extensions/smart_ban.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/extensions/ut_metadata.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/extensions/ut_pex.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/file.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/file_pool.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/file_storage.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/fingerprint.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/flags.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/fwd.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/gzip.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/hasher.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/hasher512.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/heterogeneous_queue.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/hex.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/http_connection.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/http_parser.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/http_seed_connection.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/http_stream.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/http_tracker_connection.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/i2p_stream.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/identify_client.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/index_range.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/invariant_check.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/io.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/io_service.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/io_service_fwd.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_voter.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/announce_flags.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/dht_observer.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/dht_settings.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/dht_state.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/dht_storage.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/dht_tracker.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/direct_request.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/dos_blocker.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/ed25519.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/find_data.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/get_item.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/get_peers.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/io.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/item.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/msg.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/node.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/node_entry.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/node_id.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/observer.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/put_data.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/refresh.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/routing_table.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/rpc_manager.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/sample_infohashes.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/traversal_algorithm.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/kademlia/types.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/lazy_entry.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/link.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/linked_list.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/lsd.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/magnet_uri.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/natpmp.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/netlink.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/operations.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/optional.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/packet_buffer.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/packet_pool.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/parse_url.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/part_file.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/pe_crypto.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_class.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_class_set.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_class_type_filter.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_connection.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_connection_handle.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_connection_interface.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_id.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_info.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_list.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_request.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/performance_counters.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/pex_flags.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/piece_block.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/piece_block_progress.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/piece_picker.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/platform_util.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/portmap.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/proxy_base.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/puff.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/random.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/read_resume_data.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/receive_buffer.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/request_blocks.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/resolve_links.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/resolver.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/resolver_interface.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/session.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/session_handle.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/session_settings.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/session_stats.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/session_status.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/session_types.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/settings_pack.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/sha1.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/sha1_hash.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/sha512.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/sliding_average.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/socket.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/socket_io.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/socks5_stream.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/span.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/ssl_stream.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/stack_allocator.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/stat.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/stat_cache.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/storage.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/storage_defs.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/string_util.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/string_view.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/tailqueue.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/time.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/timestamp_history.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/torrent.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/torrent_flags.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/torrent_handle.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/torrent_info.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/torrent_peer.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/torrent_peer_allocator.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/torrent_status.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/tracker_manager.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/udp_socket.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/udp_tracker_connection.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/union_endpoint.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/units.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/upnp.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/utf8.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/utp_socket_manager.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/utp_stream.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/vector_utils.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/version.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/web_connection_base.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/web_peer_connection.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/write_resume_data.hpp
Examining data/libtorrent-rasterbar-1.2.9/include/libtorrent/xml_parse.hpp
Examining data/libtorrent-rasterbar-1.2.9/src/add_torrent_params.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/alert.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/alert_manager.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/announce_entry.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/assert.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/bandwidth_limit.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/bandwidth_manager.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/bandwidth_queue_entry.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/bdecode.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/bitfield.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/block_cache.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/bloom_filter.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/broadcast_socket.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/chained_buffer.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/choker.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/close_reason.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/cpuid.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/crc32c.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/create_torrent.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/disk_buffer_holder.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/disk_buffer_pool.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/disk_io_job.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/disk_io_thread.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/disk_io_thread_pool.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/disk_job_fence.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/disk_job_pool.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/entry.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/error_code.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/escape_string.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/ffs.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/file.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/file_pool.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/file_progress.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/file_storage.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/fingerprint.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/generate_peer_id.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/gzip.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/hasher.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/hasher512.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/hex.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/http_connection.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/http_parser.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/http_seed_connection.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/http_stream.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/http_tracker_connection.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/i2p_stream.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/identify_client.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/instantiate_connection.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/ip_filter.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/ip_notifier.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/ip_voter.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/dht_settings.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/dht_state.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/dht_storage.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/dht_tracker.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/dos_blocker.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/ed25519.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/find_data.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/get_item.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/get_peers.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/item.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/msg.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/node.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/node_entry.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/node_id.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/put_data.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/refresh.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/routing_table.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/rpc_manager.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/sample_infohashes.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/kademlia/traversal_algorithm.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/lazy_bdecode.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/listen_socket_handle.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/lsd.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/magnet_uri.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/merkle.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/openssl.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/packet_buffer.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/parse_url.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/part_file.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/path.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/pe_crypto.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/peer_class.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/peer_class_set.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/peer_connection.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/peer_connection_handle.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/peer_info.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/peer_list.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/performance_counters.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/piece_picker.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/platform_util.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/proxy_base.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/proxy_settings.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/puff.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/random.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/read_resume_data.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/receive_buffer.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/request_blocks.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/resolve_links.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/resolver.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/session.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/session_call.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/session_handle.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/session_settings.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/session_stats.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/settings_pack.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/sha1.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/sha1_hash.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/sha512.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/smart_ban.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/socket_io.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/socket_type.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/socks5_stream.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/stack_allocator.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/stat.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/stat_cache.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/storage.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/storage_piece_set.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/string_util.cpp
Parsing failed to find end of parameter list; semicolon terminated it in (s1.begin(), s1.end(), s2.begin()
			, [] (char const c1, char const c2)
			{ return to_lower(c1) == to_lower(c2); });
	}

	// generate a url-safe random string
	void url_random(span<char> dest)
	{
		
Examining data/libtorrent-rasterbar-1.2.9/src/time.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/timestamp_history.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/torrent.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/torrent_handle.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/torrent_info.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/torrent_peer.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/torrent_peer_allocator.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/torrent_status.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/tracker_manager.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/udp_tracker_connection.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/upnp.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/ut_metadata.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/ut_pex.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/utf8.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/utp_socket_manager.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/version.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/web_connection_base.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/web_peer_connection.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/write_resume_data.cpp
Examining data/libtorrent-rasterbar-1.2.9/src/xml_parse.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/bittorrent_peer.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/bittorrent_peer.hpp
Examining data/libtorrent-rasterbar-1.2.9/test/dht_server.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/dht_server.hpp
Examining data/libtorrent-rasterbar-1.2.9/test/enum_if.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/main.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/make_torrent.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/make_torrent.hpp
Examining data/libtorrent-rasterbar-1.2.9/test/peer_server.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/peer_server.hpp
Examining data/libtorrent-rasterbar-1.2.9/test/print_alerts.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/print_alerts.hpp
Examining data/libtorrent-rasterbar-1.2.9/test/settings.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/settings.hpp
Examining data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/setup_transfer.hpp
Examining data/libtorrent-rasterbar-1.2.9/test/swarm_suite.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/swarm_suite.hpp
Examining data/libtorrent-rasterbar-1.2.9/test/test.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test.hpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_alert_manager.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_alert_types.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_alloca.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_auto_unchoke.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_bandwidth_limiter.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_bencoding.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_bitfield.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_block_cache.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_bloom_filter.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_buffer.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_checking.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_crc32.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_create_torrent.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_dht_storage.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_direct_dht.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_dos_blocker.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_ed25519.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_enum_net.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_fence.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_ffs.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_file.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_file_progress.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_file_storage.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_flags.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_generate_peer_id.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_gzip.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_hasher.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_hasher512.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_heterogeneous_queue.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_http_connection.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_identify_client.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_io.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_ip_voter.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_linked_list.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_listen_socket.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_lsd.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_magnet.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_merkle.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_packet_buffer.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_part_file.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_pe_crypto.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_peer_classes.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_peer_list.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_peer_priority.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_pex.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_piece_picker.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_primitives.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_priority.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_privacy.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_read_piece.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_read_resume.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_receive_buffer.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_recheck.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_remap_files.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_remove_torrent.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_resolve_links.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_resume.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_session.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_session_params.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_settings_pack.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_sha1_hash.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_sliding_average.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_socket_io.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_span.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_ssl.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_stack_allocator.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_stat_cache.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_string.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_tailqueue.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_threads.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_time.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_time_critical.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_timestamp_history.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_torrent.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_torrent_info.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_tracker.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_transfer.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_upnp.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_url_seed.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_utf8.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_utils.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_utils.hpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_utp.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_web_seed.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_web_seed_ban.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_web_seed_chunked.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_web_seed_http.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_web_seed_http_pw.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_web_seed_redirect.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_web_seed_socks4.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_web_seed_socks5.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_web_seed_socks5_no_peers.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_web_seed_socks5_pw.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/test_xml.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/udp_tracker.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/udp_tracker.hpp
Examining data/libtorrent-rasterbar-1.2.9/test/web_seed_suite.cpp
Examining data/libtorrent-rasterbar-1.2.9/test/web_seed_suite.hpp
Examining data/libtorrent-rasterbar-1.2.9/tools/dht_put.cpp
Examining data/libtorrent-rasterbar-1.2.9/tools/session_log_alerts.cpp

FINAL RESULTS:

data/libtorrent-rasterbar-1.2.9/src/create_torrent.cpp:80:23:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
		int char_read = int(readlink(f.c_str(), buf, MAX_SYMLINK_PATH));
data/libtorrent-rasterbar-1.2.9/src/storage.cpp:341:27:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
							auto const ret = ::readlink(link.c_str(), buffer, sizeof(buffer));
data/libtorrent-rasterbar-1.2.9/test/test_checking.cpp:182:4:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
			chmod(path.c_str(), S_IRUSR);
data/libtorrent-rasterbar-1.2.9/test/test_checking.cpp:277:4:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
			chmod(path.c_str(), S_IRUSR | S_IWUSR);
data/libtorrent-rasterbar-1.2.9/bindings/python/src/boost_python.hpp:28:8:  [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.
#ifdef snprintf
data/libtorrent-rasterbar-1.2.9/bindings/python/src/boost_python.hpp:29:8:  [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.
#undef snprintf
data/libtorrent-rasterbar-1.2.9/bindings/python/src/boost_python.hpp:32:8:  [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.
#ifdef vsnprintf
data/libtorrent-rasterbar-1.2.9/bindings/python/src/boost_python.hpp:33:8:  [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.
#undef vsnprintf
data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp:43:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	inline boost::system::error_category const volatile*
data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp:44:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	get_pointer(class boost::system::error_category const volatile* p)
data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp:60:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
using boost::system::error_category;
data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp:129:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	category_holder(boost::system::error_category const& cat) : m_cat(&cat) {}
data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp:142:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_category const& ref() const { return *m_cat; }
data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp:143:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	operator boost::system::error_category const&() const { return *m_cat; }
data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp:145:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_category const* m_cat;
data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp:148:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void error_code_assign(boost::system::error_code& me, int const v, category_holder const cat)
data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp:153:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
category_holder error_code_category(boost::system::error_code const& me)
data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp:170:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
WRAP_CAT(system)
data/libtorrent-rasterbar-1.2.9/bindings/python/src/ip_filter.cpp:21:23:  [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.
        return filter.access(address::from_string(addr));
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:512:8:  [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.
		std::printf(fmt, name);
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:727:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		ec.assign(GetLastError(), boost::system::system_category());
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:747:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		ec.assign(errno, boost::system::system_category());
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1117:8:  [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.
		std::fprintf(stderr, R"(usage: client_test [OPTIONS] [TORRENT|MAGNETURL]
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:417:8:  [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.
		std::snprintf(tmp, sizeof(tmp), fmt, ec.message().c_str());
data/libtorrent-rasterbar-1.2.9/examples/session_view.cpp:104:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	std::snprintf(str, sizeof(str), "%s%swaste: %s   up: %s (%s) "
data/libtorrent-rasterbar-1.2.9/include/libtorrent/address.hpp:69:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	inline address make_address(string_view str, boost::system::error_code& ec)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/address.hpp:72:60:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	inline address_v4 make_address_v4(string_view str, boost::system::error_code& ec)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/address.hpp:75:60:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	inline address_v6 make_address_v6(string_view str, boost::system::error_code& ec)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/bdecode.hpp:104:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
TORRENT_EXPORT boost::system::error_category& bdecode_category();
data/libtorrent-rasterbar-1.2.9/include/libtorrent/bdecode.hpp:108:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
inline boost::system::error_category& get_bdecode_category()
data/libtorrent-rasterbar-1.2.9/include/libtorrent/bdecode.hpp:141:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TORRENT_EXPORT boost::system::error_code make_error_code(error_code_enum e);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/bdecode.hpp:145:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
namespace boost { namespace system {
data/libtorrent-rasterbar-1.2.9/include/libtorrent/bdecode.hpp:154:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	using error_code = boost::system::error_code;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/enum_net.hpp:207:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				ec = error_code(boost::system::errc::no_such_device, generic_category());
data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp:480:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		TORRENT_EXPORT boost::system::error_code make_error_code(error_code_enum e);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp:486:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TORRENT_EXPORT boost::system::error_category& libtorrent_category();
data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp:489:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TORRENT_EXPORT boost::system::error_category& http_category();
data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp:491:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	using error_code = boost::system::error_code;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp:492:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	using error_condition = boost::system::error_condition;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp:495:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	using boost::system::generic_category;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp:496:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	using boost::system::system_category;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp:498:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	using system_error = boost::system::system_error;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp:503:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	inline boost::system::error_category& get_libtorrent_category()
data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp:507:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	inline boost::system::error_category& get_http_category()
data/libtorrent-rasterbar-1.2.9/include/libtorrent/error_code.hpp:554:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
namespace boost { namespace system {
data/libtorrent-rasterbar-1.2.9/include/libtorrent/gzip.hpp:51:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TORRENT_EXPORT boost::system::error_category& gzip_category();
data/libtorrent-rasterbar-1.2.9/include/libtorrent/gzip.hpp:55:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	inline boost::system::error_category& get_gzip_category()
data/libtorrent-rasterbar-1.2.9/include/libtorrent/gzip.hpp:119:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		TORRENT_EXPORT boost::system::error_code make_error_code(error_code_enum e);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/gzip.hpp:124:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
namespace boost { namespace system {
data/libtorrent-rasterbar-1.2.9/include/libtorrent/i2p_stream.hpp:70:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		TORRENT_EXPORT boost::system::error_code make_error_code(i2p_error_code e);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/i2p_stream.hpp:74:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TORRENT_EXPORT boost::system::error_category& i2p_category();
data/libtorrent-rasterbar-1.2.9/include/libtorrent/i2p_stream.hpp:78:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	inline boost::system::error_category& get_i2p_category()
data/libtorrent-rasterbar-1.2.9/include/libtorrent/i2p_stream.hpp:229:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
namespace boost { namespace system {
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp:162:36:  [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.
			std::uint32_t first_access = i->access;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp:163:46:  [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.
			std::uint32_t last_access = std::prev(j)->access;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp:172:23:  [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.
				first_access = i->access;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp:185:35:  [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.
				const_cast<std::uint32_t&>(i->access) = flags;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp:206:17:  [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.
		std::uint32_t access(Addr const& addr) const
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp:214:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			return i->access;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp:228:18:  [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.
				r.flags = i->access;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp:245:57:  [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.
			range(Addr addr, std::uint32_t a = 0) : start(addr), access(a) {} // NOLINT
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp:251:18:  [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.
			std::uint32_t access;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp:295:16:  [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.
	std::uint32_t access(address const& addr) const;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ip_filter.hpp:341:16:  [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.
	std::uint32_t access(std::uint16_t port) const;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/natpmp.hpp:70:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_code make_error_code(pcp_errors e);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/natpmp.hpp:73:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TORRENT_EXPORT boost::system::error_category& pcp_category();
data/libtorrent-rasterbar-1.2.9/include/libtorrent/natpmp.hpp:76:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
namespace boost { namespace system {
data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_connection.hpp:1208:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				m_pc.disconnect(make_error_code(boost::system::errc::not_enough_memory)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_connection.hpp:1211:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			catch (boost::system::system_error const& err) {
data/libtorrent-rasterbar-1.2.9/include/libtorrent/peer_connection.hpp:1215:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				m_pc.disconnect(make_error_code(boost::system::errc::not_enough_memory)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/socks5_stream.hpp:68:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TORRENT_EXPORT boost::system::error_code make_error_code(socks_error_code e);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/socks5_stream.hpp:73:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
TORRENT_EXPORT boost::system::error_category& socks_category();
data/libtorrent-rasterbar-1.2.9/include/libtorrent/socks5_stream.hpp:77:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
inline boost::system::error_category& get_socks_category()
data/libtorrent-rasterbar-1.2.9/include/libtorrent/socks5_stream.hpp:194:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
namespace boost { namespace system {
data/libtorrent-rasterbar-1.2.9/include/libtorrent/upnp.hpp:93:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		TORRENT_EXPORT boost::system::error_code make_error_code(error_code_enum e);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/upnp.hpp:97:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TORRENT_EXPORT boost::system::error_category& upnp_category();
data/libtorrent-rasterbar-1.2.9/include/libtorrent/upnp.hpp:101:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	inline boost::system::error_category& get_upnp_category()
data/libtorrent-rasterbar-1.2.9/include/libtorrent/upnp.hpp:371:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
namespace boost { namespace system {
data/libtorrent-rasterbar-1.2.9/include/libtorrent/utp_stream.hpp:437:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			boost::throw_exception(boost::system::system_error(ec));
data/libtorrent-rasterbar-1.2.9/include/libtorrent/utp_stream.hpp:447:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			boost::throw_exception(boost::system::system_error(ec));
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1285:8:  [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.
		std::snprintf(msg, sizeof(msg), "%s: [%d] %d %d %d %d %d %d"
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1941: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.
			std::snprintf(msg, sizeof(msg), first ? "%" PRId64 : ", %" PRId64, v);
data/libtorrent-rasterbar-1.2.9/src/assert.cpp:250: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 = std::snprintf(out, len, " %s +%-4" PRId64
data/libtorrent-rasterbar-1.2.9/src/assert.cpp:314:7:  [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.
	std::vfprintf(out, fmt, va);
data/libtorrent-rasterbar-1.2.9/src/bdecode.cpp:180:47:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct bdecode_error_category final : boost::system::error_category
data/libtorrent-rasterbar-1.2.9/src/bdecode.cpp:184:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_condition default_error_condition(
data/libtorrent-rasterbar-1.2.9/src/bdecode.cpp:212:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_category& bdecode_category()
data/libtorrent-rasterbar-1.2.9/src/bdecode.cpp:220:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_code make_error_code(error_code_enum e)
data/libtorrent-rasterbar-1.2.9/src/bdecode.cpp:1097:10:  [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.
				std::snprintf(str, sizeof(str), "%" PRId64, e.int_value());
data/libtorrent-rasterbar-1.2.9/src/block_cache.cpp:158:24:  [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.
#define DLOG(...) std::fprintf(__VA_ARGS__)
data/libtorrent-rasterbar-1.2.9/src/close_reason.cpp:145:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				case boost::system::errc::connection_reset:
data/libtorrent-rasterbar-1.2.9/src/close_reason.cpp:146:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				case boost::system::errc::broken_pipe:
data/libtorrent-rasterbar-1.2.9/src/close_reason.cpp:149:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				case boost::system::errc::timed_out:
data/libtorrent-rasterbar-1.2.9/src/close_reason.cpp:151:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				case boost::system::errc::too_many_files_open:
data/libtorrent-rasterbar-1.2.9/src/close_reason.cpp:152:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				case boost::system::errc::too_many_files_open_in_system:
data/libtorrent-rasterbar-1.2.9/src/close_reason.cpp:154:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				case boost::system::errc::not_enough_memory:
data/libtorrent-rasterbar-1.2.9/src/close_reason.cpp:155:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				case boost::system::errc::no_buffer_space:
data/libtorrent-rasterbar-1.2.9/src/disk_io_thread.cpp:114:18:  [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.
		int len = std::vsnprintf(usr, sizeof(usr), fmt, v);
data/libtorrent-rasterbar-1.2.9/src/disk_io_thread.cpp:1192:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		catch (boost::system::system_error const& err)
data/libtorrent-rasterbar-1.2.9/src/disk_job_fence.cpp:41:24:  [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.
#define DLOG(...) std::fprintf(__VA_ARGS__)
data/libtorrent-rasterbar-1.2.9/src/error_code.cpp:41:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct libtorrent_error_category final : boost::system::error_category
data/libtorrent-rasterbar-1.2.9/src/error_code.cpp:45:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_condition default_error_condition(int ev) const BOOST_SYSTEM_NOEXCEPT override
data/libtorrent-rasterbar-1.2.9/src/error_code.cpp:46:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		{ return boost::system::error_condition(ev, *this); }
data/libtorrent-rasterbar-1.2.9/src/error_code.cpp:281:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_category& libtorrent_category()
data/libtorrent-rasterbar-1.2.9/src/error_code.cpp:287:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct http_error_category final : boost::system::error_category
data/libtorrent-rasterbar-1.2.9/src/error_code.cpp:319:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_condition default_error_condition(
data/libtorrent-rasterbar-1.2.9/src/error_code.cpp:321:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		{ return boost::system::error_condition(ev, *this); }
data/libtorrent-rasterbar-1.2.9/src/error_code.cpp:324:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_category& http_category()
data/libtorrent-rasterbar-1.2.9/src/error_code.cpp:333:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_code make_error_code(error_code_enum e)
data/libtorrent-rasterbar-1.2.9/src/error_code.cpp:335:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			return boost::system::error_code(e, libtorrent_category());
data/libtorrent-rasterbar-1.2.9/src/file.cpp:958:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec = error_code(boost::system::errc::bad_file_descriptor, generic_category());
data/libtorrent-rasterbar-1.2.9/src/file.cpp:1008:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec = error_code(boost::system::errc::bad_file_descriptor, generic_category());
data/libtorrent-rasterbar-1.2.9/src/file_pool.cpp:153:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec = error_code(boost::system::errc::not_enough_memory, generic_category());
data/libtorrent-rasterbar-1.2.9/src/gzip.cpp:58:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct gzip_error_category final : boost::system::error_category
data/libtorrent-rasterbar-1.2.9/src/gzip.cpp:62:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_condition default_error_condition(int ev) const BOOST_SYSTEM_NOEXCEPT override
data/libtorrent-rasterbar-1.2.9/src/gzip.cpp:97:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_category& gzip_category()
data/libtorrent-rasterbar-1.2.9/src/gzip.cpp:105:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_code make_error_code(error_code_enum e)
data/libtorrent-rasterbar-1.2.9/src/http_connection.cpp:517:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			callback(error_code(boost::system::errc::address_family_not_supported, generic_category()));
data/libtorrent-rasterbar-1.2.9/src/http_connection.cpp:810:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		callback(error_code(boost::system::errc::file_too_large, generic_category()));
data/libtorrent-rasterbar-1.2.9/src/http_tracker_connection.cpp:285:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			fail(error_code(boost::system::errc::host_unreachable, system_category()));
data/libtorrent-rasterbar-1.2.9/src/http_tracker_connection.cpp:295: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.
			if (tracker_req().filter->access(i->address()) == ip_filter::blocked)
data/libtorrent-rasterbar-1.2.9/src/i2p_stream.cpp:54:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct i2p_error_category final : boost::system::error_category
data/libtorrent-rasterbar-1.2.9/src/i2p_stream.cpp:76:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_condition default_error_condition(
data/libtorrent-rasterbar-1.2.9/src/i2p_stream.cpp:82:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_category& i2p_category()
data/libtorrent-rasterbar-1.2.9/src/i2p_stream.cpp:90:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_code make_error_code(i2p_error_code e)
data/libtorrent-rasterbar-1.2.9/src/ip_filter.cpp:53:27:  [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.
	std::uint32_t ip_filter::access(address const& addr) const
data/libtorrent-rasterbar-1.2.9/src/ip_filter.cpp:56:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			return m_filter4.access(addr.to_v4().to_bytes());
data/libtorrent-rasterbar-1.2.9/src/ip_filter.cpp:58:20:  [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.
		return m_filter6.access(addr.to_v6().to_bytes());
data/libtorrent-rasterbar-1.2.9/src/ip_filter.cpp:72:29:  [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.
	std::uint32_t port_filter::access(std::uint16_t port) const
data/libtorrent-rasterbar-1.2.9/src/ip_filter.cpp:74:19:  [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.
		return m_filter.access(port);
data/libtorrent-rasterbar-1.2.9/src/ip_notifier.cpp:65:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		{ cb(make_error_code(boost::system::errc::not_supported)); });
data/libtorrent-rasterbar-1.2.9/src/ip_notifier.cpp:226:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			{ cb(make_error_code(boost::system::errc::not_supported)); });
data/libtorrent-rasterbar-1.2.9/src/ip_notifier.cpp:326:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			{ cb(make_error_code(boost::system::errc::not_supported)); });
data/libtorrent-rasterbar-1.2.9/src/ip_notifier.cpp:377:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			cb(make_error_code(boost::system::errc::not_supported));
data/libtorrent-rasterbar-1.2.9/src/ip_notifier.cpp:427:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		{ cb(make_error_code(boost::system::errc::not_supported)); });
data/libtorrent-rasterbar-1.2.9/src/lazy_bdecode.cpp:167:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					if (ent == nullptr) TORRENT_FAIL_BDECODE(boost::system::errc::not_enough_memory);
data/libtorrent-rasterbar-1.2.9/src/lazy_bdecode.cpp:184:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					if (ent == nullptr) TORRENT_FAIL_BDECODE(boost::system::errc::not_enough_memory);
data/libtorrent-rasterbar-1.2.9/src/lazy_bdecode.cpp:617:10:  [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.
				std::snprintf(str, sizeof(str), "%" PRId64, e.int_value());
data/libtorrent-rasterbar-1.2.9/src/lsd.cpp:97:7:  [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.
	std::vsnprintf(buf, sizeof(buf), fmt, v);
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:65:42:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
struct pcp_error_category final : boost::system::error_category
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:92:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_condition default_error_condition(
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:94:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	{ return boost::system::error_condition(ev, *this); }
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:97:8:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
boost::system::error_category& pcp_category()
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:106:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_code make_error_code(pcp_errors e)
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:108:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		return boost::system::error_code(e, pcp_category());
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:302:7:  [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.
	std::vsnprintf(msg, sizeof(msg), fmt, v);
data/libtorrent-rasterbar-1.2.9/src/part_file.cpp:199:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec = make_error_code(boost::system::errc::no_such_file_or_directory);
data/libtorrent-rasterbar-1.2.9/src/part_file.cpp:217:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			&& ec == boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/part_file.cpp:261:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (ec == boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/part_file.cpp:362:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (ec == boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/path.cpp:278:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if (ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/path.cpp:810:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (ec == boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/peer_connection.cpp:224:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		disconnect(make_error_code(boost::system::errc::not_enough_memory)
data/libtorrent-rasterbar-1.2.9/src/peer_connection.cpp:241:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		disconnect(make_error_code(boost::system::errc::not_enough_memory)
data/libtorrent-rasterbar-1.2.9/src/peer_connection.cpp:6114:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					boost::system::errc::no_such_device, generic_category())
data/libtorrent-rasterbar-1.2.9/src/peer_list.cpp:131:16:  [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 ((filter.access((*i)->address()) & ip_filter::blocked) == 0)
data/libtorrent-rasterbar-1.2.9/src/peer_list.cpp:193:16:  [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 ((filter.access((*i)->port) & port_filter::blocked) == 0)
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:1218:55:  [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.
		std::uint32_t peer_class_mask = m_peer_class_filter.access(a);
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:2575:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (e == boost::system::errc::too_many_files_open)
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:2824:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			&& (m_ip_filter->access(endp.address()) & ip_filter::blocked))
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:5049:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec.assign(boost::system::errc::not_supported, generic_category());
data/libtorrent-rasterbar-1.2.9/src/socks5_stream.cpp:42:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_code make_error_code(socks_error_code e)
data/libtorrent-rasterbar-1.2.9/src/socks5_stream.cpp:46:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct socks_error_category final : boost::system::error_category
data/libtorrent-rasterbar-1.2.9/src/socks5_stream.cpp:69:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		boost::system::error_condition default_error_condition(
data/libtorrent-rasterbar-1.2.9/src/socks5_stream.cpp:74:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_category& socks_category()
data/libtorrent-rasterbar-1.2.9/src/stack_allocator.cpp:74:25:  [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.
			int const ret = std::vsnprintf(m_storage.data() + pos, static_cast<std::size_t>(len) + 1, fmt, args);
data/libtorrent-rasterbar-1.2.9/src/stat_cache.cpp:87:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec.assign(boost::system::errc::no_such_file_or_directory, boost::system::system_category());
data/libtorrent-rasterbar-1.2.9/src/stat_cache.cpp:87:69:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec.assign(boost::system::errc::no_such_file_or_directory, boost::system::system_category());
data/libtorrent-rasterbar-1.2.9/src/storage.cpp:293:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (err && err != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage.cpp:306:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				&& err == boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage.cpp:391:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if (ec && ec.ec == boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage.cpp:439:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (ec.ec == boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage.cpp:667:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			&& ec.ec == boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp:219:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (err != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp:228:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					if (err != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp:243:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (err == boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp:292:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (e == boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp:295:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				&& e != boost::system::errc::invalid_argument
data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp:296:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				&& e != boost::system::errc::permission_denied)
data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp:399:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if (ec == boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp:455:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (error && error != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp:473:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (error != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp:525:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				if (!err || err == boost::system::errc::file_exists)
data/libtorrent-rasterbar-1.2.9/src/storage_utils.cpp:615:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				if (ec && ec.ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:874:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec.assign(boost::system::errc::operation_canceled, generic_category());
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:911:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				get_handle(), piece, error_code(boost::system::errc::not_enough_memory, generic_category()));
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:1191:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if (error.ec == boost::system::errc::not_enough_memory)
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:1213:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			&& (error.ec == boost::system::errc::read_only_file_system
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:1214:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			|| error.ec == boost::system::errc::permission_denied
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:1215:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			|| error.ec == boost::system::errc::operation_not_permitted
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:1216:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			|| error.ec == boost::system::errc::no_space_on_device
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:1217:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			|| error.ec == boost::system::errc::file_too_large))
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:2486:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (error.ec == boost::system::errc::no_such_file_or_directory
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:3665:35:  [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 (m_ip_filter && m_ip_filter->access(host.address()) & ip_filter::blocked)
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:4738:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					get_handle(), piece, error_code(boost::system::errc::operation_canceled, generic_category()));
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:4873:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					get_handle(), piece, error_code(boost::system::errc::operation_canceled, generic_category()));
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:4889:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					get_handle(), i->piece, error_code(boost::system::errc::operation_canceled, generic_category()));
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:4907:49:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
						get_handle(), i->piece, error_code(boost::system::errc::operation_canceled, generic_category()));
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:5892:31:  [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 (m_ses.get_port_filter().access(std::uint16_t(port)) & port_filter::blocked)
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:6021:35:  [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 (m_ip_filter && m_ip_filter->access(a.address()) & ip_filter::blocked)
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:6108:35:  [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 (m_ip_filter && m_ip_filter->access(a.address()) & ip_filter::blocked)
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:6700:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			|| (m_ip_filter->access(peerinfo->address()) & ip_filter::blocked) == 0);
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:7026:20:  [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.
			&& m_ip_filter->access(p->remote().address()) & ip_filter::blocked)
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:10238:20:  [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.
			&& m_ip_filter->access(adr.address()) & ip_filter::blocked)
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:10250:31:  [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 (m_ses.get_port_filter().access(adr.port()) & port_filter::blocked)
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:11128:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					if (ec == boost::system::errc::address_family_not_supported
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:11129:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
						|| ec == boost::system::errc::host_unreachable)
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:268:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		ec = error_code(boost::system::errc::bad_file_descriptor, generic_category());
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:287:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec = error_code(boost::system::errc::permission_denied, generic_category());
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:306:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		ec = error_code(boost::system::errc::bad_file_descriptor, generic_category());
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:325:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec = error_code(boost::system::errc::permission_denied, generic_category());
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:564:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					, error_code(boost::system::errc::host_unreachable, generic_category()));
data/libtorrent-rasterbar-1.2.9/src/udp_tracker_connection.cpp:220:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			fail(error_code(boost::system::errc::host_unreachable, generic_category()));
data/libtorrent-rasterbar-1.2.9/src/udp_tracker_connection.cpp:229:31:  [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 (tracker_req().filter->access(k->address()) == ip_filter::blocked)
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:76:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_code make_error_code(error_code_enum e)
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:218:7:  [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.
	std::vsnprintf(msg, sizeof(msg), fmt, v);
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:1206:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
struct upnp_error_category final : boost::system::error_category
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:1230:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	boost::system::error_condition default_error_condition(
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:1237:8:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
boost::system::error_category& upnp_category()
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:86:2:  [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(log_file_holder.utp_log_file, fmt, l);
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:117:34:  [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.
#define UTP_LOGV TORRENT_WHILE_0 printf
data/libtorrent-rasterbar-1.2.9/src/web_peer_connection.cpp:203:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (op == operation_t::sock_write && ec == boost::system::errc::broken_pipe)
data/libtorrent-rasterbar-1.2.9/test/bittorrent_peer.cpp:260:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	std::snprintf(tmp, sizeof(tmp), fmt, ec.message().c_str());
data/libtorrent-rasterbar-1.2.9/test/main.cpp:126: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(stack_text, __FUNCTION__);
data/libtorrent-rasterbar-1.2.9/test/main.cpp:179: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(stack_text, __FUNCTION__);
data/libtorrent-rasterbar-1.2.9/test/main.cpp:217: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(stack_text, __FUNCTION__);
data/libtorrent-rasterbar-1.2.9/test/main.cpp:519:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		catch (boost::system::system_error const& e)
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:256:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		ec.assign(errno, boost::system::system_category());
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:263:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		ec.assign(errno, boost::system::system_category());
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:270:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		ec.assign(errno, boost::system::system_category());
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:284:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		ec.assign(errno, boost::system::system_category());
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:299:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		ec.assign(errno, boost::system::system_category());
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:572:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if (ec == boost::system::errc::connection_refused)
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:545:8:  [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.
		std::vsnprintf(buf, sizeof(buf), fmt, v);
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:649:17:  [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.
	cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:665:18:  [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.
		cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:668:19:  [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.
			cursor += std::snprintf(BUFFER_CURSOR_POS, "#");
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:670:19:  [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.
			cursor += std::snprintf(BUFFER_CURSOR_POS, "-");
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:671:18:  [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.
		cursor += std::snprintf(BUFFER_CURSOR_POS, "\n");
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:678:17:  [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.
	cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:685:18:  [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.
		cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:708:19:  [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.
			cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:713:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
				cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:718:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
				cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:722:19:  [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.
			cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:730:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
				cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:735:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
				cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:739:19:  [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.
			cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:745:17:  [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.
	cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:768:18:  [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.
		cursor += std::snprintf(BUFFER_CURSOR_POS, "%2d: [", bucket_index);
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:772:19:  [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.
			cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:775:18:  [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.
		cursor += std::snprintf(BUFFER_CURSOR_POS
data/libtorrent-rasterbar-1.2.9/test/test_dos_blocker.cpp:55:8:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		std::vprintf(fmt, v);
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:71:7:  [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.
	std::vsnprintf(buf, sizeof(buf), fmt, v);
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:494:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(ec, boost::system::errc::no_such_file_or_directory);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:83:16:  [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.
		TEST_EQUAL(f.access(i->last), i->flags);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:84:16:  [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.
		TEST_EQUAL(f.access(j->first), j->flags);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:246:16:  [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.
	TEST_CHECK(pf.access(0) == 0);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:247:16:  [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.
	TEST_CHECK(pf.access(65535) == 0);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:248:16:  [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.
	TEST_CHECK(pf.access(6881) == 0);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:253:16:  [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.
	TEST_CHECK(pf.access(0) == 0);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:254:16:  [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.
	TEST_CHECK(pf.access(99) == 0);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:255:16:  [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.
	TEST_CHECK(pf.access(100) == port_filter::blocked);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:256:16:  [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.
	TEST_CHECK(pf.access(150) == port_filter::blocked);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:257:16:  [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.
	TEST_CHECK(pf.access(300) == port_filter::blocked);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:258:16:  [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.
	TEST_CHECK(pf.access(301) == 0);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:259:16:  [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.
	TEST_CHECK(pf.access(6881) == 0);
data/libtorrent-rasterbar-1.2.9/test/test_ip_filter.cpp:260:16:  [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.
	TEST_CHECK(pf.access(65535) == 0);
data/libtorrent-rasterbar-1.2.9/test/test_magnet.cpp:215:25:  [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.
#define CMP_SET(x) std::printf(#x ": %d %d\n"\
data/libtorrent-rasterbar-1.2.9/test/test_peer_list.cpp:88:8:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		std::vprintf(fmt, v);
data/libtorrent-rasterbar-1.2.9/test/test_primitives.cpp:88:14:  [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.
TORRENT_TEST(snprintf)
data/libtorrent-rasterbar-1.2.9/test/test_primitives.cpp:187:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_CHECK(ec == boost::system::errc::no_such_file_or_directory);
data/libtorrent-rasterbar-1.2.9/test/test_stat_cache.cpp:57:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	sc.set_error(file_index_t(3), error_code(boost::system::errc::permission_denied, generic_category()));
data/libtorrent-rasterbar-1.2.9/test/test_stat_cache.cpp:60:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(ec, error_code(boost::system::errc::permission_denied, generic_category()));
data/libtorrent-rasterbar-1.2.9/test/test_stat_cache.cpp:62:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	sc.set_error(file_index_t(3), error_code(boost::system::errc::no_such_file_or_directory, generic_category()));
data/libtorrent-rasterbar-1.2.9/test/test_stat_cache.cpp:65:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(ec, error_code(boost::system::errc::no_such_file_or_directory, generic_category()));
data/libtorrent-rasterbar-1.2.9/test/test_stat_cache.cpp:72:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	sc.set_error(file_index_t(11), error_code(boost::system::errc::broken_pipe, generic_category()));
data/libtorrent-rasterbar-1.2.9/test/test_stat_cache.cpp:75:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(ec, error_code(boost::system::errc::broken_pipe, generic_category()));
data/libtorrent-rasterbar-1.2.9/test/test_stat_cache.cpp:78:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	sc.set_error(file_index_t(13), error_code(boost::system::errc::no_such_file_or_directory, generic_category()));
data/libtorrent-rasterbar-1.2.9/test/test_stat_cache.cpp:80:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(ec, error_code(boost::system::errc::no_such_file_or_directory, generic_category()));
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:206:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:210:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:315:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:389:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:432:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		ec.ec = make_error_code(boost::system::errc::permission_denied);
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:452:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:549:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:603:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:630:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:644:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:670:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:767:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:876:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:972:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1228:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec.ec.assign(boost::system::errc::permission_denied
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1229:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				, boost::system::generic_category());
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1365:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(ec.ec, boost::system::errc::permission_denied);
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1398:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (ec && ec != boost::system::errc::no_such_file_or_directory)
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1431:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(se.ec, boost::system::errc::success);
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1458:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(se.ec, boost::system::errc::success);
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1505:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(ec, boost::system::errc::success);
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1510:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(ec, boost::system::errc::success);
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1514:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(ec, boost::system::errc::success);
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1517:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	TEST_EQUAL(se.ec, boost::system::errc::success);
data/libtorrent-rasterbar-1.2.9/test/test_transfer.cpp:101:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			ec = error_code(boost::system::errc::no_space_on_device, generic_category());
data/libtorrent-rasterbar-1.2.9/test/test_upnp.cpp:105:23:  [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 len = std::snprintf(buf, sizeof(buf), msg, g_port);
data/libtorrent-rasterbar-1.2.9/test/test_upnp.cpp:217:7:  [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.
	std::fprintf(xml_file, &buf[0], g_port);
data/libtorrent-rasterbar-1.2.9/bindings/python/src/error_code.cpp:79:3:  [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.
		setstate(error_code& ec, boost::python::tuple state)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/random.hpp:64:37:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	TORRENT_EXTRA_EXPORT std::uint32_t random(std::uint32_t m);
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:497:28:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		int const pad_size = int(random(512));
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:536:28:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		int const pad_size = int(random(512));
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:615:28:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		int const pad_size = int(random(512));
data/libtorrent-rasterbar-1.2.9/src/ip_voter.cpp:126:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				if (random(1)) return maybe_rotate();
data/libtorrent-rasterbar-1.2.9/src/kademlia/dht_storage.cpp:272:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
					if (random(std::uint32_t(candidates--)) > std::uint32_t(to_pick))
data/libtorrent-rasterbar-1.2.9/src/kademlia/dht_storage.cpp:602:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				if (random(std::uint32_t(candidates--)) > std::uint32_t(to_pick))
data/libtorrent-rasterbar-1.2.9/src/kademlia/node.cpp:129:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	m_secret[0] = random(0xffffffff);
data/libtorrent-rasterbar-1.2.9/src/kademlia/node.cpp:130:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	m_secret[1] = random(0xffffffff);
data/libtorrent-rasterbar-1.2.9/src/kademlia/node.cpp:250:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	m_secret[0] = random(0xffffffff);
data/libtorrent-rasterbar-1.2.9/src/kademlia/node_id.cpp:129:31:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	id[2] = (((c >> 8) & 0xf8) | random(0x7)) & 0xff;
data/libtorrent-rasterbar-1.2.9/src/kademlia/node_id.cpp:131:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	for (int i = 3; i < 19; ++i) id[i] = random(0xff) & 0xff;
data/libtorrent-rasterbar-1.2.9/src/kademlia/node_id.cpp:141:28:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	if (secret == 0) secret = random(0xfffffffe) + 1;
data/libtorrent-rasterbar-1.2.9/src/kademlia/node_id.cpp:143:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	std::uint32_t const rand = random(0xffffffff);
data/libtorrent-rasterbar-1.2.9/src/kademlia/node_id.cpp:192:30:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	return generate_id_impl(ip, random(0xffffffff));
data/libtorrent-rasterbar-1.2.9/src/kademlia/rpc_manager.cpp:467:42:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	std::uint16_t const tid = std::uint16_t(random(0x7fff));
data/libtorrent-rasterbar-1.2.9/src/lsd.cpp:79:14:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	, m_cookie((random(0x7fffffff) ^ std::uintptr_t(this)) & 0x7fffffff)
data/libtorrent-rasterbar-1.2.9/src/peer_list.cpp:324:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		int round_robin = aux::numeric_cast<int>(random(std::uint32_t(m_peers.size() - 1)));
data/libtorrent-rasterbar-1.2.9/src/peer_list.cpp:657:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
						|| ((our_port == other_port) && random(1));
data/libtorrent-rasterbar-1.2.9/src/piece_picker.cpp:814:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				int(random(aux::numeric_cast<std::uint32_t>(static_cast<int>(range.second - range.first))))
data/libtorrent-rasterbar-1.2.9/src/piece_picker.cpp:1034:8:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			int(random(aux::numeric_cast<std::uint32_t>(static_cast<int>(range.second - range.first) - 1)))
data/libtorrent-rasterbar-1.2.9/src/piece_picker.cpp:2256:56:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			piece_index_t const start_piece = piece_index_t(int(random(aux::numeric_cast<std::uint32_t>(m_piece_map.size() - 1))));
data/libtorrent-rasterbar-1.2.9/src/piece_picker.cpp:2430:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			int piece = int(random(aux::numeric_cast<std::uint32_t>(partials_size - 1)));
data/libtorrent-rasterbar-1.2.9/src/piece_picker.cpp:2451:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				interesting_blocks.push_back(temp[random(std::uint32_t(temp.size()) - 1)]);
data/libtorrent-rasterbar-1.2.9/src/random.cpp:111:36:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			for (auto& b : buffer) b = char(random(0xff));
data/libtorrent-rasterbar-1.2.9/src/random.cpp:133:65:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			std::generate(buffer.begin(), buffer.end(), [] { return char(random(0xff)); });
data/libtorrent-rasterbar-1.2.9/src/random.cpp:138:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	std::uint32_t random(std::uint32_t const max)
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:1859:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				? int(random(63000) + 2000)
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:5042:27:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				match = with_gateways[random(std::uint32_t(with_gateways.size() - 1))];
data/libtorrent-rasterbar-1.2.9/src/sha1_hash.cpp:57:7:  [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.
			is.setstate(std::ios_base::failbit);
data/libtorrent-rasterbar-1.2.9/src/smart_ban.cpp:74:13:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			, m_salt(random(0xffffffff))
data/libtorrent-rasterbar-1.2.9/src/string_util.cpp:121:27:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			, []{ return printable[random(sizeof(printable) - 2)]; });
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:1743:60:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		std::snprintf(filename, sizeof(filename), "/tmp/%u.pem", random());
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:4612:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		return avail_vec[random(std::uint32_t(avail_vec.size() - 1))];
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:9526:24:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		int const pick = int(random(aux::numeric_cast<std::uint32_t>(rarest_pieces.end_index() - 1)));
data/libtorrent-rasterbar-1.2.9/src/udp_tracker_connection.cpp:424:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		std::uint32_t const new_tid = random(0xfffffffe) + 1;
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:1443:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		m.external_port = 40000 + int(random(10000));
data/libtorrent-rasterbar-1.2.9/src/ut_metadata.cpp:457:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			m_request_limit = now + seconds(20 + random(50));
data/libtorrent-rasterbar-1.2.9/src/utp_socket_manager.cpp:345:28:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			send_id = std::uint16_t(random(0xffff));
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:1283:27:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	m_seq_nr = std::uint16_t(random(0xffff));
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:1403:27:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	h.seq_nr = std::uint16_t(random(0xffff));
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:3056:30:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				m_seq_nr = std::uint16_t(random(0xffff));
data/libtorrent-rasterbar-1.2.9/test/bittorrent_peer.cpp:403:61:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			else pieces.insert(pieces.begin() + static_cast<int>(lt::random(static_cast<std::uint32_t>(pieces.size()))), piece);
data/libtorrent-rasterbar-1.2.9/test/main.cpp:414:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		, executable, unit_dir_prefix.c_str(), lt::random(0xffffffff));
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:143:57:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		bytes[static_cast<std::size_t>(i)] = std::uint8_t(lt::random(0xff));
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:623:42:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	int port = 10000 + static_cast<int>(lt::random(50000));
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:1032:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	int port = 2000 + static_cast<int>(lt::random(6000));
data/libtorrent-rasterbar-1.2.9/test/swarm_suite.cpp:94:40:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	int const port = static_cast<int>(lt::random(100));
data/libtorrent-rasterbar-1.2.9/test/test_checking.cpp:100:7:  [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.
	std::srand(10);
data/libtorrent-rasterbar-1.2.9/test/test_dht_storage.cpp:275:54:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		s->announce_peer(n1, {rand_v4(), std::uint16_t(lt::random(0xffff))}
data/libtorrent-rasterbar-1.2.9/test/test_dht_storage.cpp:292:63:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		s->announce_peer(rand_hash(), {rand_v4(), std::uint16_t(lt::random(0xffff))}
data/libtorrent-rasterbar-1.2.9/test/test_pe_crypto.cpp:52:38:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		std::ptrdiff_t const buf_len = lt::random(512 * 1024);
data/libtorrent-rasterbar-1.2.9/test/test_privacy.cpp:103:43:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	static int listen_port = 10000 + int(lt::random(50000));
data/libtorrent-rasterbar-1.2.9/test/test_privacy.cpp:106:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	listen_port += lt::random(10) + 1;
data/libtorrent-rasterbar-1.2.9/test/test_read_piece.cpp:72:7:  [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.
	std::srand(10);
data/libtorrent-rasterbar-1.2.9/bindings/python/src/utility.cpp:56: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->arr[0], PyBytes_AsString(x), ret->arr.size());
data/libtorrent-rasterbar-1.2.9/bindings/python/src/utility.cpp:62: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->arr[0], PyString_AsString(x), ret->arr.size());
data/libtorrent-rasterbar-1.2.9/ed25519/src/add_scalar.cpp:14:20:  [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 unsigned char SC_1[32] = {1}; /* scalar with value 1 */
data/libtorrent-rasterbar-1.2.9/ed25519/src/add_scalar.cpp:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char n[32]; 
data/libtorrent-rasterbar-1.2.9/ed25519/src/fe.cpp:464:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char s[32];
data/libtorrent-rasterbar-1.2.9/ed25519/src/fe.cpp:482:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char s[32];
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:71: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.
    signed char aslide[256];
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:72: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.
    signed char bslide[256];
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:392: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.
    signed char e[64];
data/libtorrent-rasterbar-1.2.9/ed25519/src/key_exchange.cpp:12:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char e[32];
data/libtorrent-rasterbar-1.2.9/ed25519/src/keypair.cpp:15:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(private_key, hash.final().data(), 64);
data/libtorrent-rasterbar-1.2.9/ed25519/src/verify.cpp:54:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char checker[32];
data/libtorrent-rasterbar-1.2.9/ed25519/test.c:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char public_key[32], private_key[64], seed[32], scalar[32];
data/libtorrent-rasterbar-1.2.9/ed25519/test.c:17:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char other_public_key[32], other_private_key[64];
data/libtorrent-rasterbar-1.2.9/ed25519/test.c:18:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char shared_secret[32], other_shared_secret[32];
data/libtorrent-rasterbar-1.2.9/ed25519/test.c:19:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char signature[64];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:287:2:  [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[200];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:327:2:  [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[500];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:351:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char temp[10];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:357: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 peer_progress[10];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:419:4:  [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 req_timeout[20] = "-";
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:442: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[50];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:797: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.
	static char str[200];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:872:4:  [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[256];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:887:4:  [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[256];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:894: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 msg[256];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:951:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					int peer_port = atoi(port);
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1033:2:  [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[1024];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1284:32:  [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).
			case 'f': g_log_file = std::fopen(arg, "w+"); break;
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1294:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 'U': torrent_upload_limit = atoi(arg) * 1000; break;
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1295:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 'D': torrent_download_limit = atoi(arg) * 1000; break;
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1298:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 't': poll_interval = atoi(arg); break;
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1299:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 'F': refresh_delay = lt::milliseconds(atoi(arg)); break;
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1326:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 'T': max_connections_per_torrent = atoi(arg); break;
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1337:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					loop_limit = atoi(arg);
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1542:6:  [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 url[4096];
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1766:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char str[500];
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:177:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			s.open(endpoint.protocol(), ec);
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:200:2:  [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 write_buf_proto[100];
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:249: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(h, handshake, sizeof(handshake));
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:250:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(h + 28, info_hash, 20);
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:382: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(m, msg, sizeof(msg));
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:416:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp[1024];
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:424: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 ep_str[200];
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:795: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 b[100];
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:932:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 's': size = atoi(optarg); break;
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:933:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 'n': num_files = atoi(optarg); break;
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:934:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 'N': num_torrents = atoi(optarg); break;
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:938:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 'c': num_connections = atoi(optarg); break;
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:939:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 'p': destination_port = atoi(optarg); break;
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:941:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 'r': churn = atoi(optarg); break;
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:958: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).
			if( (output = std::fopen(torrent_file, "wb+")) == nullptr)
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:989:4:  [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 torrent_name[100];
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:995: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 file_name[100];
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:1013:19:  [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* f = std::fopen(torrent_name, "w+");
data/libtorrent-rasterbar-1.2.9/examples/custom_storage.cpp:60:4:  [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(b.data(), data.data(), to_copy);
data/libtorrent-rasterbar-1.2.9/examples/custom_storage.cpp:74: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.
			std::memcpy(data.data() + offset, b.data(), b.size());
data/libtorrent-rasterbar-1.2.9/examples/dump_torrent.cpp:50:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	in.open(filename.c_str(), std::ios_base::in | std::ios_base::binary);
data/libtorrent-rasterbar-1.2.9/examples/dump_torrent.cpp:68:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (argc > 2) cfg.max_decode_tokens = atoi(argv[2]);
data/libtorrent-rasterbar-1.2.9/examples/dump_torrent.cpp:69:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (argc > 3) cfg.max_decode_depth = atoi(argv[3]);
data/libtorrent-rasterbar-1.2.9/examples/dump_torrent.cpp:70:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (argc > 4) cfg.max_pieces = atoi(argv[4]);
data/libtorrent-rasterbar-1.2.9/examples/make_torrent.cpp:55:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	in.open(filename.c_str(), std::ios_base::in | std::ios_base::binary);
data/libtorrent-rasterbar-1.2.9/examples/make_torrent.cpp:215:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			case 's': piece_size = atoi(args[1]); break;
data/libtorrent-rasterbar-1.2.9/examples/make_torrent.cpp:222:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				pad_file_limit = atoi(args[1]);
data/libtorrent-rasterbar-1.2.9/examples/make_torrent.cpp:261: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 cwd[2048];
data/libtorrent-rasterbar-1.2.9/examples/make_torrent.cpp:328:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		out.open(outfile.c_str(), std::ios_base::out | std::ios_base::binary);
data/libtorrent-rasterbar-1.2.9/examples/make_torrent.cpp:338:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		merkle.open(merklefile.c_str(), std::ios_base::out | std::ios_base::binary);
data/libtorrent-rasterbar-1.2.9/examples/print.cpp:29: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.
	static char buf[num_strings][20];
data/libtorrent-rasterbar-1.2.9/examples/print.cpp:46:2:  [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[100];
data/libtorrent-rasterbar-1.2.9/examples/print.cpp:69:2:  [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 ret[100];
data/libtorrent-rasterbar-1.2.9/examples/print.cpp:79:2:  [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[1024];
data/libtorrent-rasterbar-1.2.9/examples/print.cpp:95: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 code[10];
data/libtorrent-rasterbar-1.2.9/examples/print.cpp:117:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char str[256];
data/libtorrent-rasterbar-1.2.9/examples/print.cpp:188:6:  [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[40];
data/libtorrent-rasterbar-1.2.9/examples/print.cpp:355:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int tty = open("/dev/tty", O_RDONLY);
data/libtorrent-rasterbar-1.2.9/examples/print.cpp:515:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			int code = atoi(start);
data/libtorrent-rasterbar-1.2.9/examples/session_view.cpp:73:2:  [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[1024];
data/libtorrent-rasterbar-1.2.9/examples/torrent_view.cpp:69:2:  [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/libtorrent-rasterbar-1.2.9/examples/torrent_view.cpp:376:2:  [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 queue_pos[16] = {0};
data/libtorrent-rasterbar-1.2.9/examples/upnp_test.cpp:42: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.
	static char str[200];
data/libtorrent-rasterbar-1.2.9/include/libtorrent/alert_types.hpp:1492:4:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			open TORRENT_DEPRECATED_ENUM,
data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/aligned_storage.hpp:48: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.
		alignas(Align) char buffer[Len];
data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/aligned_union.hpp:59:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buffer[max(Len, max(sizeof(Types)...))];
data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/cppint_import_export.hpp:138:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            std::memcpy(result.limbs(), i, (std::min)(byte_len, result.size() * sizeof(limb_type)));
data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/cppint_import_export.hpp:154:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            std::memcpy(result.limbs(), i, (std::min)(byte_len, result.size() * sizeof(result.limbs()[0])));
data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/dev_random.hpp:48:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			: m_fd(open("/dev/random", O_RDONLY))
data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/socket_type.hpp:200: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(protocol_type const& p);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/socket_type.hpp:208: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(protocol_type const& p, error_code& ec);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/bencode.hpp:83:4:  [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[21];
data/libtorrent-rasterbar-1.2.9/include/libtorrent/bencode.hpp:327:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					int len = atoi(len_s.c_str());
data/libtorrent-rasterbar-1.2.9/include/libtorrent/bitfield.hpp:74:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				std::memcpy(buf(), b, std::size_t((bits + 7) / 8));
data/libtorrent-rasterbar-1.2.9/include/libtorrent/bloom_filter.hpp:60:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		{ std::memcpy(bits, str, N); }
data/libtorrent-rasterbar-1.2.9/include/libtorrent/broadcast_socket.hpp:85: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(receive_handler_t handler, io_service& ios
data/libtorrent-rasterbar-1.2.9/include/libtorrent/bt_peer_connection.hpp:279:4:  [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[5 + sizeof...(Args) * 4]
data/libtorrent-rasterbar-1.2.9/include/libtorrent/debug.hpp:102:4:  [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 stack_text[10000];
data/libtorrent-rasterbar-1.2.9/include/libtorrent/enum_net.hpp:95:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[64]{};
data/libtorrent-rasterbar-1.2.9/include/libtorrent/enum_net.hpp:96: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 friendly_name[128]{};
data/libtorrent-rasterbar-1.2.9/include/libtorrent/enum_net.hpp:97: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 description[128]{};
data/libtorrent-rasterbar-1.2.9/include/libtorrent/enum_net.hpp:112:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[64]{};
data/libtorrent-rasterbar-1.2.9/include/libtorrent/file.hpp:175: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).
		bool open(std::string const& p, open_mode_t m, error_code& ec);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/fingerprint.hpp:94:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[2];
data/libtorrent-rasterbar-1.2.9/include/libtorrent/i2p_stream.hpp:180:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void open(std::string const& hostname, int port, i2p_stream::handler_type h);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/io.hpp:175: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.
			std::memcpy(reinterpret_cast<void*>(start), str.c_str(), str.size());
data/libtorrent-rasterbar-1.2.9/include/libtorrent/natpmp.hpp:179:2:  [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 m_response_buffer[1100];
data/libtorrent-rasterbar-1.2.9/include/libtorrent/proxy_base.hpp:193:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void open(protocol_type const&)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/proxy_base.hpp:199:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void open(protocol_type const&, error_code&)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/session.hpp:309:4:  [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 if_string[100];
data/libtorrent-rasterbar-1.2.9/include/libtorrent/sha1_hash.hpp:117: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.
			else std::memcpy(m_number.data(), s, size());
data/libtorrent-rasterbar-1.2.9/include/libtorrent/sha1_hash.hpp:134: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.
			std::memcpy(m_number.data(), s.data(), static_cast<std::size_t>(sl));
data/libtorrent-rasterbar-1.2.9/include/libtorrent/sha1_hash.hpp:136:48:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		void assign(char const* str) noexcept { std::memcpy(m_number.data(), str, size()); }
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ssl_stream.hpp:228:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void open(protocol_type const& p)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ssl_stream.hpp:230:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		m_sock.next_layer().open(p);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ssl_stream.hpp:234:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void open(protocol_type const& p, error_code& ec)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/ssl_stream.hpp:236:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		m_sock.next_layer().open(p, ec);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/udp_socket.hpp:95: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(udp const& protocol, error_code& ec);
data/libtorrent-rasterbar-1.2.9/include/libtorrent/utp_stream.hpp:98:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char m_storage[sizeof(T)];
data/libtorrent-rasterbar-1.2.9/include/libtorrent/utp_stream.hpp:375:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void open(Protocol const&, error_code&)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/utp_stream.hpp:379:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void open(Protocol const&)
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:194: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:219: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:244: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:264: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:349: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 ret[400];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:391: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 ret[400];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:445: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 ret[400];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:460: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 ret[400];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:493: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 ret[400];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:545: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 ret[400];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:577: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 ret[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:595: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 ret[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:613: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 ret[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:631: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 ret[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:652: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 ret[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:670: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 ret[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:876: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).
			case o::sock_open: return lfo::open;
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:998: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 ret[300];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1091:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char ret[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1131: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 ret[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1156: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 ret[1024];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1201: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 ret[600];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1229: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1242: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1284: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1321: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1339: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1390: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 msg[400];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1453: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 msg[600];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1467: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 msg[600];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1482: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 msg[600];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1483: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 info_hash[41];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1512: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 msg[600];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1524: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 msg[600];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1607:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1625: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1650:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[600];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1673: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 msg[600];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1688: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 msg[1050];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1709: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 msg[1050];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1744: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 msg[1050];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1768: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 msg[600];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1787: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 msg[600];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1788: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 obf[70];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1934: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 msg[50];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:1968:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[2048];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2050: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 msg[1024];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2080: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 ret[900];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2116:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char const* const prefix[2] = {"<==", "==>"};
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2117:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[1024];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2154: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2215: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 msg[1050];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2253:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(ret.data(), start, num_blocks * sizeof(piece_block));
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2315:4:  [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[50];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2332:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[400];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2400: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.
			std::memcpy(ih.data(), v4_ptr, 20);
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2408: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.
			std::memcpy(ih.data(), v6_ptr, 20);
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2429: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2483:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(ptr, samples.data(), samples.size() * 20);
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2491: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 msg[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2509:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(samples.data(), ptr, samples.size() * 20);
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2538: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 ret[200];
data/libtorrent-rasterbar-1.2.9/src/alert.cpp:2630:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[512];
data/libtorrent-rasterbar-1.2.9/src/assert.cpp:114:2:  [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 demangled_name[256];
data/libtorrent-rasterbar-1.2.9/src/assert.cpp:218:3:  [2] (buffer) wchar_t:
  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.
		wchar_t name[MAX_SYM_NAME];
data/libtorrent-rasterbar-1.2.9/src/assert.cpp:307: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).
	FILE* out = fopen(libtorrent_assert_log, "a+");
data/libtorrent-rasterbar-1.2.9/src/assert.cpp:337:2:  [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 stack[8192];
data/libtorrent-rasterbar-1.2.9/src/bdecode.cpp:135: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[5];
data/libtorrent-rasterbar-1.2.9/src/bdecode.cpp:1083: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 indent_str[200];
data/libtorrent-rasterbar-1.2.9/src/bdecode.cpp:1096: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[100];
data/libtorrent-rasterbar-1.2.9/src/bitfield.cpp:178:20:  [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 (m_buf) std::memcpy(&b[1], buf()
data/libtorrent-rasterbar-1.2.9/src/block_cache.cpp:168:2:  [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[4096];
data/libtorrent-rasterbar-1.2.9/src/block_cache.cpp:1702:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(boost::get<disk_buffer_holder>(j->argument).get()
data/libtorrent-rasterbar-1.2.9/src/broadcast_socket.cpp:149: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).
		test.open(tcp::v6(), ec);
data/libtorrent-rasterbar-1.2.9/src/broadcast_socket.cpp:171: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).
	void broadcast_socket::open(receive_handler_t handler
data/libtorrent-rasterbar-1.2.9/src/broadcast_socket.cpp:204:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		s->open(addr.is_v4() ? udp::v4() : udp::v6(), ec);
data/libtorrent-rasterbar-1.2.9/src/broadcast_socket.cpp:229:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		s->open(addr.is_v4() ? udp::v4() : udp::v6(), ec);
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:503: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 msg[dh_key_len + 512];
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:508:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(ptr, local_key.data(), dh_key_len);
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:539: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 msg[20 + 20 + 8 + 4 + 2 + 512 + 2];
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:542:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char const req1[4] = {'r', 'e', 'q', '1'};
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:549:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(ptr, sync_hash.data(), 20);
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:561:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char const req2[4] = {'r', 'e', 'q', '2'};
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:568:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char const req3[4] = {'r', 'e', 'q', '3'};
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:574:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(ptr, obfsc_hash.data(), 20);
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:618: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 msg[512 + 8 + 4 + 2];
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:690: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 handshake[1 + string_len + 8 + 20 + 20];
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:695:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(ptr, version_string, string_len);
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:737:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(ptr, ih.data(), ih.size());
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:740:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(ptr, m_our_peer_id.data(), 20);
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:1519:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[35];
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:1919: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 msg[7] = {0, 0, 0, 3, msg_extended};
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:1936: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 msg[7] = {0, 0, 0, 3, msg_extended};
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:2209: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 msg[6];
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:2322: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 msg[4 + 1 + 4 + 4 + 4];
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:2547: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 const req1[4] = {'r', 'e', 'q', '1'};
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:3099: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.
			std::memcpy(m_reserved_bits.data(), recv_buffer.data(), 8);
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:3176: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 hex_pid[41];
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:3179: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 ascii_pid[21];
data/libtorrent-rasterbar-1.2.9/src/create_torrent.cpp:78:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[MAX_SYMLINK_PATH];
data/libtorrent-rasterbar-1.2.9/src/disk_io_thread.cpp:113: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 usr[2048];
data/libtorrent-rasterbar-1.2.9/src/disk_io_thread.cpp:124:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[2300];
data/libtorrent-rasterbar-1.2.9/src/disk_io_thread.cpp:1735:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(buffer.get(), buf, aux::numeric_cast<std::size_t>(r.length));
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:163: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.
		if (len > 0) std::memcpy(b.data(), ina, std::min(std::size_t(len), b.size()));
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:170: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.
		if (len > 0) std::memcpy(b.data(), ina6, std::min(std::size_t(len), b.size()));
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:313:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[64];
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:336:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				case IFLA_MTU: memcpy(&ret.mtu, ptr, sizeof(int)); break;
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:337: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.
				case IFLA_LINK: memcpy(&ret.type, ptr, sizeof(int)); break;
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:338:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				case IFLA_OPERSTATE: memcpy(&ret.oper_state, ptr, sizeof(int)); break;
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:419:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(rt_info->name, req.ifr_name, sizeof(req.ifr_name));
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:649:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			std::strcpy(wan.name, "eth0");
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:650:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			std::strcpy(wan.friendly_name, "Ethernet");
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:651:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			std::strcpy(wan.description, "Simulator Ethernet Adapter");
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:1038:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			std::strcpy(r.name, "eth0");
data/libtorrent-rasterbar-1.2.9/src/escape_string.cpp:480:15:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
		int wsize = MultiByteToWideChar(CP_UTF8, 0, s.c_str(), -1, &ws[0], int(ws.size()));
data/libtorrent-rasterbar-1.2.9/src/escape_string.cpp:569:15:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
		int wsize = MultiByteToWideChar(from, 0, s.c_str(), -1, &ws[0], int(ws.size()));
data/libtorrent-rasterbar-1.2.9/src/escape_string.cpp:612:4:  [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[10];
data/libtorrent-rasterbar-1.2.9/src/file.cpp:496:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		open(path, mode, ec);
data/libtorrent-rasterbar-1.2.9/src/file.cpp:504: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).
	bool file::open(std::string const& path, open_mode_t mode, error_code& ec)
data/libtorrent-rasterbar-1.2.9/src/file.cpp:607: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).
		handle_type handle = ::open(file_path.c_str()
data/libtorrent-rasterbar-1.2.9/src/file.cpp:619: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).
			handle = ::open(file_path.c_str()
data/libtorrent-rasterbar-1.2.9/src/file_pool.cpp:134:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				if (!new_file->open(full_path, m, ec))
data/libtorrent-rasterbar-1.2.9/src/file_pool.cpp:157:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (!e.file_ptr->open(full_path, m, ec))
data/libtorrent-rasterbar-1.2.9/src/file_storage.cpp:1132:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[15];
data/libtorrent-rasterbar-1.2.9/src/http_connection.cpp:326:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			m_sock.open(m_bind_addr->is_v4() ? tcp::v4() : tcp::v6(), ec);
data/libtorrent-rasterbar-1.2.9/src/http_parser.cpp:149:25:  [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).
		auto const val = std::atol(i->second.c_str());
data/libtorrent-rasterbar-1.2.9/src/http_parser.cpp:212:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				m_status_code = atoi(read_until(line, ' ', line_end).c_str());
data/libtorrent-rasterbar-1.2.9/src/http_seed_connection.cpp:334:23:  [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).
				m_response_left = atol(m_parser.header("content-length").c_str());
data/libtorrent-rasterbar-1.2.9/src/http_seed_connection.cpp:417:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				int retry_time = std::atoi(std::string(recv_buffer.begin(), recv_buffer.end()).c_str());
data/libtorrent-rasterbar-1.2.9/src/http_stream.cpp:125:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			int const code = std::atoi(status);
data/libtorrent-rasterbar-1.2.9/src/http_tracker_connection.cpp:108:4:  [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[1024];
data/libtorrent-rasterbar-1.2.9/src/i2p_stream.cpp:118:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void i2p_connection::open(std::string const& s, int port
data/libtorrent-rasterbar-1.2.9/src/i2p_stream.cpp:134:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp[20];
data/libtorrent-rasterbar-1.2.9/src/i2p_stream.cpp:456: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 cmd[1024];
data/libtorrent-rasterbar-1.2.9/src/i2p_stream.cpp:468: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 cmd[400];
data/libtorrent-rasterbar-1.2.9/src/i2p_stream.cpp:479: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 cmd[400];
data/libtorrent-rasterbar-1.2.9/src/i2p_stream.cpp:491: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 cmd[1024];
data/libtorrent-rasterbar-1.2.9/src/identify_client.cpp:119: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 ids[21];
data/libtorrent-rasterbar-1.2.9/src/identify_client.cpp:297: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 identity[200];
data/libtorrent-rasterbar-1.2.9/src/identify_client.cpp:313:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char temp[3];
data/libtorrent-rasterbar-1.2.9/src/identify_client.cpp:323: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.
			std::memcpy(temp, f.name, 2);
data/libtorrent-rasterbar-1.2.9/src/kademlia/get_item.cpp:191:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(pk.bytes.data(), k.string_ptr(), public_key::len);
data/libtorrent-rasterbar-1.2.9/src/kademlia/get_item.cpp:195:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(sig.bytes.data(), s.string_ptr(), signature::len);
data/libtorrent-rasterbar-1.2.9/src/kademlia/item.cpp:104:2:  [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[1200];
data/libtorrent-rasterbar-1.2.9/src/kademlia/item.cpp:123:2:  [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[1200];
data/libtorrent-rasterbar-1.2.9/src/kademlia/node.cpp:505: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 hex_key[65];
data/libtorrent-rasterbar-1.2.9/src/kademlia/node.cpp:567: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 hex_key[65];
data/libtorrent-rasterbar-1.2.9/src/kademlia/node.cpp:802:2:  [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 error_string[200];
data/libtorrent-rasterbar-1.2.9/src/kademlia/node_id.cpp:150: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.
	std::memcpy(&in[20 - 4], &secret_hash[0], 4);
data/libtorrent-rasterbar-1.2.9/src/kademlia/node_id.cpp:151: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.
	std::memcpy(&in[20 - 8], &rand, 4);
data/libtorrent-rasterbar-1.2.9/src/kademlia/node_id.cpp:156:2:  [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 r[20];
data/libtorrent-rasterbar-1.2.9/src/kademlia/routing_table.cpp:469:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(&lhs_ip, lhs.to_v6().to_bytes().data(), 8);
data/libtorrent-rasterbar-1.2.9/src/kademlia/routing_table.cpp:471:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(&rhs_ip, rhs.to_v6().to_bytes().data(), 8);
data/libtorrent-rasterbar-1.2.9/src/kademlia/sample_infohashes.cpp:126:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(v.data(), samples.string_ptr(), v.size() * 20);
data/libtorrent-rasterbar-1.2.9/src/kademlia/traversal_algorithm.cpp:642: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 hex_id[41];
data/libtorrent-rasterbar-1.2.9/src/lazy_bdecode.cpp:604: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 indent_str[200];
data/libtorrent-rasterbar-1.2.9/src/lazy_bdecode.cpp:616: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[100];
data/libtorrent-rasterbar-1.2.9/src/lsd.cpp:96:2:  [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[1024];
data/libtorrent-rasterbar-1.2.9/src/lsd.cpp:113:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	m_socket.open(v4 ? udp::v4() : udp::v6(), ec);
data/libtorrent-rasterbar-1.2.9/src/lsd.cpp:153:2:  [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[200];
data/libtorrent-rasterbar-1.2.9/src/magnet_uri.cpp:282:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
						idx1 = std::atoi(token.substr(0, divider).to_string().c_str());
data/libtorrent-rasterbar-1.2.9/src/magnet_uri.cpp:285:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
						idx2 = std::atoi(token.substr(divider + 1).to_string().c_str());
data/libtorrent-rasterbar-1.2.9/src/magnet_uri.cpp:294:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
						idx1 = std::atoi(token.to_string().c_str());
data/libtorrent-rasterbar-1.2.9/src/magnet_uri.cpp:320: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).
					int const port = std::atoi(value.substr(divider + 1).to_string().c_str());
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:203:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	m_socket.open(local_address.is_v4() ? udp::v4() : udp::v6(), ec);
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:244:2:  [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[2];
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:299:2:  [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[200];
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:448:2:  [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[60];
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:624: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.
	std::memcpy(msg_buf.data(), m_response_buffer, bytes_transferred);
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:741:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(nonce.data(), in, nonce.size());
data/libtorrent-rasterbar-1.2.9/src/natpmp.cpp:768:2:  [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[200];
data/libtorrent-rasterbar-1.2.9/src/parse_url.cpp:124:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			port = std::atoi(std::string(port_pos, end).c_str());
data/libtorrent-rasterbar-1.2.9/src/path.cpp:415:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		int const infd = ::open(f1.c_str(), O_RDONLY);
data/libtorrent-rasterbar-1.2.9/src/path.cpp:428:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		int const outfd = ::open(f2.c_str(), O_WRONLY | O_CREAT, permissions);
data/libtorrent-rasterbar-1.2.9/src/path.cpp:435:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[4096];
data/libtorrent-rasterbar-1.2.9/src/pe_crypto.cpp:118:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char const req3[4] = {'r', 'e', 'q', '3'};
data/libtorrent-rasterbar-1.2.9/src/pe_crypto.cpp:291:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[1024];
data/libtorrent-rasterbar-1.2.9/src/pe_crypto.cpp:302:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[1024];
data/libtorrent-rasterbar-1.2.9/src/pe_crypto.cpp:370: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.
	std::memcpy(key.data(), s, key_size);
data/libtorrent-rasterbar-1.2.9/src/peer_connection.cpp:422: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).
		m_socket->open(m_remote.protocol(), ec);
data/libtorrent-rasterbar-1.2.9/src/read_resume_data.cpp:279: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.
			std::memcpy(ret.merkle_tree.data(), mt.string_ptr()
data/libtorrent-rasterbar-1.2.9/src/session_call.cpp:45:2:  [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 stack[2048];
data/libtorrent-rasterbar-1.2.9/src/session_call.cpp:55: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).
	FILE* out = fopen("blocking_calls.txt", "w+");
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:1435: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).
			ret->sock->open(bind_ep.protocol(), ec);
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:1632:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		ret->udp_sock->sock.open(udp_bind_ep.protocol(), ec);
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:2156:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		m_i2p_conn.open(m_settings.get_str(settings_pack::i2p_hostname)
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:4369:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char const req2[4] = {'r', 'e', 'q', '2'};
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:5201:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char const req2[4] = {'r', 'e', 'q', '2'};
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:6174: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).
		FILE* f = fopen("wakeups.log", "w+");
data/libtorrent-rasterbar-1.2.9/src/sha1.cpp:89: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(block, buffer, 64);
data/libtorrent-rasterbar-1.2.9/src/sha1.cpp:155:4:  [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(&context->buffer[j], data, (i = 64-j));
data/libtorrent-rasterbar-1.2.9/src/sha1.cpp:167: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(&context->buffer[j], &data[i], len - i);
data/libtorrent-rasterbar-1.2.9/src/sha1_hash.cpp: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 hex[sha1_hash::size() * 2];
data/libtorrent-rasterbar-1.2.9/src/socket_io.cpp:70:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[200];
data/libtorrent-rasterbar-1.2.9/src/socket_io.cpp:144:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		int const port_num = std::atoi(port.to_string().c_str());
data/libtorrent-rasterbar-1.2.9/src/socket_type.cpp:350: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).
	void socket_type::open(protocol_type const& p, error_code& ec)
data/libtorrent-rasterbar-1.2.9/src/socket_type.cpp:351: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).
	{ TORRENT_SOCKTYPE_FORWARD(open(p, ec)) }
data/libtorrent-rasterbar-1.2.9/src/socket_type.cpp:404: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).
	void socket_type::open(protocol_type const& p)
data/libtorrent-rasterbar-1.2.9/src/socket_type.cpp:405: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).
	{ TORRENT_SOCKTYPE_FORWARD(open(p)) }
data/libtorrent-rasterbar-1.2.9/src/socks5_stream.cpp:89:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			m_sock.open(i->endpoint().protocol(), ec);
data/libtorrent-rasterbar-1.2.9/src/stack_allocator.cpp:43:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(&m_storage[ret], str.data(), str.size());
data/libtorrent-rasterbar-1.2.9/src/stack_allocator.cpp:53:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(&m_storage[ret], str, numeric_cast<std::size_t>(len));
data/libtorrent-rasterbar-1.2.9/src/stack_allocator.cpp:106:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(&m_storage[ret], buf.data(), numeric_cast<std::size_t>(size));
data/libtorrent-rasterbar-1.2.9/src/storage.cpp:340:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
							char buffer[512];
data/libtorrent-rasterbar-1.2.9/src/string_util.cpp:257:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			iface.port = std::atoi(port_str.c_str());
data/libtorrent-rasterbar-1.2.9/src/string_util.cpp:309:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				int port = std::atoi(in.substr(colon + 1, end - colon - 1).c_str());
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:522:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char const req2[4] = {'r', 'e', 'q', '2'};
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:1281: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.
			std::memcpy(rp->piece_data.get() + r.start, buffer.get(), aux::numeric_cast<std::size_t>(r.length));
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:1742: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 filename[100];
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:1744: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).
		FILE* f = fopen(filename, "w+");
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:8402:4:  [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[1024];
data/libtorrent-rasterbar-1.2.9/src/torrent.cpp:9573:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char buf[num_strings][20];
data/libtorrent-rasterbar-1.2.9/src/torrent_info.cpp:440: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 cnt[11];
data/libtorrent-rasterbar-1.2.9/src/torrent_info.cpp:526:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (!f.open(filename, open_mode::read_only, ec)) return -1;
data/libtorrent-rasterbar-1.2.9/src/torrent_info.cpp:577:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(m_info_section.get(), t.m_info_section.get(), aux::numeric_cast<std::size_t>(m_info_section_size));
data/libtorrent-rasterbar-1.2.9/src/torrent_info.cpp:724: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 new_ext[50];
data/libtorrent-rasterbar-1.2.9/src/torrent_info.cpp:1068:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(m_info_section.get(), section.data(), aux::numeric_cast<std::size_t>(m_info_section_size));
data/libtorrent-rasterbar-1.2.9/src/torrent_peer.cpp:107:4:  [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(&addrbuf[0], b1.data(), 16);
data/libtorrent-rasterbar-1.2.9/src/torrent_peer.cpp:108:4:  [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(&addrbuf[2], b2.data(), 16);
data/libtorrent-rasterbar-1.2.9/src/torrent_peer.cpp:127:4:  [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(&addrbuf, &b1[0], 4);
data/libtorrent-rasterbar-1.2.9/src/torrent_peer.cpp:128:4:  [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(reinterpret_cast<char*>(&addrbuf) + 4, &b2[0], 4);
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:374: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.
	std::memcpy(h, hostname, hostlen);
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:454:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void udp_socket::open(udp const& protocol, error_code& ec)
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:463:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	m_socket.open(protocol, ec);
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:485: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).
	if (!m_socket.is_open()) open(ep.protocol(), ec);
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:579:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	m_socks5_sock.open(is_v4(m_proxy_addr) ? tcp::v4() : tcp::v6(), ec);
data/libtorrent-rasterbar-1.2.9/src/udp_tracker_connection.cpp:534:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[8 + 4 + 4 + 20];
data/libtorrent-rasterbar-1.2.9/src/udp_tracker_connection.cpp:610:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				std::memcpy(e.ip.data(), buf.data(), 16);
data/libtorrent-rasterbar-1.2.9/src/udp_tracker_connection.cpp:622:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				std::memcpy(e.ip.data(), buf.data(), 4);
data/libtorrent-rasterbar-1.2.9/src/udp_tracker_connection.cpp:693:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[800];
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:170:4:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	s.open(udp::v4(), ec);
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:192:4:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	s.open(udp::v4(), ec);
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:217:2:  [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/libtorrent-rasterbar-1.2.9/src/upnp.cpp:709:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char header[2048];
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:755:2:  [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 soap[1024];
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:895:2:  [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 soap[1024];
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:1109:2:  [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 soap[1024];
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:1157:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		state.error_code = std::atoi(string.to_string().c_str());
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:1225: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 msg[500];
data/libtorrent-rasterbar-1.2.9/src/ut_metadata.cpp:274:4:  [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[200];
data/libtorrent-rasterbar-1.2.9/src/ut_metadata.cpp:585:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(&m_metadata[piece * 16 * 1024], buf.data(), aux::numeric_cast<std::size_t>(buf.size()));
data/libtorrent-rasterbar-1.2.9/src/ut_pex.cpp:475:4:  [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[6];
data/libtorrent-rasterbar-1.2.9/src/ut_pex.cpp:586:4:  [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[6];
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:99:35:  [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_holder.utp_log_file = fopen("utp.log", "w+");
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:1033:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(target->buf, p->buf + p->header_size, std::size_t(to_copy));
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:1635:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(ptr, static_cast<char const*>(i->buf), std::size_t(to_copy));
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:2406:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(target->buf, buf, std::size_t(to_copy));
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:2438:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(p->buf, buf, aux::numeric_cast<std::size_t>(size));
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:2583:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(p->buf, ptr, aux::numeric_cast<std::size_t>(payload_size));
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:3195: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 their_delay_base[20];
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:3201: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 our_delay_base[20];
data/libtorrent-rasterbar-1.2.9/src/web_peer_connection.cpp:1094:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(m_piece.data() + piece_size, buf, aux::numeric_cast<std::size_t>(copy_size));
data/libtorrent-rasterbar-1.2.9/src/write_resume_data.cpp:122: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.
			std::memcpy(&tree_str[0], &tree[0], tree.size() * 20);
data/libtorrent-rasterbar-1.2.9/test/bittorrent_peer.cpp:85: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(h, handshake, sizeof(handshake));
data/libtorrent-rasterbar-1.2.9/test/bittorrent_peer.cpp:86: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.
	std::memcpy(h + 28, m_ti.info_hash().data(), 20);
data/libtorrent-rasterbar-1.2.9/test/bittorrent_peer.cpp:254:2:  [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[1024];
data/libtorrent-rasterbar-1.2.9/test/bittorrent_peer.cpp:270:2:  [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 ep_str[200];
data/libtorrent-rasterbar-1.2.9/test/dht_server.cpp:72:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		m_socket.open(udp::v4(), ec);
data/libtorrent-rasterbar-1.2.9/test/main.cpp:106:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[4096];
data/libtorrent-rasterbar-1.2.9/test/main.cpp:117:2:  [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 stack_text[10000];
data/libtorrent-rasterbar-1.2.9/test/main.cpp:128:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(stack_text, "<stack traces disabled>");
data/libtorrent-rasterbar-1.2.9/test/main.cpp:171:2:  [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 stack_text[10000];
data/libtorrent-rasterbar-1.2.9/test/main.cpp:181:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(stack_text, "<stack traces disabled>");
data/libtorrent-rasterbar-1.2.9/test/main.cpp:210:2:  [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 stack_text[10000];
data/libtorrent-rasterbar-1.2.9/test/main.cpp:219:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(stack_text, "<stack traces disabled>");
data/libtorrent-rasterbar-1.2.9/test/main.cpp:461:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char temp_name[512];
data/libtorrent-rasterbar-1.2.9/test/main.cpp:467:9:  [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).
				f = fopen(temp_name, "wb+");
data/libtorrent-rasterbar-1.2.9/test/main.cpp:475:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
			FILE* f = tmpfile();
data/libtorrent-rasterbar-1.2.9/test/main.cpp:521:4:  [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[200];
data/libtorrent-rasterbar-1.2.9/test/main.cpp:530:4:  [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[200];
data/libtorrent-rasterbar-1.2.9/test/make_torrent.cpp:74:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		int file_size = atoi(args.m_files[0].c_str());
data/libtorrent-rasterbar-1.2.9/test/make_torrent.cpp:86:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			int file_size = atoi(args.m_files[idx].c_str());
data/libtorrent-rasterbar-1.2.9/test/make_torrent.cpp:99:4:  [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 filename[100];
data/libtorrent-rasterbar-1.2.9/test/make_torrent.cpp:160:12:  [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* f = fopen("test.torrent", "w+");
data/libtorrent-rasterbar-1.2.9/test/peer_server.cpp:65:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		m_acceptor.open(tcp::v4(), ec);
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:253:12:  [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* f = fopen(filename.c_str(), "rb");
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:440:2:  [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[2048];
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:475:2:  [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 arg_storage[4096];
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:563:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		s.open(tcp::v4(), ec);
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:598:2:  [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 dummy[1];
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:631:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		s.open(tcp::v4(), ec);
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:669:2:  [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[1024];
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:713: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 filename[200];
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:715: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 dirname[200];
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:757: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 filename[200];
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:759: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 dirname[200];
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:1040:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		s.open(tcp::v4(), ec);
data/libtorrent-rasterbar-1.2.9/test/setup_transfer.cpp:1048:2:  [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[200];
data/libtorrent-rasterbar-1.2.9/test/swarm_suite.cpp:95:2:  [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 iface[50];
data/libtorrent-rasterbar-1.2.9/test/test.cpp:51:2:  [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[2000];
data/libtorrent-rasterbar-1.2.9/test/test_bandwidth_limiter.cpp:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[200];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:97: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(&test[0], "1000000:", 8);
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:148:2:  [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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:192:2:  [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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:235:2:  [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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:306: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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:316: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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:400: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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:409: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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:484:2:  [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 b[2048];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:501:2:  [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 b[10240];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:505: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(&b[i], "0:", 2);
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:660:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp[20];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:683:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp[30];
data/libtorrent-rasterbar-1.2.9/test/test_bdecode.cpp:697:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp[30];
data/libtorrent-rasterbar-1.2.9/test/test_bencoding.cpp:238:2:  [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[30];
data/libtorrent-rasterbar-1.2.9/test/test_bencoding.cpp:420: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 b[2048];
data/libtorrent-rasterbar-1.2.9/test/test_bencoding.cpp:438: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 b[10240];
data/libtorrent-rasterbar-1.2.9/test/test_bencoding.cpp:442:4:  [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(&b[i], "0:", 2);
data/libtorrent-rasterbar-1.2.9/test/test_bencoding.cpp:637:4:  [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[20];
data/libtorrent-rasterbar-1.2.9/test/test_bencoding.cpp:660:4:  [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[30];
data/libtorrent-rasterbar-1.2.9/test/test_bencoding.cpp:675:4:  [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[30];
data/libtorrent-rasterbar-1.2.9/test/test_buffer.cpp:167: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(target, boost::asio::buffer_cast<char const*>(*i), boost::asio::buffer_size(*i));
data/libtorrent-rasterbar-1.2.9/test/test_buffer.cpp:218:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(b1, data_test, 6);
data/libtorrent-rasterbar-1.2.9/test/test_buffer.cpp:242: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 data2[1024];
data/libtorrent-rasterbar-1.2.9/test/test_buffer.cpp:248:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(b2, data_test, 6);
data/libtorrent-rasterbar-1.2.9/test/test_buffer.cpp:253:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(b3, data_test, 6);
data/libtorrent-rasterbar-1.2.9/test/test_buffer.cpp:287:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(b4, data_test, 6);
data/libtorrent-rasterbar-1.2.9/test/test_buffer.cpp:288:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(b4 + 6, data_test, 6);
data/libtorrent-rasterbar-1.2.9/test/test_buffer.cpp:302:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(b5, data_test, 6);
data/libtorrent-rasterbar-1.2.9/test/test_checking.cpp:129:4:  [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[1024];
data/libtorrent-rasterbar-1.2.9/test/test_checking.cpp:131:4:  [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 dirname[200];
data/libtorrent-rasterbar-1.2.9/test/test_checking.cpp:170:4:  [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[1024];
data/libtorrent-rasterbar-1.2.9/test/test_checking.cpp:172:4:  [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 dirname[200];
data/libtorrent-rasterbar-1.2.9/test/test_checking.cpp:267:4:  [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[1024];
data/libtorrent-rasterbar-1.2.9/test/test_checking.cpp:269:4:  [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 dirname[200];
data/libtorrent-rasterbar-1.2.9/test/test_crc32.cpp:50: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, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
data/libtorrent-rasterbar-1.2.9/test/test_crc32.cpp:57: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, "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"
data/libtorrent-rasterbar-1.2.9/test/test_crc32.cpp:62: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, "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:177: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.
	static char inbuf[1500];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:283:2:  [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[1500];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:328:2:  [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[1500];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:352:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[512];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:386:4:  [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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:406: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(&b[0], parsed[3].string_ptr(), b.size());
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:456: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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:540:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[1024];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:596:2:  [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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:1124: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 adr[50];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:1135:4:  [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 adr[50];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:1275:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[1200];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:1394:4:  [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 value[1020];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:2181:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[1200];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:2334:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[1200];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:2390:4:  [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 tok[11];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:2421: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 tok[11];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:2446:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[1200];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:2495:4:  [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 tok[11];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:2531: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 tok[11];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:2613: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 tok[11];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:2665:2:  [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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:2789:2:  [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[1500];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:2865:2:  [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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:3215:2:  [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 error_string[200];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:3300:2:  [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[1500];
data/libtorrent-rasterbar-1.2.9/test/test_dht.cpp:3414:2:  [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[1500];
data/libtorrent-rasterbar-1.2.9/test/test_dos_blocker.cpp:70:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char const* prefix[2] = { "<==", "==>"};
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:66:2:  [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[1024];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:123:2:  [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 extra[300];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:274: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.
	std::memcpy(handshake + 28, ih.begin(), 20);
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:446:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		out_file.open(combine_path("tmp1_fast", "temporary").c_str(), std::ios_base::trunc | std::ios_base::binary);
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:499:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		l.open(tcp::v4());
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:528:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:598:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:640:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:720:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:782:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:815:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:850:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:947:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:990:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:1043:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:1065:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:1119:2:  [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_buffer[1000];
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:58:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!f.open(filename, open_mode::write_only, ec)) return -1;
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:362: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).
	TEST_CHECK(f.open(test_file_name, open_mode::read_write, ec));
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:374:2:  [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 test_buf[test_word_size + 1] = {0};
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:383: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).
	TEST_CHECK(f.open(test_file_name, open_mode::read_only, ec));
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:389:2:  [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 test_buf2[test_word_size + 1] = {0};
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:413: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).
	TEST_CHECK(f.open("original_file", open_mode::read_write, ec));
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:433: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).
	TEST_CHECK(f.open("second_link", open_mode::read_write, ec));
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:438:2:  [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 test_buf[27] = {};
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:460: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).
	TEST_CHECK(f.open("test_file", open_mode::read_write, ec));
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:472:2:  [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 test_buf1[5] = {0};
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:473:2:  [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 test_buf2[7] = {0};
data/libtorrent-rasterbar-1.2.9/test/test_file.cpp:687:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		TEST_CHECK(f.open(reserved_name, open_mode::read_write, ec) && !ec);
data/libtorrent-rasterbar-1.2.9/test/test_hasher.cpp:45:1:  [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* test_array[4] =
data/libtorrent-rasterbar-1.2.9/test/test_hasher.cpp:55:1:  [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* result_array[4] =
data/libtorrent-rasterbar-1.2.9/test/test_heterogeneous_queue.cpp:57:2:  [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[100];
data/libtorrent-rasterbar-1.2.9/test/test_http_connection.cpp:59:1:  [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_buffer[4000];
data/libtorrent-rasterbar-1.2.9/test/test_http_connection.cpp:199:2:  [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 url[256];
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:108:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	TEST_CHECK(atoi(parser.header("content-length").c_str()) == 4);
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:220:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	TEST_CHECK(atoi(parser.header("port").c_str()) == 6881);
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:251:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	TEST_CHECK(atoi(parser.header("content-length").c_str()) == 20);
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:535:2:  [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 mutable_buffer[100];
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:672:2:  [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 chunked_input[sizeof(input)-1];
data/libtorrent-rasterbar-1.2.9/test/test_primitives.cpp:90:2:  [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[10];
data/libtorrent-rasterbar-1.2.9/test/test_primitives.cpp:148:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[100];
data/libtorrent-rasterbar-1.2.9/test/test_primitives.cpp:156:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[100];
data/libtorrent-rasterbar-1.2.9/test/test_primitives.cpp:169:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[4];
data/libtorrent-rasterbar-1.2.9/test/test_privacy.cpp:104:2:  [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 iface[200];
data/libtorrent-rasterbar-1.2.9/test/test_privacy.cpp:131:2:  [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 http_tracker_url[200];
data/libtorrent-rasterbar-1.2.9/test/test_privacy.cpp:137:2:  [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 udp_tracker_url[200];
data/libtorrent-rasterbar-1.2.9/test/test_ssl.cpp:157:2:  [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 listen_iface[100];
data/libtorrent-rasterbar-1.2.9/test/test_ssl.cpp:505:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		std::memcpy(handshake + 28, &t->info_hash()[0], 20);
data/libtorrent-rasterbar-1.2.9/test/test_ssl.cpp:527:2:  [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[68];
data/libtorrent-rasterbar-1.2.9/test/test_ssl.cpp:565:2:  [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 listen_iface[100];
data/libtorrent-rasterbar-1.2.9/test/test_stat_cache.cpp:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[50];
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:134:2:  [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_[4] = {0, 0, 0, 0};
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:473:4:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f.open(combine_path(test_path, combine_path("temp_storage", "test1.tmp")).c_str()
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:477:4:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f.open(combine_path(test_path, combine_path("temp_storage", "test3.tmp")).c_str()
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1109: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(iov2, iov1, sizeof(iov1));
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1174: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.
			std::memcpy(&file[offset], bufs.front().data(), copy_size);
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1507:4:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f.open(combine_path(save_path, combine_path("temp_storage", "alien1.tmp"))
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1511:4:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f.open(combine_path(save_path, combine_path("temp_storage"
data/libtorrent-rasterbar-1.2.9/test/test_string.cpp:58:2:  [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 bin[20];
data/libtorrent-rasterbar-1.2.9/test/test_string.cpp:60:2:  [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 hex[41];
data/libtorrent-rasterbar-1.2.9/test/test_tracker.cpp:359:2:  [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 tracker_url[200];
data/libtorrent-rasterbar-1.2.9/test/test_tracker.cpp:457:2:  [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 tracker_url[200];
data/libtorrent-rasterbar-1.2.9/test/test_tracker.cpp:530:2:  [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 tracker_url[200];
data/libtorrent-rasterbar-1.2.9/test/test_tracker.cpp:590:2:  [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 tracker_url[200];
data/libtorrent-rasterbar-1.2.9/test/test_tracker.cpp:698:2:  [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 tracker_url[200];
data/libtorrent-rasterbar-1.2.9/test/test_upnp.cpp:100:2:  [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[sizeof(msg) + 30];
data/libtorrent-rasterbar-1.2.9/test/test_upnp.cpp:206:19:  [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* xml_file = fopen("upnp.xml", "w+");
data/libtorrent-rasterbar-1.2.9/test/test_upnp.cpp:232: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).
	sock->open(&incoming_msearch, ios, ec);
data/libtorrent-rasterbar-1.2.9/test/test_upnp.cpp:283:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	xml.open(control_name, std::ios::trunc);
data/libtorrent-rasterbar-1.2.9/test/test_utils.cpp:41:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char ret[200];
data/libtorrent-rasterbar-1.2.9/test/test_web_seed_redirect.cpp:72:2:  [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[512];
data/libtorrent-rasterbar-1.2.9/test/udp_tracker.cpp:180:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		m_socket.open(iface.is_v4() ? udp::v4() : udp::v6(), ec);
data/libtorrent-rasterbar-1.2.9/test/udp_tracker.cpp:229:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[2000];
data/libtorrent-rasterbar-1.2.9/test/web_seed_suite.cpp:290: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 url[512];
data/libtorrent-rasterbar-1.2.9/test/web_seed_suite.cpp:365: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 url[512];
data/libtorrent-rasterbar-1.2.9/tools/dht_put.cpp:66:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[3]{};
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:336:22:  [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.
static unsigned char equal(signed char b, signed char c) {
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:368:28:  [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.
    cmov(t, &base[pos][0], equal(babs, 1));
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:369:28:  [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.
    cmov(t, &base[pos][1], equal(babs, 2));
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:370:28:  [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.
    cmov(t, &base[pos][2], equal(babs, 3));
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:371:28:  [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.
    cmov(t, &base[pos][3], equal(babs, 4));
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:372:28:  [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.
    cmov(t, &base[pos][4], equal(babs, 5));
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:373:28:  [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.
    cmov(t, &base[pos][5], equal(babs, 6));
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:374:28:  [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.
    cmov(t, &base[pos][6], equal(babs, 7));
data/libtorrent-rasterbar-1.2.9/ed25519/src/ge.cpp:375:28:  [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.
    cmov(t, &base[pos][7], equal(babs, 8));
data/libtorrent-rasterbar-1.2.9/ed25519/test.c:30: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).
    ed25519_sign(signature, message, strlen(message), public_key, private_key);
data/libtorrent-rasterbar-1.2.9/ed25519/test.c:33:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (ed25519_verify(signature, message, strlen(message), public_key)) {
data/libtorrent-rasterbar-1.2.9/ed25519/test.c:44: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).
    ed25519_sign(signature, message, strlen(message), public_key, private_key);
data/libtorrent-rasterbar-1.2.9/ed25519/test.c:47:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (ed25519_verify(signature, message, strlen(message), public_key)) {
data/libtorrent-rasterbar-1.2.9/ed25519/test.c:55:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (ed25519_verify(signature, message, strlen(message), public_key)) {
data/libtorrent-rasterbar-1.2.9/ed25519/test.c:105: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).
        ed25519_sign(signature, message, strlen(message), public_key, private_key);
data/libtorrent-rasterbar-1.2.9/ed25519/test.c:114:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ed25519_verify(signature, message, strlen(message), public_key);
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:162:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		*c = getc(stdin);
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:228:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	f.read(v.data(), v.size());
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1479:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					int c2 = getc(stdin);
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1486:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					c2 = getc(stdin);
data/libtorrent-rasterbar-1.2.9/examples/client_test.cpp:1550:15:  [1] (buffer) scanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
					if (std::scanf("%4095s", url) == 1) add_magnet(ses, url);
data/libtorrent-rasterbar-1.2.9/examples/connection_tester.cpp:907: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).
		if (optname[0] != '-' || strlen(optname) != 2)
data/libtorrent-rasterbar-1.2.9/examples/dump_torrent.cpp:55:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	in.read(ret.data(), size);
data/libtorrent-rasterbar-1.2.9/examples/make_torrent.cpp:60:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	in.read(ret.data(), ret.size());
data/libtorrent-rasterbar-1.2.9/examples/make_torrent.cpp:230: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).
				if (strlen(args[1]) != 40) {
data/libtorrent-rasterbar-1.2.9/examples/print.cpp:57: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).
		if (suffix) ret.resize(4 + 2 + strlen(suffix), ' ');
data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/bind_to_device.hpp:59: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).
		size_t size(Protocol const&) const { return strlen(m_value) + 1; }
data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/bind_to_device.hpp:115: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).
		size_t size(Protocol const&) const { return strlen(m_value) + 1; }
data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/dev_random.hpp:58:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		void read(span<char> buffer)
data/libtorrent-rasterbar-1.2.9/include/libtorrent/aux_/dev_random.hpp:60:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			std::int64_t const ret = ::read(m_fd, buffer.data()
data/libtorrent-rasterbar-1.2.9/include/libtorrent/disk_io_job.hpp:62:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read
data/libtorrent-rasterbar-1.2.9/include/libtorrent/disk_io_job.hpp:194:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		job_action_t action = job_action_t::read;
data/libtorrent-rasterbar-1.2.9/include/libtorrent/sha1_hash.hpp:168: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 std::equal(n.m_number.begin(), n.m_number.end(), m_number.begin());
data/libtorrent-rasterbar-1.2.9/include/libtorrent/sha1_hash.hpp:172: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.
			return !std::equal(n.m_number.begin(), n.m_number.end(), m_number.begin());
data/libtorrent-rasterbar-1.2.9/include/libtorrent/span.hpp:180:41:  [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.
			&& (lhs.data() == rhs.data() || std::equal(lhs.begin(), lhs.end(), rhs.begin()));
data/libtorrent-rasterbar-1.2.9/include/libtorrent/span.hpp:187:42:  [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.
			|| (lhs.data() != rhs.data() && !std::equal(lhs.begin(), lhs.end(), rhs.begin()));
data/libtorrent-rasterbar-1.2.9/include/libtorrent/udp_socket.hpp:87:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		int read(span<packet> pkts, error_code& ec);
data/libtorrent-rasterbar-1.2.9/src/assert.cpp:279: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. Risk is low because the source is a
  constant string.
	std::strncat(out, "<not supported>", std::size_t(len));
data/libtorrent-rasterbar-1.2.9/src/bdecode.cpp:595:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				&& std::equal(key.data(), key.data() + size, m_buffer
data/libtorrent-rasterbar-1.2.9/src/block_cache.cpp:176:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(ptr, "]\n", end - ptr);
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:2660: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.
			if (!std::equal(sh_vc, sh_vc + 8, recv_buffer.begin() + 20))
data/libtorrent-rasterbar-1.2.9/src/bt_peer_connection.cpp:3127: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.
				if (!std::equal(recv_buffer.begin() + 8, recv_buffer.begin() + 28
data/libtorrent-rasterbar-1.2.9/src/disk_io_thread.cpp:1619:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		disk_io_job* j = allocate_job(job_action_t::read);
data/libtorrent-rasterbar-1.2.9/src/disk_io_thread.cpp:1659:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		TORRENT_ASSERT(j->action == job_action_t::read);
data/libtorrent-rasterbar-1.2.9/src/disk_io_thread.cpp:3390:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (j->action == job_action_t::read)
data/libtorrent-rasterbar-1.2.9/src/disk_job_pool.cpp:58:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (type == job_action_t::read) ++m_read_jobs;
data/libtorrent-rasterbar-1.2.9/src/disk_job_pool.cpp:82:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (type == job_action_t::read) --m_read_jobs;
data/libtorrent-rasterbar-1.2.9/src/disk_job_pool.cpp:98:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (type == job_action_t::read) ++read_jobs;
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:333:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					std::strncpy(ret.name, static_cast<char const*>(ptr), sizeof(ret.name) - 1);
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:551:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		std::strncpy(rv.name, ifa->ifa_name, sizeof(rv.name) - 1);
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:776:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			std::strncpy(iface.name, item.ifr_name, sizeof(iface.name) - 1);
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:780:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			std::strncpy(req.ifr_name, item.ifr_name, IF_NAMESIZE - 1);
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:842:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				std::strncpy(r.name, adapter->AdapterName, sizeof(r.name) - 1);
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:1300:46:  [1] (buffer) wcslen:
  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 (wcsncmp(name, L"\\DEVICE\\TCPIP_", wcslen(L"\\DEVICE\\TCPIP_")) == 0)
data/libtorrent-rasterbar-1.2.9/src/enum_net.cpp:1302:16:  [1] (buffer) wcslen:
  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).
							name += wcslen(L"\\DEVICE\\TCPIP_");
data/libtorrent-rasterbar-1.2.9/src/file.cpp:987:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		std::int64_t ret = iov(&::read, native_handle(), file_offset, tmp_bufs, ec);
data/libtorrent-rasterbar-1.2.9/src/fingerprint.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).
		TORRENT_ASSERT(std::strlen(id_string) == 2);
data/libtorrent-rasterbar-1.2.9/src/identify_client.cpp:90:12:  [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.
		if (std::equal(id.begin() + 4, id.begin() + 6, "--"))
data/libtorrent-rasterbar-1.2.9/src/identify_client.cpp:315:35:  [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.
		if (i < name_map + size && std::equal(f.name, f.name + 2, i->id))
data/libtorrent-rasterbar-1.2.9/src/identify_client.cpp:342: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 std::equal(search, search + std::strlen(search), id);
data/libtorrent-rasterbar-1.2.9/src/identify_client.cpp:342:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return std::equal(search, search + std::strlen(search), id);
data/libtorrent-rasterbar-1.2.9/src/identify_client.cpp:398: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.
		bool const is_equ_zero = std::equal(PID, PID + 12, "\0\0\0\0\0\0\0\0\0\0\0\0");
data/libtorrent-rasterbar-1.2.9/src/kademlia/node.cpp:184:11:  [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.
	if (std::equal(token.begin(), token.end(), reinterpret_cast<char*>(&h[0])))
data/libtorrent-rasterbar-1.2.9/src/kademlia/node.cpp:192: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 std::equal(token.begin(), token.end(), reinterpret_cast<char*>(&h[0]));
data/libtorrent-rasterbar-1.2.9/src/kademlia/node.cpp:210:22:  [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.
	TORRENT_ASSERT(std::equal(token.begin(), token.end(), hash.data()));
data/libtorrent-rasterbar-1.2.9/src/lazy_bdecode.cpp:423:13:  [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.
			if (std::equal(name.begin(), name.end(), e.name))
data/libtorrent-rasterbar-1.2.9/src/path.cpp:438:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			int const num_read = int(read(infd, buffer, sizeof(buffer)));
data/libtorrent-rasterbar-1.2.9/src/random.cpp:122:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			dev.read(buffer);
data/libtorrent-rasterbar-1.2.9/src/session_handle.cpp:909: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).
		if (net_interface == nullptr || strlen(net_interface) == 0)
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:427: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 (!servername || std::strlen(servername) < 40)
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:2386:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			int const num_packets = s->sock.read(p, err);
data/libtorrent-rasterbar-1.2.9/src/session_impl.cpp:5580:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			std::strncpy(ip.name, s.device.c_str(), sizeof(ip.name) - 1);
data/libtorrent-rasterbar-1.2.9/src/sha1_hash.cpp:55:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		is.read(hex, sha1_hash::size() * 2);
data/libtorrent-rasterbar-1.2.9/src/stack_allocator.cpp:51: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 len = int(std::strlen(str));
data/libtorrent-rasterbar-1.2.9/src/string_util.cpp:106: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 std::equal(s1.begin(), s1.end(), s2.begin()
data/libtorrent-rasterbar-1.2.9/src/string_util.cpp:126:41:  [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 s1.size() >= s2.size() && std::equal(s2.rbegin(), s2.rend(), s1.rbegin());
data/libtorrent-rasterbar-1.2.9/src/torrent_info.cpp:537:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read != s) return -3;
data/libtorrent-rasterbar-1.2.9/src/torrent_info.cpp:1690:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				TORRENT_ASSERT(strlen(m_files.file_name_ptr(i)) < 2048);
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:182:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int udp_socket::read(span<packet> pkts, error_code& ec)
data/libtorrent-rasterbar-1.2.9/src/udp_socket.cpp:372:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	std::size_t const hostlen = std::min(std::strlen(hostname), max_header_size - 7);
data/libtorrent-rasterbar-1.2.9/src/upnp.cpp:717: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).
		, int(strlen(soap)), d.service_namespace.c_str(), soap_action
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:2468:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read) utp_stream::on_read(m_userdata, 0, ec, shutdown);
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:3199:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
					strcpy(their_delay_base, "-");
data/libtorrent-rasterbar-1.2.9/src/utp_stream.cpp:3205:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
					strcpy(our_delay_base, "-");
data/libtorrent-rasterbar-1.2.9/test/test.cpp:63:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int len = int(strlen(_g_unit_tests[i].name));
data/libtorrent-rasterbar-1.2.9/test/test_bencoding.cpp:733: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).
			int ret = lazy_bdecode(b[i], b[i] + strlen(b[i]), tmp, ec, nullptr);
data/libtorrent-rasterbar-1.2.9/test/test_block_cache.cpp:151:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	rj.action = job_action_t::read; \
data/libtorrent-rasterbar-1.2.9/test/test_block_cache.cpp:447:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	rj.action = job_action_t::read;
data/libtorrent-rasterbar-1.2.9/test/test_block_cache.cpp:502:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	rj.action = job_action_t::read;
data/libtorrent-rasterbar-1.2.9/test/test_enum_net.cpp:189:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		std::strncpy(ret.name, device, sizeof(ret.name) - 1);
data/libtorrent-rasterbar-1.2.9/test/test_enum_net.cpp:199:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		std::strncpy(ret.name, name, sizeof(ret.name) - 1);
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:90:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	boost::asio::read(s, boost::asio::buffer(buffer.data(), 4)
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:106:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	boost::asio::read(s, boost::asio::buffer(buffer.data(), std::size_t(length))
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:249: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).
	int num_pieces = int(strlen(bits));
data/libtorrent-rasterbar-1.2.9/test/test_fast_extension.cpp:284:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	boost::asio::read(s, boost::asio::buffer(buffer, 68)
data/libtorrent-rasterbar-1.2.9/test/test_generate_peer_id.cpp:45:18:  [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.
	TEST_CHECK(std::equal(id.begin(), id.begin() + 3, "abc"));
data/libtorrent-rasterbar-1.2.9/test/test_generate_peer_id.cpp:55:18:  [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.
	TEST_CHECK(std::equal(id.begin(), id.end(), "abcdefghijklmnopqrst"));
data/libtorrent-rasterbar-1.2.9/test/test_hasher.cpp:87: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).
			h.update(test_array[test], int(std::strlen(test_array[test])));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:106:18:  [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.
	TEST_CHECK(std::equal(body.begin(), body.end(), "test"));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:128: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).
	TEST_CHECK(received == std::make_tuple(0, int(strlen(upnp_response)), false));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:149: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).
	TEST_CHECK(received == std::make_tuple(0, int(strlen(http1_response)), false));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:165: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).
	TEST_CHECK(received == std::make_tuple(0, int(strlen(close_response)), false));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:181: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).
	TEST_CHECK(received == std::make_tuple(0, int(strlen(keep_alive_response)), false));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:202: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).
	TEST_CHECK(received == std::make_tuple(0, int(strlen(upnp_notify)), false));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:217: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).
	TEST_CHECK(received == std::make_tuple(0, int(strlen(bt_lsd)), false));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:245: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).
	TEST_CHECK(received == std::make_tuple(20, int(strlen(chunked_test)) - 20, false));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:247:18:  [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.
	TEST_CHECK(std::equal(parser.get_body().begin(), parser.get_body().end()
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:269: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).
	TEST_CHECK(received == std::make_tuple(5, int(strlen(tracker_response) - 5), false));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:285: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).
	TEST_CHECK(received == std::make_tuple(5, int(strlen(web_seed_response) - 5), false));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:346: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).
	TEST_CHECK(received == std::make_tuple(4, int(strlen(one_hundred_response) - 4), false));
data/libtorrent-rasterbar-1.2.9/test/test_http_parser.cpp:531: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).
	TEST_EQUAL(strlen(chunked_input), 24 + 94);
data/libtorrent-rasterbar-1.2.9/test/test_listen_socket.cpp:66:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		std::strncpy(ipi.name, device, sizeof(ipi.name) - 1);
data/libtorrent-rasterbar-1.2.9/test/test_listen_socket.cpp:76:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		std::strncpy(ipi.name, device, sizeof(ipi.name) - 1);
data/libtorrent-rasterbar-1.2.9/test/test_listen_socket.cpp:86:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		std::strncpy(ret.name, device, sizeof(ret.name) - 1);
data/libtorrent-rasterbar-1.2.9/test/test_piece_picker.cpp:60: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).
	const int num_pieces = int(strlen(have_str));
data/libtorrent-rasterbar-1.2.9/test/test_piece_picker.cpp:118: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).
	const int num_pieces = int(strlen(availability));
data/libtorrent-rasterbar-1.2.9/test/test_piece_picker.cpp:119: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).
	TORRENT_ASSERT(int(strlen(have_str)) == num_pieces);
data/libtorrent-rasterbar-1.2.9/test/test_piece_picker.cpp:1046:18:  [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.
	TEST_CHECK(std::equal(prios.begin(), prios.end(), prio_comp));
data/libtorrent-rasterbar-1.2.9/test/test_piece_picker.cpp:1223:18:  [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.
	TEST_CHECK(std::equal(dls.begin(), dls.end(), expected_dls1));
data/libtorrent-rasterbar-1.2.9/test/test_piece_picker.cpp:1225:18:  [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.
	TEST_CHECK(std::equal(dls.begin(), dls.end(), expected_dls2));
data/libtorrent-rasterbar-1.2.9/test/test_piece_picker.cpp:1227:18:  [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.
	TEST_CHECK(std::equal(dls.begin(), dls.end(), expected_dls3));
data/libtorrent-rasterbar-1.2.9/test/test_piece_picker.cpp:1229:18:  [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.
	TEST_CHECK(std::equal(dls.begin(), dls.end(), expected_dls4));
data/libtorrent-rasterbar-1.2.9/test/test_piece_picker.cpp:1233:18:  [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.
	TEST_CHECK(std::equal(dls.begin(), dls.end(), expected_dls5));
data/libtorrent-rasterbar-1.2.9/test/test_piece_picker.cpp:1363:18:  [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.
	TEST_CHECK(std::equal(picked_pieces.begin(), picked_pieces.end(), expected_pieces));
data/libtorrent-rasterbar-1.2.9/test/test_priority.cpp:202:18:  [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.
	TEST_CHECK(std::equal(priorities.begin(), priorities.end(), priorities2.begin()));
data/libtorrent-rasterbar-1.2.9/test/test_priority.cpp:211:18:  [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.
	TEST_CHECK(std::equal(priorities.begin(), priorities.end(), priorities2.begin()));
data/libtorrent-rasterbar-1.2.9/test/test_priority.cpp:243:18:  [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.
	TEST_CHECK(std::equal(priorities.begin(), priorities.end(), priorities2.begin()));
data/libtorrent-rasterbar-1.2.9/test/test_socket_io.cpp:74:18:  [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.
	TEST_CHECK(std::equal(buf.begin(), buf.end(), "\x10\0\0\0\0\0\0\0\0\0\0\0\0\0\xff\xff"));
data/libtorrent-rasterbar-1.2.9/test/test_socket_io.cpp:81:18:  [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.
	TEST_CHECK(std::equal(buf.begin(), buf.end()
data/libtorrent-rasterbar-1.2.9/test/test_ssl.cpp:529:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	boost::asio::read(ssl_sock, boost::asio::buffer(buf, sizeof(buf)), ec);
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:269:18:  [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.
	TEST_CHECK(std::equal(piece+3, piece + piece_size-9, piece1.data()+3));
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:276:18:  [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.
	TEST_CHECK(std::equal(piece, piece + piece_size-9, piece1.data()+3));
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:283:18:  [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.
	TEST_CHECK(std::equal(piece, piece + piece_size, piece1.data()));
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:298:18:  [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.
	TEST_CHECK(std::equal(piece, piece + piece_size, piece0.data()));
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:303:18:  [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.
	TEST_CHECK(std::equal(piece, piece + piece_size, piece2.data()));
data/libtorrent-rasterbar-1.2.9/test/test_storage.cpp:1209:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		return read;
data/libtorrent-rasterbar-1.2.9/test/test_string.cpp:281:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	TEST_CHECK(need_encoding(test_string, int(strlen(test_string))) == true);
data/libtorrent-rasterbar-1.2.9/test/test_string.cpp:282:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	TEST_CHECK(need_encoding(test_string2, int(strlen(test_string2))) == false);
data/libtorrent-rasterbar-1.2.9/test/test_string.cpp:316:50:  [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).
	TEST_CHECK(read_until(tmp1, 'd', test_string1 + strlen(test_string1)) == "abc");
data/libtorrent-rasterbar-1.2.9/test/test_string.cpp:319:50:  [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).
	TEST_CHECK(read_until(tmp1, '[', test_string1 + strlen(test_string1))
data/libtorrent-rasterbar-1.2.9/test/test_string.cpp:506: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).
	TEST_CHECK(strlen(*p) == 6);
data/libtorrent-rasterbar-1.2.9/test/test_tracker.cpp:277: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).
	bdecode(peer_field, peer_field + strlen(peer_field)
data/libtorrent-rasterbar-1.2.9/tools/dht_put.cpp:183:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	f.read(seed.data(), seed.size());
data/libtorrent-rasterbar-1.2.9/tools/dht_put.cpp:227:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	f.read(state.data(), size);
data/libtorrent-rasterbar-1.2.9/tools/dht_put.cpp:304:7:  [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(argv[0]) != 40)
data/libtorrent-rasterbar-1.2.9/tools/dht_put.cpp:355:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		f.read(seed.data(), seed.size());
data/libtorrent-rasterbar-1.2.9/tools/dht_put.cpp:385: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).
		auto const len = static_cast<std::ptrdiff_t>(strlen(argv[0]));

ANALYSIS SUMMARY:

Hits = 1061
Lines analyzed = 206528 in approximately 5.09 seconds (40584 lines/second)
Physical Source Lines of Code (SLOC) = 137905
Hits@level = [0] 1019 [1] 147 [2] 551 [3]  56 [4] 303 [5]   4
Hits@level+ = [0+] 2080 [1+] 1061 [2+] 914 [3+] 363 [4+] 307 [5+]   4
Hits/KSLOC@level+ = [0+] 15.0828 [1+] 7.6937 [2+] 6.62775 [3+] 2.63225 [4+] 2.22617 [5+] 0.0290055
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.