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/freelan-2.2/apps/freelan/src/colors.hpp Examining data/freelan-2.2/apps/freelan/src/configuration_helper.cpp Examining data/freelan-2.2/apps/freelan/src/configuration_helper.hpp Examining data/freelan-2.2/apps/freelan/src/configuration_types.cpp Examining data/freelan-2.2/apps/freelan/src/configuration_types.hpp Examining data/freelan-2.2/apps/freelan/src/main.cpp Examining data/freelan-2.2/apps/freelan/src/posix/daemon.cpp Examining data/freelan-2.2/apps/freelan/src/posix/daemon.hpp Examining data/freelan-2.2/apps/freelan/src/posix/locked_pid_file.cpp Examining data/freelan-2.2/apps/freelan/src/posix/locked_pid_file.hpp Examining data/freelan-2.2/apps/freelan/src/posix/pid_file.cpp Examining data/freelan-2.2/apps/freelan/src/posix/pid_file.hpp Examining data/freelan-2.2/apps/freelan/src/system.cpp Examining data/freelan-2.2/apps/freelan/src/system.hpp Examining data/freelan-2.2/apps/freelan/src/tools.cpp Examining data/freelan-2.2/apps/freelan/src/tools.hpp Examining data/freelan-2.2/apps/freelan/src/windows/service.cpp Examining data/freelan-2.2/apps/freelan/src/windows/service.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/asiotap.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/base_dns_servers_manager.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/base_route_manager.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/base_tap_adapter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/dns_servers_manager.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/error.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/os.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/arp_builder.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/arp_filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/arp_frame.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/arp_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/arp_proxy.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/bootp_builder.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/bootp_filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/bootp_frame.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/bootp_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/builder.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/checksum.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/checksum_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/complex_filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/dhcp_builder.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/dhcp_filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/dhcp_frame.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/dhcp_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/dhcp_option.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/dhcp_option_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/dhcp_option_helper_iterator.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/dhcp_proxy.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ethernet_address.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ethernet_builder.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ethernet_filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ethernet_frame.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ethernet_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/frame.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/icmp_builder.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/icmp_filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/icmp_frame.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/icmp_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/icmpv6_builder.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/icmpv6_filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/icmpv6_frame.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/icmpv6_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/icmpv6_proxy.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv4_builder.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv4_filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv4_frame.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv4_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv6_builder.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv6_filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv6_frame.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv6_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/proxy.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/tcp_filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/tcp_frame.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/tcp_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/tcp_mss_morpher.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/udp_builder.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/udp_filter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/udp_frame.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/osi/udp_helper.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_dns_servers_manager.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_route_manager.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_tap_adapter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/route_manager.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/tap_adapter.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/tap_adapter_configuration.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/tap_adapter_layer.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/types/endpoint.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/types/hostname_endpoint.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/types/ip_endpoint.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/types/ip_network_address.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/types/ip_route.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/types/stream_operations.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/windows/netsh.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/windows/windows_dns_servers_manager.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/windows/windows_route_manager.hpp Examining data/freelan-2.2/libs/asiotap/include/asiotap/windows/windows_tap_adapter.hpp Examining data/freelan-2.2/libs/asiotap/src/arp_builder.cpp Examining data/freelan-2.2/libs/asiotap/src/arp_filter.cpp Examining data/freelan-2.2/libs/asiotap/src/arp_frame.cpp Examining data/freelan-2.2/libs/asiotap/src/arp_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/arp_proxy.cpp Examining data/freelan-2.2/libs/asiotap/src/asiotap.cpp Examining data/freelan-2.2/libs/asiotap/src/base_tap_adapter.cpp Examining data/freelan-2.2/libs/asiotap/src/bootp_builder.cpp Examining data/freelan-2.2/libs/asiotap/src/bootp_filter.cpp Examining data/freelan-2.2/libs/asiotap/src/bootp_frame.cpp Examining data/freelan-2.2/libs/asiotap/src/bootp_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/builder.cpp Examining data/freelan-2.2/libs/asiotap/src/checksum.cpp Examining data/freelan-2.2/libs/asiotap/src/checksum_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/complex_filter.cpp Examining data/freelan-2.2/libs/asiotap/src/dhcp_builder.cpp Examining data/freelan-2.2/libs/asiotap/src/dhcp_filter.cpp Examining data/freelan-2.2/libs/asiotap/src/dhcp_frame.cpp Examining data/freelan-2.2/libs/asiotap/src/dhcp_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/dhcp_option.cpp Examining data/freelan-2.2/libs/asiotap/src/dhcp_option_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/dhcp_option_helper_iterator.cpp Examining data/freelan-2.2/libs/asiotap/src/dhcp_proxy.cpp Examining data/freelan-2.2/libs/asiotap/src/endpoint.cpp Examining data/freelan-2.2/libs/asiotap/src/error.cpp Examining data/freelan-2.2/libs/asiotap/src/ethernet_address.cpp Examining data/freelan-2.2/libs/asiotap/src/ethernet_builder.cpp Examining data/freelan-2.2/libs/asiotap/src/ethernet_filter.cpp Examining data/freelan-2.2/libs/asiotap/src/ethernet_frame.cpp Examining data/freelan-2.2/libs/asiotap/src/ethernet_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/filter.cpp Examining data/freelan-2.2/libs/asiotap/src/frame.cpp Examining data/freelan-2.2/libs/asiotap/src/helper.cpp Examining data/freelan-2.2/libs/asiotap/src/hostname_endpoint.cpp Examining data/freelan-2.2/libs/asiotap/src/icmp_builder.cpp Examining data/freelan-2.2/libs/asiotap/src/icmp_filter.cpp Examining data/freelan-2.2/libs/asiotap/src/icmp_frame.cpp Examining data/freelan-2.2/libs/asiotap/src/icmp_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/icmpv6_builder.cpp Examining data/freelan-2.2/libs/asiotap/src/icmpv6_filter.cpp Examining data/freelan-2.2/libs/asiotap/src/icmpv6_frame.cpp Examining data/freelan-2.2/libs/asiotap/src/icmpv6_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/icmpv6_proxy.cpp Examining data/freelan-2.2/libs/asiotap/src/ip_endpoint.cpp Examining data/freelan-2.2/libs/asiotap/src/ip_network_address.cpp Examining data/freelan-2.2/libs/asiotap/src/ip_route.cpp Examining data/freelan-2.2/libs/asiotap/src/ipv4_builder.cpp Examining data/freelan-2.2/libs/asiotap/src/ipv4_filter.cpp Examining data/freelan-2.2/libs/asiotap/src/ipv4_frame.cpp Examining data/freelan-2.2/libs/asiotap/src/ipv4_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/ipv6_builder.cpp Examining data/freelan-2.2/libs/asiotap/src/ipv6_filter.cpp Examining data/freelan-2.2/libs/asiotap/src/ipv6_frame.cpp Examining data/freelan-2.2/libs/asiotap/src/ipv6_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/posix/posix_dns_servers_manager.cpp Examining data/freelan-2.2/libs/asiotap/src/posix/posix_route_manager.cpp Examining data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp Examining data/freelan-2.2/libs/asiotap/src/proxy.cpp Examining data/freelan-2.2/libs/asiotap/src/stream_operations.cpp Examining data/freelan-2.2/libs/asiotap/src/tcp_filter.cpp Examining data/freelan-2.2/libs/asiotap/src/tcp_frame.cpp Examining data/freelan-2.2/libs/asiotap/src/tcp_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/tcp_mss_morpher.cpp Examining data/freelan-2.2/libs/asiotap/src/udp_builder.cpp Examining data/freelan-2.2/libs/asiotap/src/udp_filter.cpp Examining data/freelan-2.2/libs/asiotap/src/udp_frame.cpp Examining data/freelan-2.2/libs/asiotap/src/udp_helper.cpp Examining data/freelan-2.2/libs/asiotap/src/windows/netsh.cpp Examining data/freelan-2.2/libs/asiotap/src/windows/windows_dns_servers_manager.cpp Examining data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp Examining data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp Examining data/freelan-2.2/libs/asiotap/windows/tap-windows.h Examining data/freelan-2.2/libs/asiotap/windows/tap_adapter/tap-setup/tap_setup.cpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/integer.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/object.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/string.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/utctime.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/base64.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/bio/bio_chain.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/bio/bio_ptr.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/bn/bignum.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/buffer.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/cipher/cipher_algorithm.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/cipher/cipher_context.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/cipher/cipher_stream.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/cryptoplus.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/error/error.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/error/error_strings.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/error/helpers.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/file.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/hash/hmac.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/hash/hmac_context.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/hash/message_digest.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/hash/message_digest_algorithm.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/hash/message_digest_context.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/hash/pbkdf2.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/initializer.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/nullable.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/os.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/pkey/dh_key.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/pkey/dsa_key.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/pkey/ecdhe.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/pkey/pkey.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/pkey/rsa_key.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/pointer_wrapper.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/random/random.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/tls/tls.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/x509/certificate.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/x509/certificate_request.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/x509/certificate_revocation_list.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/x509/extension.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/x509/name.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/x509/name_entry.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/x509/store.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/x509/store_context.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/x509/verify_param.hpp Examining data/freelan-2.2/libs/cryptoplus/include/cryptoplus/x509/x509v3_context.hpp Examining data/freelan-2.2/libs/cryptoplus/src/base64.cpp Examining data/freelan-2.2/libs/cryptoplus/src/bignum.cpp Examining data/freelan-2.2/libs/cryptoplus/src/bio_chain.cpp Examining data/freelan-2.2/libs/cryptoplus/src/bio_ptr.cpp Examining data/freelan-2.2/libs/cryptoplus/src/buffer.cpp Examining data/freelan-2.2/libs/cryptoplus/src/certificate.cpp Examining data/freelan-2.2/libs/cryptoplus/src/certificate_request.cpp Examining data/freelan-2.2/libs/cryptoplus/src/certificate_revocation_list.cpp Examining data/freelan-2.2/libs/cryptoplus/src/cipher_algorithm.cpp Examining data/freelan-2.2/libs/cryptoplus/src/cipher_context.cpp Examining data/freelan-2.2/libs/cryptoplus/src/cipher_stream.cpp Examining data/freelan-2.2/libs/cryptoplus/src/cryptoplus.cpp Examining data/freelan-2.2/libs/cryptoplus/src/dh_key.cpp Examining data/freelan-2.2/libs/cryptoplus/src/dsa_key.cpp Examining data/freelan-2.2/libs/cryptoplus/src/ecdhe.cpp Examining data/freelan-2.2/libs/cryptoplus/src/error.cpp Examining data/freelan-2.2/libs/cryptoplus/src/error_strings.cpp Examining data/freelan-2.2/libs/cryptoplus/src/extension.cpp Examining data/freelan-2.2/libs/cryptoplus/src/file.cpp Examining data/freelan-2.2/libs/cryptoplus/src/helpers.cpp Examining data/freelan-2.2/libs/cryptoplus/src/hmac.cpp Examining data/freelan-2.2/libs/cryptoplus/src/hmac_context.cpp Examining data/freelan-2.2/libs/cryptoplus/src/integer.cpp Examining data/freelan-2.2/libs/cryptoplus/src/message_digest.cpp Examining data/freelan-2.2/libs/cryptoplus/src/message_digest_algorithm.cpp Examining data/freelan-2.2/libs/cryptoplus/src/message_digest_context.cpp Examining data/freelan-2.2/libs/cryptoplus/src/name.cpp Examining data/freelan-2.2/libs/cryptoplus/src/name_entry.cpp Examining data/freelan-2.2/libs/cryptoplus/src/nullable.cpp Examining data/freelan-2.2/libs/cryptoplus/src/object.cpp Examining data/freelan-2.2/libs/cryptoplus/src/pbkdf2.cpp Examining data/freelan-2.2/libs/cryptoplus/src/pkey.cpp Examining data/freelan-2.2/libs/cryptoplus/src/pointer_wrapper.cpp Examining data/freelan-2.2/libs/cryptoplus/src/random.cpp Examining data/freelan-2.2/libs/cryptoplus/src/rsa_key.cpp Examining data/freelan-2.2/libs/cryptoplus/src/store.cpp Examining data/freelan-2.2/libs/cryptoplus/src/store_context.cpp Examining data/freelan-2.2/libs/cryptoplus/src/string.cpp Examining data/freelan-2.2/libs/cryptoplus/src/tls.cpp Examining data/freelan-2.2/libs/cryptoplus/src/utctime.cpp Examining data/freelan-2.2/libs/cryptoplus/src/verify_param.cpp Examining data/freelan-2.2/libs/cryptoplus/src/x509v3_context.cpp Examining data/freelan-2.2/libs/executeplus/include/executeplus/error.hpp Examining data/freelan-2.2/libs/executeplus/include/executeplus/executeplus.hpp Examining data/freelan-2.2/libs/executeplus/include/executeplus/os.hpp Examining data/freelan-2.2/libs/executeplus/include/executeplus/posix_system.hpp Examining data/freelan-2.2/libs/executeplus/include/executeplus/windows_system.hpp Examining data/freelan-2.2/libs/executeplus/src/error.cpp Examining data/freelan-2.2/libs/executeplus/src/executeplus.cpp Examining data/freelan-2.2/libs/executeplus/src/posix_system.cpp Examining data/freelan-2.2/libs/executeplus/src/windows_system.cpp Examining data/freelan-2.2/libs/freelan/include/freelan/configuration.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/core.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/freelan.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/ip_route.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/message.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/metric.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/mss.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/mtu.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/os.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/port_index.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/router.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/routes_message.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/routes_request_message.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/server.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/switch.hpp Examining data/freelan-2.2/libs/freelan/include/freelan/tools.hpp Examining data/freelan-2.2/libs/freelan/src/client.cpp Examining data/freelan-2.2/libs/freelan/src/client.hpp Examining data/freelan-2.2/libs/freelan/src/configuration.cpp Examining data/freelan-2.2/libs/freelan/src/curl.cpp Examining data/freelan-2.2/libs/freelan/src/curl.hpp Examining data/freelan-2.2/libs/freelan/src/curl_error.cpp Examining data/freelan-2.2/libs/freelan/src/curl_error.hpp Examining data/freelan-2.2/libs/freelan/src/freelan.cpp Examining data/freelan-2.2/libs/freelan/src/ip_route.cpp Examining data/freelan-2.2/libs/freelan/src/message.cpp Examining data/freelan-2.2/libs/freelan/src/metric.cpp Examining data/freelan-2.2/libs/freelan/src/mss.cpp Examining data/freelan-2.2/libs/freelan/src/mtu.cpp Examining data/freelan-2.2/libs/freelan/src/router.cpp Examining data/freelan-2.2/libs/freelan/src/routes_message.cpp Examining data/freelan-2.2/libs/freelan/src/routes_request_message.cpp Examining data/freelan-2.2/libs/freelan/src/server.cpp Examining data/freelan-2.2/libs/freelan/src/switch.cpp Examining data/freelan-2.2/libs/freelan/src/tools.cpp Examining data/freelan-2.2/libs/freelan/src/web_client_error.cpp Examining data/freelan-2.2/libs/freelan/src/web_client_error.hpp Examining data/freelan-2.2/libs/freelan/src/core.cpp Examining data/freelan-2.2/libs/fscp/include/fscp/buffer_tools.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/constants.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/data_message.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/fscp.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/hello_message.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/identity_store.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/logger.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/message.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/peer_session.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/presentation_message.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/presentation_store.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/server_error.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/session_message.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/session_request_message.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/shared_buffer.hpp Examining data/freelan-2.2/libs/fscp/include/fscp/server.hpp Examining data/freelan-2.2/libs/fscp/src/buffer_tools.cpp Examining data/freelan-2.2/libs/fscp/src/constants.cpp Examining data/freelan-2.2/libs/fscp/src/data_message.cpp Examining data/freelan-2.2/libs/fscp/src/hello_message.cpp Examining data/freelan-2.2/libs/fscp/src/identity_store.cpp Examining data/freelan-2.2/libs/fscp/src/logger.cpp Examining data/freelan-2.2/libs/fscp/src/message.cpp Examining data/freelan-2.2/libs/fscp/src/peer_session.cpp Examining data/freelan-2.2/libs/fscp/src/presentation_message.cpp Examining data/freelan-2.2/libs/fscp/src/presentation_store.cpp Examining data/freelan-2.2/libs/fscp/src/server_error.cpp Examining data/freelan-2.2/libs/fscp/src/session_message.cpp Examining data/freelan-2.2/libs/fscp/src/session_request_message.cpp Examining data/freelan-2.2/libs/fscp/src/shared_buffer.cpp Examining data/freelan-2.2/libs/fscp/src/server.cpp Examining data/freelan-2.2/libs/iconvplus/include/iconvplus/converter.hpp Examining data/freelan-2.2/libs/iconvplus/include/iconvplus/iconv_error_category.hpp Examining data/freelan-2.2/libs/iconvplus/include/iconvplus/iconv_instance.hpp Examining data/freelan-2.2/libs/iconvplus/include/iconvplus/iconvplus.hpp Examining data/freelan-2.2/libs/iconvplus/include/iconvplus/os.hpp Examining data/freelan-2.2/libs/iconvplus/src/converter.cpp Examining data/freelan-2.2/libs/iconvplus/src/iconv_error_category.cpp Examining data/freelan-2.2/libs/iconvplus/src/iconv_instance.cpp Examining data/freelan-2.2/libs/iconvplus/src/iconvplus.cpp Examining data/freelan-2.2/libs/kfather/include/kfather/formatter.hpp Examining data/freelan-2.2/libs/kfather/include/kfather/kfather.hpp Examining data/freelan-2.2/libs/kfather/include/kfather/parser.hpp Examining data/freelan-2.2/libs/kfather/include/kfather/value.hpp Examining data/freelan-2.2/libs/kfather/src/formatter.cpp Examining data/freelan-2.2/libs/kfather/src/kfather.cpp Examining data/freelan-2.2/libs/kfather/src/parser.cpp Examining data/freelan-2.2/libs/kfather/src/value.cpp Examining data/freelan-2.2/libs/miniupnpcplus/include/miniupnpcplus/error.hpp Examining data/freelan-2.2/libs/miniupnpcplus/include/miniupnpcplus/miniupnpcplus.hpp Examining data/freelan-2.2/libs/miniupnpcplus/include/miniupnpcplus/upnp_device.hpp Examining data/freelan-2.2/libs/miniupnpcplus/src/error.cpp Examining data/freelan-2.2/libs/miniupnpcplus/src/miniupnpcplus.cpp Examining data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp Examining data/freelan-2.2/libs/mongooseplus/include/mongooseplus/error.hpp Examining data/freelan-2.2/libs/mongooseplus/include/mongooseplus/mongooseplus.hpp Examining data/freelan-2.2/libs/mongooseplus/src/error.cpp Examining data/freelan-2.2/libs/mongooseplus/src/mongoose.c Examining data/freelan-2.2/libs/mongooseplus/src/mongoose.h Examining data/freelan-2.2/libs/mongooseplus/src/mongooseplus.cpp Examining data/freelan-2.2/libs/netlinkplus/include/netlinkplus/endpoint.hpp Examining data/freelan-2.2/libs/netlinkplus/include/netlinkplus/error.hpp Examining data/freelan-2.2/libs/netlinkplus/include/netlinkplus/generic_message.hpp Examining data/freelan-2.2/libs/netlinkplus/include/netlinkplus/manager.hpp Examining data/freelan-2.2/libs/netlinkplus/include/netlinkplus/messages.hpp Examining data/freelan-2.2/libs/netlinkplus/include/netlinkplus/netlink.hpp Examining data/freelan-2.2/libs/netlinkplus/include/netlinkplus/protocol.hpp Examining data/freelan-2.2/libs/netlinkplus/src/error.cpp Examining data/freelan-2.2/libs/netlinkplus/src/manager.cpp Examining data/freelan-2.2/samples/asiotap/endpoint/endpoint.cpp Examining data/freelan-2.2/samples/asiotap/proxy/proxy.cpp Examining data/freelan-2.2/samples/asiotap/routes/routes.cpp Examining data/freelan-2.2/samples/asiotap/tap/tap.cpp Examining data/freelan-2.2/samples/asiotap/tun/tun.cpp Examining data/freelan-2.2/samples/cryptoplus/base64/base64.cpp Examining data/freelan-2.2/samples/cryptoplus/bio/bio.cpp Examining data/freelan-2.2/samples/cryptoplus/cipher/cipher.cpp Examining data/freelan-2.2/samples/cryptoplus/dh_key/dh_key.cpp Examining data/freelan-2.2/samples/cryptoplus/digest_sign/digest_sign.cpp Examining data/freelan-2.2/samples/cryptoplus/dsa_key/dsa_key.cpp Examining data/freelan-2.2/samples/cryptoplus/ecdhe/ecdhe.cpp Examining data/freelan-2.2/samples/cryptoplus/hmac/hmac.cpp Examining data/freelan-2.2/samples/cryptoplus/message_digest/message_digest.cpp Examining data/freelan-2.2/samples/cryptoplus/pbkdf2/pbkdf2.cpp Examining data/freelan-2.2/samples/cryptoplus/pkey/pkey.cpp Examining data/freelan-2.2/samples/cryptoplus/random/random.cpp Examining data/freelan-2.2/samples/cryptoplus/rsa_key/rsa_key.cpp Examining data/freelan-2.2/samples/cryptoplus/signature/signature.cpp Examining data/freelan-2.2/samples/cryptoplus/store/store.cpp Examining data/freelan-2.2/samples/cryptoplus/tls/tls.cpp Examining data/freelan-2.2/samples/cryptoplus/x509/x509.cpp Examining data/freelan-2.2/samples/fscp/client/client.cpp Examining data/freelan-2.2/samples/fscp/schat/schat.cpp Examining data/freelan-2.2/samples/iconvplus/basic/basic.cpp Examining data/freelan-2.2/samples/kfather/parsing/parsing.cpp Examining data/freelan-2.2/samples/miniupnpcplus/mapping/mapping.cpp Examining data/freelan-2.2/samples/netlinkplus/routing/routing.cpp FINAL RESULTS: data/freelan-2.2/libs/cryptoplus/include/cryptoplus/bio/bio_ptr.hpp:200:15: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. ptrdiff_t gets(char* buf, size_t buf_len) const; data/freelan-2.2/libs/cryptoplus/include/cryptoplus/bio/bio_ptr.hpp:562:29: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. inline ptrdiff_t bio_ptr::gets(char* buf, size_t buf_len) const data/freelan-2.2/apps/freelan/src/main.cpp:100:3: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. syslog(false), data/freelan-2.2/apps/freelan/src/main.cpp:112:7: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. bool syslog; data/freelan-2.2/apps/freelan/src/main.cpp:160: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. void signal_handler(const boost::system::error_code& error, int signal_number, fl::core& core, int& exit_signal) data/freelan-2.2/apps/freelan/src/main.cpp:461:22: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. log_func = &posix::syslog; data/freelan-2.2/apps/freelan/src/main.cpp:462:27: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. } else if (configuration.syslog) { data/freelan-2.2/apps/freelan/src/main.cpp:463:22: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. log_func = &posix::syslog; data/freelan-2.2/apps/freelan/src/posix/daemon.cpp:65: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. throw boost::system::system_error(errno, boost::system::system_category(), "Cannot fork the current process."); data/freelan-2.2/apps/freelan/src/posix/daemon.cpp:65: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. throw boost::system::system_error(errno, boost::system::system_category(), "Cannot fork the current process."); data/freelan-2.2/apps/freelan/src/posix/daemon.cpp:94:7: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. void syslog(fscp::log_level level, const std::string& msg, const boost::posix_time::ptime&) data/freelan-2.2/apps/freelan/src/posix/daemon.hpp:66:7: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. void syslog(fscp::log_level level, const std::string& msg, const boost::posix_time::ptime&); data/freelan-2.2/apps/freelan/src/posix/locked_pid_file.cpp:61: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. throw boost::system::system_error(errno, boost::system::system_category(), "Locking on the PID file"); data/freelan-2.2/apps/freelan/src/posix/locked_pid_file.cpp:61: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. throw boost::system::system_error(errno, boost::system::system_category(), "Locking on the PID file"); data/freelan-2.2/apps/freelan/src/posix/pid_file.cpp:66: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. throw boost::system::system_error(errno, boost::system::system_category(), "Creating PID file"); data/freelan-2.2/apps/freelan/src/posix/pid_file.cpp:66: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. throw boost::system::system_error(errno, boost::system::system_category(), "Creating PID file"); data/freelan-2.2/apps/freelan/src/posix/pid_file.cpp:82: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. throw boost::system::system_error(errno, boost::system::system_category(), "Writing PID file"); data/freelan-2.2/apps/freelan/src/posix/pid_file.cpp:82: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. throw boost::system::system_error(errno, boost::system::system_category(), "Writing PID file"); data/freelan-2.2/apps/freelan/src/system.cpp:79: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category(), "GetModuleFileName()"); data/freelan-2.2/apps/freelan/src/system.cpp:79:62: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category(), "GetModuleFileName()"); data/freelan-2.2/apps/freelan/src/system.cpp:93: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. catch (const boost::system::system_error&) data/freelan-2.2/apps/freelan/src/windows/service.cpp:95: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. throw boost::system::system_error(last_error, boost::system::system_category(), "OpenSCManager()"); data/freelan-2.2/apps/freelan/src/windows/service.cpp:95:59: [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. throw boost::system::system_error(last_error, boost::system::system_category(), "OpenSCManager()"); data/freelan-2.2/apps/freelan/src/windows/service.cpp:128: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. throw boost::system::system_error(last_error, boost::system::system_category(), "OpenService()"); data/freelan-2.2/apps/freelan/src/windows/service.cpp:128:59: [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. throw boost::system::system_error(last_error, boost::system::system_category(), "OpenService()"); data/freelan-2.2/apps/freelan/src/windows/service.cpp:158: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. throw boost::system::system_error(last_error, boost::system::system_category(), "DeleteService()"); data/freelan-2.2/apps/freelan/src/windows/service.cpp:158:59: [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. throw boost::system::system_error(last_error, boost::system::system_category(), "DeleteService()"); data/freelan-2.2/apps/freelan/src/windows/service.cpp:229: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. throw boost::system::system_error(last_error, boost::system::system_category(), "StartServiceCtrlDispatcher()"); data/freelan-2.2/apps/freelan/src/windows/service.cpp:229:59: [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. throw boost::system::system_error(last_error, boost::system::system_category(), "StartServiceCtrlDispatcher()"); data/freelan-2.2/apps/freelan/src/windows/service.cpp:274: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. throw boost::system::system_error(last_error, boost::system::system_category(), "CreateService()"); data/freelan-2.2/apps/freelan/src/windows/service.cpp:274:57: [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. throw boost::system::system_error(last_error, boost::system::system_category(), "CreateService()"); data/freelan-2.2/apps/freelan/src/windows/service.cpp:292: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& ex) data/freelan-2.2/apps/freelan/src/windows/service.cpp:294:39: [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 (ex.code().category() == boost::system::system_category()) data/freelan-2.2/apps/freelan/src/windows/service.cpp:351:11: [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 ec; data/freelan-2.2/apps/freelan/src/windows/service.cpp:571: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& ex) data/freelan-2.2/libs/asiotap/include/asiotap/base_dns_servers_manager.hpp:151:70: [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. typedef boost::function<void(const dns_server_type&, const boost::system::system_error&)> dns_server_registration_failure_handler_type; data/freelan-2.2/libs/asiotap/include/asiotap/base_dns_servers_manager.hpp:161:70: [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. typedef boost::function<void(const dns_server_type&, const boost::system::system_error&)> dns_server_unregistration_failure_handler_type; data/freelan-2.2/libs/asiotap/include/asiotap/base_dns_servers_manager.hpp:234: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. catch (boost::system::system_error& ex) data/freelan-2.2/libs/asiotap/include/asiotap/base_dns_servers_manager.hpp:266: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. catch (boost::system::system_error& ex) data/freelan-2.2/libs/asiotap/include/asiotap/base_route_manager.hpp:159:65: [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. typedef boost::function<void(const route_type&, const boost::system::system_error&)> route_registration_failure_handler_type; data/freelan-2.2/libs/asiotap/include/asiotap/base_route_manager.hpp:169:65: [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. typedef boost::function<void(const route_type&, const boost::system::system_error&)> route_unregistration_failure_handler_type; data/freelan-2.2/libs/asiotap/include/asiotap/base_route_manager.hpp:218: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. catch (boost::system::system_error& ex) data/freelan-2.2/libs/asiotap/include/asiotap/base_route_manager.hpp:242: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. catch (boost::system::system_error& ex) data/freelan-2.2/libs/asiotap/include/asiotap/base_tap_adapter.hpp:124:61: [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. size_t read(const MutableBufferSequence& buffers, boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/include/asiotap/base_tap_adapter.hpp:147: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. size_t write(const ConstBufferSequence& buffers, boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/include/asiotap/base_tap_adapter.hpp:164: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. void cancel(boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/include/asiotap/base_tap_adapter.hpp:235:11: [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 close(boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/include/asiotap/base_tap_adapter.hpp:235: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. boost::system::error_code close(boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/include/asiotap/error.hpp:61: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. const boost::system::error_category& asiotap_category(); data/freelan-2.2/libs/asiotap/include/asiotap/error.hpp:85: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_code make_error_code(asiotap_error error) data/freelan-2.2/libs/asiotap/include/asiotap/error.hpp:87: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(static_cast<int>(error), asiotap_category()); data/freelan-2.2/libs/asiotap/include/asiotap/error.hpp:95: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_condition make_error_condition(asiotap_error error) data/freelan-2.2/libs/asiotap/include/asiotap/error.hpp:97: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_condition(static_cast<int>(error), asiotap_category()); data/freelan-2.2/libs/asiotap/include/asiotap/error.hpp:103:46: [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. class asiotap_category_impl : public boost::system::error_category data/freelan-2.2/libs/asiotap/include/asiotap/error.hpp:123:12: [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 system data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_tap_adapter.hpp:86: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::error_code ec; data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_tap_adapter.hpp:111: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. void open(boost::system::error_code& ec); data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_tap_adapter.hpp:118:46: [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 open(const std::string& name, boost::system::error_code& ec); data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_tap_adapter.hpp:131:12: [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 ec; data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_tap_adapter.hpp:144:11: [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 close(boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_tap_adapter.hpp:144: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. boost::system::error_code close(boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_tap_adapter.hpp:201: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 destroy_device(boost::system::error_code& ec); data/freelan-2.2/libs/asiotap/include/asiotap/types/endpoint.hpp:126: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. typedef boost::function<void (const boost::system::error_code&, resolver_type::iterator)> handler_type; data/freelan-2.2/libs/asiotap/include/asiotap/types/endpoint.hpp:138: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. void operator()(const boost::system::error_code& ec, resolver_type::iterator it) data/freelan-2.2/libs/asiotap/include/asiotap/types/hostname_endpoint.hpp:79: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. typedef boost::function<void (const boost::system::error_code&, resolver::iterator)> handler; data/freelan-2.2/libs/asiotap/include/asiotap/types/ip_endpoint.hpp:88:46: [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. typedef boost::function<void(const boost::system::error_code&, resolver::iterator)> handler; data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:82: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. throw boost::system::system_error(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:82:55: [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. throw boost::system::system_error(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:136:99: [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 query_value(const std::string& value_name, DWORD& type, void* buf, size_t& buflen, boost::system::error_code& ec) const data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:146: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. ec = boost::system::error_code(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:146: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. ec = boost::system::error_code(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:152:67: [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. std::string query_string(const std::string& value_name, boost::system::error_code& ec) const data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:177:12: [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 ec; data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:183: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:189:77: [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::filesystem::path query_path(const std::string& value_name, boost::system::error_code& ec) const data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:214:12: [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 ec; data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:220: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:241: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. catch (const boost::system::system_error&) data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:252: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. throw boost::system::system_error(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:252:56: [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. throw boost::system::system_error(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:265: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. throw boost::system::system_error(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/include/asiotap/windows/registry.hpp:265:55: [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. throw boost::system::system_error(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/include/asiotap/windows/windows_tap_adapter.hpp:109: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. void open(boost::system::error_code& ec); data/freelan-2.2/libs/asiotap/include/asiotap/windows/windows_tap_adapter.hpp:116:46: [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 open(const std::string& name, boost::system::error_code& ec); data/freelan-2.2/libs/asiotap/src/error.cpp:49: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. const boost::system::error_category& asiotap_category() data/freelan-2.2/libs/asiotap/src/posix/posix_route_manager.cpp:106: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. throw boost::system::system_error(make_error_code(asiotap_error::external_process_output_parsing_error)); data/freelan-2.2/libs/asiotap/src/posix/posix_route_manager.cpp:133: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. throw boost::system::system_error(make_error_code(asiotap_error::external_process_output_parsing_error)); data/freelan-2.2/libs/asiotap/src/posix/posix_route_manager.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. throw boost::system::system_error(make_error_code(asiotap_error::external_process_output_parsing_error)); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:146:66: [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. descriptor_handler open_device(const std::string& name, boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:153: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:153: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:161:53: [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. descriptor_handler open_socket(int family, boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:167: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:167: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:177:11: [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 ec; data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:183: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:229:38: [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 posix_tap_adapter::open(boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:234:64: [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 posix_tap_adapter::open(const std::string& _name, boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:236: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. ec = boost::system::error_code(); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:243:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (::access(dev_name.c_str(), F_OK) == -1) data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:248: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:248: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:256: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:256: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:295: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:295: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:319: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:319: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:334: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:334: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:383: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:383: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:432: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:432: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:469: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 ec; data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:475: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:481: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 ec; data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:487: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:491: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. void posix_tap_adapter::destroy_device(boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:515: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:515: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:534: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:534: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:565: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:565: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:577: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:577: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:683: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:683: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:700: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:700: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:733: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:733:53: [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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:758: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:758: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:778: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:778: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:812: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:812:53: [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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:821: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. throw boost::system::system_error(make_error_code(asiotap_error::invalid_tap_adapter_layer)); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:857: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:857:53: [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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/stream_operations.cpp:103: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::error_code ec; data/freelan-2.2/libs/asiotap/src/windows/netsh.cpp:73: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/netsh.cpp:73:64: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/netsh.cpp:85: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/netsh.cpp:85:64: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/netsh.cpp:106: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/netsh.cpp:106:63: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/netsh.cpp:114: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/netsh.cpp:114:63: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:82: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. throw boost::system::system_error(make_error_code(asiotap_error::invalid_type)); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:257: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. throw boost::system::system_error(result, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:257:53: [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. throw boost::system::system_error(result, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:275: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. throw boost::system::system_error(result, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:275:53: [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. throw boost::system::system_error(result, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:287: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. throw boost::system::system_error(result, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:287:53: [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. throw boost::system::system_error(result, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:299: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. throw boost::system::system_error(result, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:299:53: [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. throw boost::system::system_error(result, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:93: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. catch (const boost::system::system_error&) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:119: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. catch (const boost::system::system_error&) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:145: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. catch (const boost::system::system_error&) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:172:40: [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 windows_tap_adapter::open(boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:196:66: [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 windows_tap_adapter::open(const std::string& _name, boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:198: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. ec = boost::system::error_code(); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:213: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. ec = boost::system::error_code(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:213: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. ec = boost::system::error_code(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:227: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. ec = boost::system::error_code(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:227: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. ec = boost::system::error_code(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:254: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. ec = boost::system::error_code(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:254:63: [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::error_code(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:270: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. ec = boost::system::error_code(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:270:63: [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::error_code(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:296: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. ec = boost::system::error_code(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:296:63: [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::error_code(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:307: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:322: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 ec; data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:328: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:341: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:341:63: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:369: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. throw boost::system::system_error(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:369: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. throw boost::system::system_error(status, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:424: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. throw boost::system::system_error(make_error_code(asiotap_error::invalid_ip_configuration)); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:449: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:449:65: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:463: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:463:65: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:471: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. throw boost::system::system_error(make_error_code(asiotap_error::invalid_ip_configuration)); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:482: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:497: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:513: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:535: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. throw boost::system::system_error(error, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:535: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. throw boost::system::system_error(error, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:548: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. throw boost::system::system_error(error, boost::system::system_category()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:548: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. throw boost::system::system_error(error, boost::system::system_category()); data/freelan-2.2/libs/cryptoplus/include/cryptoplus/error/error.hpp:257: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. const boost::system::error_category& cryptoplus_category(); data/freelan-2.2/libs/cryptoplus/include/cryptoplus/error/error.hpp:264: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_code make_error_code(error::error_type error) data/freelan-2.2/libs/cryptoplus/include/cryptoplus/error/error.hpp:266: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(static_cast<int>(error.error_code), cryptoplus_category()); data/freelan-2.2/libs/cryptoplus/include/cryptoplus/error/error.hpp:274: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_condition make_error_condition(error::error_type error) data/freelan-2.2/libs/cryptoplus/include/cryptoplus/error/error.hpp:276: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_condition(static_cast<int>(error.error_code), cryptoplus_category()); data/freelan-2.2/libs/cryptoplus/include/cryptoplus/error/error.hpp:282: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. class cryptoplus_category_impl : public boost::system::error_category data/freelan-2.2/libs/cryptoplus/include/cryptoplus/error/error.hpp:302:12: [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 system data/freelan-2.2/libs/cryptoplus/include/cryptoplus/error/helpers.hpp:56: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. throw boost::system::system_error(make_error_code(error::get_error())); data/freelan-2.2/libs/cryptoplus/src/error.cpp:55: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. const boost::system::error_category& cryptoplus_category() data/freelan-2.2/libs/executeplus/include/executeplus/error.hpp:60: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. const boost::system::error_category& executeplus_category(); data/freelan-2.2/libs/executeplus/include/executeplus/error.hpp:76: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_code make_error_code(executeplus_error error) data/freelan-2.2/libs/executeplus/include/executeplus/error.hpp:78: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(static_cast<int>(error), executeplus_category()); data/freelan-2.2/libs/executeplus/include/executeplus/error.hpp:86: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_condition make_error_condition(executeplus_error error) data/freelan-2.2/libs/executeplus/include/executeplus/error.hpp:88: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_condition(static_cast<int>(error), executeplus_category()); data/freelan-2.2/libs/executeplus/include/executeplus/error.hpp:94: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. class executeplus_category_impl : public boost::system::error_category data/freelan-2.2/libs/executeplus/include/executeplus/error.hpp:114:12: [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 system data/freelan-2.2/libs/executeplus/include/executeplus/posix_system.hpp:60:106: [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. int execute(const std::vector<std::string>& args, const std::map<std::string, std::string>& env, boost::system::error_code& ec, std::ostream* output = nullptr); data/freelan-2.2/libs/executeplus/include/executeplus/windows_system.hpp:61:109: [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. int execute(const std::vector<std::wstring>& args, const std::map<std::wstring, std::wstring>& env, boost::system::error_code& ec); data/freelan-2.2/libs/executeplus/include/executeplus/windows_system.hpp:66:106: [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. int execute(const std::vector<std::string>& args, const std::map<std::string, std::string>& env, boost::system::error_code& ec); data/freelan-2.2/libs/executeplus/src/error.cpp:49: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. const boost::system::error_category& executeplus_category() data/freelan-2.2/libs/executeplus/src/posix_system.cpp:91:106: [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. int execute(const std::vector<std::string>& args, const std::map<std::string, std::string>& env, boost::system::error_code& ec, std::ostream* output) data/freelan-2.2/libs/executeplus/src/posix_system.cpp:117: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:117: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:128: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:128: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:150: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:150: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:269: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:269: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. ec = boost::system::error_code(errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:275: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. ec = boost::system::error_code(child_errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:275:58: [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::error_code(child_errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:284: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. ec = boost::system::error_code(child_errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:284:58: [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::error_code(child_errno, boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:311: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 ec; data/freelan-2.2/libs/executeplus/src/posix_system.cpp:317: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:327: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. throw boost::system::system_error(make_error_code(executeplus_error::external_process_failed)); data/freelan-2.2/libs/executeplus/src/windows_system.cpp:300: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/windows_system.cpp:300:64: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/windows_system.cpp:320: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/windows_system.cpp:320:67: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/windows_system.cpp:327: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/windows_system.cpp:327:66: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/executeplus/src/windows_system.cpp:335:158: [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. int do_execute(const std::vector<std::basic_string<CharType>>& args, const std::map<std::basic_string<CharType>, std::basic_string<CharType>>& env, boost::system::error_code& ec) data/freelan-2.2/libs/executeplus/src/windows_system.cpp:372:11: [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 ec; data/freelan-2.2/libs/executeplus/src/windows_system.cpp:378: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/executeplus/src/windows_system.cpp:389: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. throw boost::system::system_error(make_error_code(executeplus_error::external_process_failed)); data/freelan-2.2/libs/executeplus/src/windows_system.cpp:407:109: [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. int execute(const std::vector<std::wstring>& args, const std::map<std::wstring, std::wstring>& env, boost::system::error_code& ec) data/freelan-2.2/libs/executeplus/src/windows_system.cpp:409:106: [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. int execute(const std::vector<std::string>& args, const std::map<std::string, std::string>& env, boost::system::error_code& ec) data/freelan-2.2/libs/freelan/include/freelan/core.hpp:153: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. typedef boost::function<void (const boost::system::error_code&)> simple_handler_type; data/freelan-2.2/libs/freelan/include/freelan/core.hpp:158: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. typedef boost::function<void (const boost::system::error_code&, size_t)> io_handler_type; data/freelan-2.2/libs/freelan/include/freelan/core.hpp:163:65: [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. typedef boost::function<void (const std::map<ep_type, boost::system::error_code>&)> multiple_endpoints_handler_type; data/freelan-2.2/libs/freelan/include/freelan/core.hpp:168:63: [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. typedef boost::function<void (const ep_type&, const boost::system::error_code&, const boost::posix_time::time_duration& duration)> duration_handler_type; data/freelan-2.2/libs/freelan/include/freelan/core.hpp:499:73: [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 do_handle_contact(const endpoint&, const ep_type&, const boost::system::error_code&, const boost::posix_time::time_duration&); data/freelan-2.2/libs/freelan/include/freelan/core.hpp:500: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. void do_handle_periodic_contact(const boost::system::error_code&); data/freelan-2.2/libs/freelan/include/freelan/core.hpp:501:57: [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 do_handle_periodic_dynamic_contact(const boost::system::error_code&); data/freelan-2.2/libs/freelan/include/freelan/core.hpp:502:56: [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 do_handle_periodic_routes_request(const boost::system::error_code&); data/freelan-2.2/libs/freelan/include/freelan/core.hpp:503: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. void do_handle_send_contact_request(const ep_type&, const boost::system::error_code&); data/freelan-2.2/libs/freelan/include/freelan/core.hpp:504:78: [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 do_handle_send_contact_request_to_all(const std::map<ep_type, boost::system::error_code>&); data/freelan-2.2/libs/freelan/include/freelan/core.hpp:505:61: [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 do_handle_introduce_to(const ep_type&, const boost::system::error_code&); data/freelan-2.2/libs/freelan/include/freelan/core.hpp:506:64: [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 do_handle_request_session(const ep_type&, const boost::system::error_code&); data/freelan-2.2/libs/freelan/include/freelan/core.hpp:507:68: [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 do_handle_send_routes_request(const ep_type&, const boost::system::error_code&); data/freelan-2.2/libs/freelan/include/freelan/core.hpp:508:77: [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 do_handle_send_routes_request_to_all(const std::map<ep_type, boost::system::error_code>&); data/freelan-2.2/libs/freelan/include/freelan/core.hpp:591: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. void do_handle_tap_adapter_read(fscp::SharedBuffer, const boost::system::error_code&, size_t); data/freelan-2.2/libs/freelan/include/freelan/core.hpp:592: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. void do_handle_tap_adapter_write(const boost::system::error_code&); data/freelan-2.2/libs/freelan/include/freelan/router.hpp:92: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. typedef boost::function<void (boost::system::error_code)> write_handler_type; data/freelan-2.2/libs/freelan/include/freelan/switch.hpp:81: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. typedef std::map<port_index_type, boost::system::error_code> multi_write_result_type; data/freelan-2.2/libs/freelan/include/freelan/switch.hpp:98: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. typedef boost::function<void (boost::system::error_code)> write_handler_type; data/freelan-2.2/libs/freelan/src/client.cpp:211:87: [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_curl_multi_asio->execute(request, [self, request, buffer, count, handler] (boost::system::error_code ec) { data/freelan-2.2/libs/freelan/src/client.cpp:240: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/freelan/src/client.cpp:266:87: [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_curl_multi_asio->execute(request, [self, request, buffer, count, handler] (boost::system::error_code ec) { data/freelan-2.2/libs/freelan/src/client.cpp:295: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/freelan/src/client.cpp:325:87: [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_curl_multi_asio->execute(request, [self, request, buffer, count, handler] (boost::system::error_code ec) { data/freelan-2.2/libs/freelan/src/client.cpp:405:87: [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_curl_multi_asio->execute(request, [self, request, buffer, count, handler] (boost::system::error_code ec) { data/freelan-2.2/libs/freelan/src/client.cpp:451:87: [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_curl_multi_asio->execute(request, [self, request, buffer, count, handler] (boost::system::error_code ec) { data/freelan-2.2/libs/freelan/src/client.cpp:535:87: [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_curl_multi_asio->execute(request, [self, request, buffer, count, handler] (boost::system::error_code ec) { data/freelan-2.2/libs/freelan/src/client.hpp:70: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. typedef boost::function<void (const boost::system::error_code&, cryptoplus::x509::certificate)> request_certificate_callback; data/freelan-2.2/libs/freelan/src/client.hpp:71: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. typedef boost::function<void (const boost::system::error_code&, const boost::posix_time::ptime&)> registration_callback; data/freelan-2.2/libs/freelan/src/client.hpp:72: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. typedef boost::function<void (const boost::system::error_code&)> unregistration_callback; data/freelan-2.2/libs/freelan/src/client.hpp:73: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. typedef boost::function<void (const boost::system::error_code&, const std::set<asiotap::endpoint>&, const std::set<asiotap::endpoint>&)> set_contact_information_callback; data/freelan-2.2/libs/freelan/src/client.hpp:74: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. typedef boost::function<void (const boost::system::error_code&, const std::map<fscp::hash_type, std::set<asiotap::endpoint>>&)> get_contact_information_callback; data/freelan-2.2/libs/freelan/src/core.cpp:88: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. void null_simple_write_handler(const boost::system::error_code&) data/freelan-2.2/libs/freelan/src/core.cpp:96: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. void null_router_write_handler(const boost::system::error_code&) data/freelan-2.2/libs/freelan/src/core.cpp:499:127: [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_route_manager.set_route_registration_failure_handler([this](const asiotap::route_manager::route_type& route, const boost::system::system_error& ex){ data/freelan-2.2/libs/freelan/src/core.cpp:505:129: [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_route_manager.set_route_unregistration_failure_handler([this](const asiotap::route_manager::route_type& route, const boost::system::system_error& ex){ data/freelan-2.2/libs/freelan/src/core.cpp:513: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. throw boost::system::system_error(make_error_code(asiotap::asiotap_error::external_process_execution_failed)); data/freelan-2.2/libs/freelan/src/core.cpp:519: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. throw boost::system::system_error(make_error_code(asiotap::asiotap_error::no_dns_script_provided)); data/freelan-2.2/libs/freelan/src/core.cpp:528: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. throw boost::system::system_error(make_error_code(asiotap::asiotap_error::external_process_execution_failed)); data/freelan-2.2/libs/freelan/src/core.cpp:536: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. throw boost::system::system_error(make_error_code(asiotap::asiotap_error::no_dns_script_provided)); data/freelan-2.2/libs/freelan/src/core.cpp:545:154: [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_dns_servers_manager.set_dns_server_registration_failure_handler([this](const asiotap::dns_servers_manager::dns_server_type& dns_server, const boost::system::system_error& ex){ data/freelan-2.2/libs/freelan/src/core.cpp:551:156: [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_dns_servers_manager.set_dns_server_unregistration_failure_handler([this](const asiotap::dns_servers_manager::dns_server_type& dns_server, const boost::system::system_error& ex){ data/freelan-2.2/libs/freelan/src/core.cpp:697:122: [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_logger(fscp::log_level::warning) << "Unable to restrict traffic on: " << device_name << ". Error was: " << boost::system::error_code(errno, boost::system::system_category()).message(); data/freelan-2.2/libs/freelan/src/core.cpp:697:155: [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_logger(fscp::log_level::warning) << "Unable to restrict traffic on: " << device_name << ". Error was: " << boost::system::error_code(errno, boost::system::system_category()).message(); data/freelan-2.2/libs/freelan/src/core.cpp:745:71: [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. const auto resolve_handler = [this, handler, target1] (const boost::system::error_code& ec, boost::asio::ip::udp::resolver::iterator it) data/freelan-2.2/libs/freelan/src/core.cpp:975:90: [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 core::do_handle_contact(const endpoint& host, const ep_type& address, const boost::system::error_code& ec, const boost::posix_time::time_duration& duration) data/freelan-2.2/libs/freelan/src/core.cpp:996:53: [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 core::do_handle_periodic_contact(const boost::system::error_code& ec) data/freelan-2.2/libs/freelan/src/core.cpp:1007:61: [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 core::do_handle_periodic_dynamic_contact(const boost::system::error_code& ec) data/freelan-2.2/libs/freelan/src/core.cpp:1018: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. void core::do_handle_periodic_routes_request(const boost::system::error_code& ec) data/freelan-2.2/libs/freelan/src/core.cpp:1029:80: [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 core::do_handle_send_contact_request(const ep_type& target, const boost::system::error_code& ec) data/freelan-2.2/libs/freelan/src/core.cpp:1037:82: [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 core::do_handle_send_contact_request_to_all(const std::map<ep_type, boost::system::error_code>& results) data/freelan-2.2/libs/freelan/src/core.cpp:1039: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. for (std::map<ep_type, boost::system::error_code>::const_iterator result = results.begin(); result != results.end(); ++result) data/freelan-2.2/libs/freelan/src/core.cpp:1045:72: [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 core::do_handle_introduce_to(const ep_type& target, const boost::system::error_code& ec) data/freelan-2.2/libs/freelan/src/core.cpp:1053:75: [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 core::do_handle_request_session(const ep_type& target, const boost::system::error_code& ec) data/freelan-2.2/libs/freelan/src/core.cpp:1061:79: [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 core::do_handle_send_routes_request(const ep_type& target, const boost::system::error_code& ec) data/freelan-2.2/libs/freelan/src/core.cpp:1069:81: [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 core::do_handle_send_routes_request_to_all(const std::map<ep_type, boost::system::error_code>& results) data/freelan-2.2/libs/freelan/src/core.cpp:1071: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. for (std::map<ep_type, boost::system::error_code>::const_iterator result = results.begin(); result != results.end(); ++result) data/freelan-2.2/libs/freelan/src/core.cpp:2019:67: [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_tap_adapter->async_write(data, [this, handler] (const boost::system::error_code& ec, size_t) { data/freelan-2.2/libs/freelan/src/core.cpp:2083:82: [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 core::do_handle_tap_adapter_read(SharedBuffer receive_buffer, const boost::system::error_code& ec, size_t count) data/freelan-2.2/libs/freelan/src/core.cpp:2169: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. void core::do_handle_tap_adapter_write(const boost::system::error_code& ec) data/freelan-2.2/libs/freelan/src/core.cpp:2520:92: [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_web_client->request_certificate(certificate_request, [this, private_key](const boost::system::error_code& ec, cryptoplus::x509::certificate certificate) { data/freelan-2.2/libs/freelan/src/core.cpp:2527:66: [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_request_certificate.timer.async_wait([this](const boost::system::error_code& ec2) { data/freelan-2.2/libs/freelan/src/core.cpp:2569:63: [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_renew_certificate_timer.async_wait([this](const boost::system::error_code& ec2) { data/freelan-2.2/libs/freelan/src/core.cpp:2590:61: [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_web_client->request_ca_certificate([this](const boost::system::error_code& ec, cryptoplus::x509::certificate certificate) { data/freelan-2.2/libs/freelan/src/core.cpp:2597: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. m_request_ca_certificate.timer.async_wait([this](const boost::system::error_code& ec2) { data/freelan-2.2/libs/freelan/src/core.cpp:2632:64: [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_registration_retry.timer.async_wait([this](const boost::system::error_code& ec2) { data/freelan-2.2/libs/freelan/src/core.cpp:2646:109: [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_web_client->register_(m_configuration.security.identity->signature_certificate(), [this](const boost::system::error_code& ec, const boost::posix_time::ptime& expiration_timestamp) { data/freelan-2.2/libs/freelan/src/core.cpp:2652:66: [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_registration_retry.timer.async_wait([this](const boost::system::error_code& ec2) { data/freelan-2.2/libs/freelan/src/core.cpp:2675:66: [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_registration_retry.timer.async_wait([this](const boost::system::error_code& ec2) { data/freelan-2.2/libs/freelan/src/core.cpp:2701: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. m_web_client->unregister([this](const boost::system::error_code& ec) { data/freelan-2.2/libs/freelan/src/core.cpp:2726:74: [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_set_contact_information_retry.timer.async_wait([this](const boost::system::error_code& ec2) { data/freelan-2.2/libs/freelan/src/core.cpp:2764:81: [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_web_client->set_contact_information(public_endpoints, [this](const boost::system::error_code& ec, const std::set<asiotap::endpoint>& accepted_endpoints, const std::set<asiotap::endpoint>& rejected_endpoints) { data/freelan-2.2/libs/freelan/src/core.cpp:2770:76: [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_set_contact_information_retry.timer.async_wait([this](const boost::system::error_code& ec2) { data/freelan-2.2/libs/freelan/src/core.cpp:2835:74: [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_get_contact_information_retry.timer.async_wait([this](const boost::system::error_code& ec2) { data/freelan-2.2/libs/freelan/src/core.cpp:2849:83: [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_web_client->get_contact_information(requested_contacts, [this](const boost::system::error_code& ec, const std::map<fscp::hash_type, std::set<asiotap::endpoint>>& contacts) { data/freelan-2.2/libs/freelan/src/core.cpp:2855:76: [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_get_contact_information_retry.timer.async_wait([this](const boost::system::error_code& ec2) { data/freelan-2.2/libs/freelan/src/core.cpp:2867:76: [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_get_contact_information_retry.timer.async_wait([this](const boost::system::error_code& ec2) { data/freelan-2.2/libs/freelan/src/curl.cpp:64: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. throw boost::system::system_error(make_error_code(errorcode)); data/freelan-2.2/libs/freelan/src/curl.cpp:72: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. throw boost::system::system_error(make_error_code(errorcode)); data/freelan-2.2/libs/freelan/src/curl.cpp:375: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 curl::get_system_error() data/freelan-2.2/libs/freelan/src/curl.cpp:383: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(error, boost::system::system_category()); data/freelan-2.2/libs/freelan/src/curl.cpp:383: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. return boost::system::error_code(error, boost::system::system_category()); data/freelan-2.2/libs/freelan/src/curl.cpp:386: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(); data/freelan-2.2/libs/freelan/src/curl.cpp:644:66: [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. _curl_multi_asio.m_strand.wrap([self, handler] (const boost::system::error_code& ec, size_t) { data/freelan-2.2/libs/freelan/src/curl.cpp:669:66: [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. _curl_multi_asio.m_strand.wrap([self, handler] (const boost::system::error_code& ec, size_t) { data/freelan-2.2/libs/freelan/src/curl.cpp:695:83: [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. pself.m_strand.post(boost::bind(&curl_multi_asio::timer_callback, self, boost::system::error_code())); data/freelan-2.2/libs/freelan/src/curl.cpp:779: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. void curl_multi_asio::timer_callback(const boost::system::error_code& ec) data/freelan-2.2/libs/freelan/src/curl.cpp:790:53: [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 curl_multi_asio::socket_callback(const boost::system::error_code& ec, boost::shared_ptr<curl_socket> socket) data/freelan-2.2/libs/freelan/src/curl.hpp:409:11: [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 get_system_error(); data/freelan-2.2/libs/freelan/src/curl.hpp:596: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. typedef boost::function<void (const boost::system::error_code&)> connection_complete_callback; data/freelan-2.2/libs/freelan/src/curl.hpp:686: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. void timer_callback(const boost::system::error_code& ec); data/freelan-2.2/libs/freelan/src/curl.hpp:687:38: [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 socket_callback(const boost::system::error_code& ec, boost::shared_ptr<curl_socket> socket); data/freelan-2.2/libs/freelan/src/curl_error.cpp:50: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. const boost::system::error_category& curl_category() data/freelan-2.2/libs/freelan/src/curl_error.cpp:67: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. const boost::system::error_category& curlm_category() data/freelan-2.2/libs/freelan/src/curl_error.hpp:64: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. const boost::system::error_category& curl_category(); data/freelan-2.2/libs/freelan/src/curl_error.hpp:71: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_code make_error_code(CURLcode error) data/freelan-2.2/libs/freelan/src/curl_error.hpp:73: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(static_cast<int>(error), curl_category()); data/freelan-2.2/libs/freelan/src/curl_error.hpp:81: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_condition make_error_condition(CURLcode error) data/freelan-2.2/libs/freelan/src/curl_error.hpp:83: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_condition(static_cast<int>(error), curl_category()); data/freelan-2.2/libs/freelan/src/curl_error.hpp:89: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. class curl_category_impl : public boost::system::error_category data/freelan-2.2/libs/freelan/src/curl_error.hpp:112: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. const boost::system::error_category& curlm_category(); data/freelan-2.2/libs/freelan/src/curl_error.hpp:119: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_code make_error_code(CURLMcode error) data/freelan-2.2/libs/freelan/src/curl_error.hpp:121: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(static_cast<int>(error), curlm_category()); data/freelan-2.2/libs/freelan/src/curl_error.hpp:129: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_condition make_error_condition(CURLMcode error) data/freelan-2.2/libs/freelan/src/curl_error.hpp:131: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_condition(static_cast<int>(error), curlm_category()); data/freelan-2.2/libs/freelan/src/curl_error.hpp:137: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. class curlm_category_impl : public boost::system::error_category data/freelan-2.2/libs/freelan/src/curl_error.hpp:157:12: [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 system data/freelan-2.2/libs/freelan/src/switch.cpp:119: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. typedef results_gatherer<port_index_type, boost::system::error_code, multi_write_handler_type> results_gatherer_type; data/freelan-2.2/libs/freelan/src/tools.cpp:80: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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/freelan/src/tools.cpp:80:62: [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. throw boost::system::system_error(::GetLastError(), boost::system::system_category()); data/freelan-2.2/libs/freelan/src/tools.cpp:89: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/freelan/src/tools.cpp:89: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. throw boost::system::system_error(errno, boost::system::system_category()); data/freelan-2.2/libs/freelan/src/web_client_error.cpp:50: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. const boost::system::error_category& web_client_category() data/freelan-2.2/libs/freelan/src/web_client_error.hpp:62: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. const boost::system::error_category& web_client_category(); data/freelan-2.2/libs/freelan/src/web_client_error.hpp:79: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_code make_error_code(web_client_error error) data/freelan-2.2/libs/freelan/src/web_client_error.hpp:81: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(static_cast<int>(error), web_client_category()); data/freelan-2.2/libs/freelan/src/web_client_error.hpp:89: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_condition make_error_condition(web_client_error error) data/freelan-2.2/libs/freelan/src/web_client_error.hpp:91: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_condition(static_cast<int>(error), web_client_category()); data/freelan-2.2/libs/freelan/src/web_client_error.hpp:97: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. class web_client_category_impl : public boost::system::error_category data/freelan-2.2/libs/freelan/src/web_client_error.hpp:117:12: [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 system data/freelan-2.2/libs/fscp/include/fscp/server.hpp:125: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. typedef boost::function<void (const boost::system::error_code&)> simple_handler_type; data/freelan-2.2/libs/fscp/include/fscp/server.hpp:135:65: [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. typedef boost::function<void (const std::map<ep_type, boost::system::error_code>&)> multiple_endpoints_handler_type; data/freelan-2.2/libs/fscp/include/fscp/server.hpp:140: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. typedef boost::function<void (const boost::system::error_code&, const boost::posix_time::time_duration& duration)> duration_handler_type; data/freelan-2.2/libs/fscp/include/fscp/server.hpp:469:11: [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 sync_introduce_to(const ep_type& target); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:483: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. std::map<ep_type, boost::system::error_code> sync_reintroduce_to_all(); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:610:11: [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 sync_request_session(const ep_type& target); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:624:11: [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 sync_close_session(const ep_type& target); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:958:11: [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 sync_send_data(const ep_type& target, channel_number_type channel_number, boost::asio::const_buffer data); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:992: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. std::map<ep_type, boost::system::error_code> sync_send_data_to_list(const std::set<ep_type>& targets, channel_number_type channel_number, boost::asio::const_buffer data); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1005: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. std::map<ep_type, boost::system::error_code> sync_send_data_to_list(EPIterator begin, EPIterator end, channel_number_type channel_number, boost::asio::const_buffer data) data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1029: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. std::map<ep_type, boost::system::error_code> sync_send_data_to_all(channel_number_type channel_number, boost::asio::const_buffer data); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1047:11: [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 sync_send_contact_request(const ep_type& target, const hash_list_type& hash_list); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1078: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. std::map<ep_type, boost::system::error_code> sync_send_contact_request_to_list(const std::set<ep_type>& targets, const hash_list_type& hash_list); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1090: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. std::map<ep_type, boost::system::error_code> sync_send_contact_request_to_list(EPIterator begin, EPIterator end, const hash_list_type& hash_list) data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1112: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. std::map<ep_type, boost::system::error_code> sync_send_contact_request_to_all(const hash_list_type& hash_list); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1130:11: [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 sync_send_contact(const ep_type& target, const contact_map_type& contact_map); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1161: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. std::map<ep_type, boost::system::error_code> sync_send_contact_to_list(const std::set<ep_type>& targets, const contact_map_type& contact_map); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1173: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. std::map<ep_type, boost::system::error_code> sync_send_contact_to_list(EPIterator begin, EPIterator end, const contact_map_type& contact_map) data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1195: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. std::map<ep_type, boost::system::error_code> sync_send_contact_to_all(const contact_map_type& contact_map); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1300:107: [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 handle_receive_from(const identity_store&, boost::shared_ptr<ep_type>, SharedBuffer, const boost::system::error_code&, size_t); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1307:90: [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_socket.async_send_to(buffer(data, size), target, 0, [data, handler] (const boost::system::error_code& ec, size_t) { data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1418:129: [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 do_greet_handler(const ep_type&, uint32_t, duration_handler_type, const boost::posix_time::time_duration&, const boost::system::error_code&); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1419:88: [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 do_greet_timeout(const ep_type&, uint32_t, duration_handler_type, const boost::system::error_code&); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1433: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. void do_hello_reset_limit(const boost::system::error_code& ec); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1478: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. void do_presentation_reset_limit(const boost::system::error_code& ec); data/freelan-2.2/libs/fscp/include/fscp/server.hpp:1596: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. void do_check_keep_alive(const boost::system::error_code&); data/freelan-2.2/libs/fscp/include/fscp/server_error.hpp:61: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. const boost::system::error_category& server_category(); data/freelan-2.2/libs/fscp/include/fscp/server_error.hpp:83: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. inline boost::system::error_code make_error_code(server_error_t error) data/freelan-2.2/libs/fscp/include/fscp/server_error.hpp:85: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(static_cast<int>(error), server_category()); data/freelan-2.2/libs/fscp/include/fscp/server_error.hpp:93: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. inline boost::system::error_condition make_error_condition(server_error_t error) data/freelan-2.2/libs/fscp/include/fscp/server_error.hpp:95: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(static_cast<int>(error), server_category()); data/freelan-2.2/libs/fscp/include/fscp/server_error.hpp:102: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. class server_category_impl : public boost::system::error_category data/freelan-2.2/libs/fscp/include/fscp/server_error.hpp:122:12: [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 system data/freelan-2.2/libs/fscp/src/server.cpp:81:41: [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 null_simple_handler(const boost::system::error_code&) {} data/freelan-2.2/libs/fscp/src/server.cpp:82:79: [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 null_multiple_endpoints_handler(const std::map<server::ep_type, boost::system::error_code>&) {} data/freelan-2.2/libs/fscp/src/server.cpp:277: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&) data/freelan-2.2/libs/fscp/src/server.cpp:369: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/fscp/src/server.cpp:406: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 server::sync_introduce_to(const ep_type& target) data/freelan-2.2/libs/fscp/src/server.cpp:408: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. typedef boost::promise<boost::system::error_code> promise_type; data/freelan-2.2/libs/fscp/src/server.cpp:411: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. void (promise_type::*setter)(const boost::system::error_code&) = &promise_type::set_value; data/freelan-2.2/libs/fscp/src/server.cpp:423: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. std::map<server::ep_type, boost::system::error_code> server::sync_reintroduce_to_all() data/freelan-2.2/libs/fscp/src/server.cpp:425: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. typedef std::map<server::ep_type, boost::system::error_code> result_type; data/freelan-2.2/libs/fscp/src/server.cpp:528: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 server::sync_close_session(const ep_type& target) data/freelan-2.2/libs/fscp/src/server.cpp:530: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. typedef boost::promise<boost::system::error_code> promise_type; data/freelan-2.2/libs/fscp/src/server.cpp:533: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. void (promise_type::*setter)(const boost::system::error_code&) = &promise_type::set_value; data/freelan-2.2/libs/fscp/src/server.cpp:566: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 server::sync_request_session(const ep_type& target) data/freelan-2.2/libs/fscp/src/server.cpp:568: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. typedef boost::promise<boost::system::error_code> promise_type; data/freelan-2.2/libs/fscp/src/server.cpp:571: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. void (promise_type::*setter)(const boost::system::error_code&) = &promise_type::set_value; data/freelan-2.2/libs/fscp/src/server.cpp:683: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 server::sync_send_data(const ep_type& target, channel_number_type channel_number, boost::asio::const_buffer data) data/freelan-2.2/libs/fscp/src/server.cpp:685: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. typedef boost::promise<boost::system::error_code> promise_type; data/freelan-2.2/libs/fscp/src/server.cpp:688: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. void (promise_type::*setter)(const boost::system::error_code&) = &promise_type::set_value; data/freelan-2.2/libs/fscp/src/server.cpp:702: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. std::map<server::ep_type, boost::system::error_code> server::sync_send_data_to_list(const std::set<ep_type>& targets, channel_number_type channel_number, boost::asio::const_buffer data) data/freelan-2.2/libs/fscp/src/server.cpp:704: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. typedef std::map<server::ep_type, boost::system::error_code> result_type; data/freelan-2.2/libs/fscp/src/server.cpp:716: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. std::map<server::ep_type, boost::system::error_code> server::sync_send_data_to_all(channel_number_type channel_number, boost::asio::const_buffer data) data/freelan-2.2/libs/fscp/src/server.cpp:718: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. typedef std::map<server::ep_type, boost::system::error_code> result_type; data/freelan-2.2/libs/fscp/src/server.cpp:735: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 server::sync_send_contact_request(const ep_type& target, const hash_list_type& hash_list) data/freelan-2.2/libs/fscp/src/server.cpp:737: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. typedef boost::promise<boost::system::error_code> promise_type; data/freelan-2.2/libs/fscp/src/server.cpp:740: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. void (promise_type::*setter)(const boost::system::error_code&) = &promise_type::set_value; data/freelan-2.2/libs/fscp/src/server.cpp:754: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. std::map<server::ep_type, boost::system::error_code> server::sync_send_contact_request_to_list(const std::set<ep_type>& targets, const hash_list_type& hash_list) data/freelan-2.2/libs/fscp/src/server.cpp:756: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. typedef std::map<server::ep_type, boost::system::error_code> result_type; data/freelan-2.2/libs/fscp/src/server.cpp:768: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. std::map<server::ep_type, boost::system::error_code> server::sync_send_contact_request_to_all(const hash_list_type& hash_list) data/freelan-2.2/libs/fscp/src/server.cpp:770: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. typedef std::map<server::ep_type, boost::system::error_code> result_type; data/freelan-2.2/libs/fscp/src/server.cpp:787: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 server::sync_send_contact(const ep_type& target, const contact_map_type& contact_map) data/freelan-2.2/libs/fscp/src/server.cpp:789: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. typedef boost::promise<boost::system::error_code> promise_type; data/freelan-2.2/libs/fscp/src/server.cpp:792: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. void (promise_type::*setter)(const boost::system::error_code&) = &promise_type::set_value; data/freelan-2.2/libs/fscp/src/server.cpp:806: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. std::map<server::ep_type, boost::system::error_code> server::sync_send_contact_to_list(const std::set<ep_type>& targets, const contact_map_type& contact_map) data/freelan-2.2/libs/fscp/src/server.cpp:808: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. typedef std::map<server::ep_type, boost::system::error_code> result_type; data/freelan-2.2/libs/fscp/src/server.cpp:820: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. std::map<server::ep_type, boost::system::error_code> server::sync_send_contact_to_all(const contact_map_type& contact_map) data/freelan-2.2/libs/fscp/src/server.cpp:822: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. typedef std::map<server::ep_type, boost::system::error_code> result_type; data/freelan-2.2/libs/fscp/src/server.cpp:921:134: [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 server::handle_receive_from(const identity_store& identity, boost::shared_ptr<ep_type> sender, SharedBuffer data, const boost::system::error_code& ec, size_t bytes_received) data/freelan-2.2/libs/fscp/src/server.cpp:1181:91: [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_greet_strand.wrap([this, target, hello_unique_number, handler, timeout](const boost::system::error_code& ec) { data/freelan-2.2/libs/fscp/src/server.cpp:1187:178: [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 server::do_greet_handler(const ep_type& target, uint32_t hello_unique_number, duration_handler_type handler, const boost::posix_time::time_duration& timeout, const boost::system::error_code& ec) data/freelan-2.2/libs/fscp/src/server.cpp:1202:129: [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 server::do_greet_timeout(const ep_type& target, uint32_t hello_unique_number, duration_handler_type handler, const boost::system::error_code& ec) data/freelan-2.2/libs/fscp/src/server.cpp:1310: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. [](const boost::system::error_code&) {} data/freelan-2.2/libs/fscp/src/server.cpp:1334: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. void server::do_hello_reset_limit(const boost::system::error_code& ec) data/freelan-2.2/libs/fscp/src/server.cpp:1401: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/fscp/src/server.cpp:1410: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. typedef results_gatherer<ep_type, boost::system::error_code, multiple_endpoints_handler_type> results_gatherer_type; data/freelan-2.2/libs/fscp/src/server.cpp:1524:56: [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 server::do_presentation_reset_limit(const boost::system::error_code& ec) data/freelan-2.2/libs/fscp/src/server.cpp:1656: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/fscp/src/server.cpp:1947: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. [] (const boost::system::error_code&) {} data/freelan-2.2/libs/fscp/src/server.cpp:1950: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/fscp/src/server.cpp:2196: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. typedef results_gatherer<ep_type, boost::system::error_code, multiple_endpoints_handler_type> results_gatherer_type; data/freelan-2.2/libs/fscp/src/server.cpp:2272: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/fscp/src/server.cpp:2289: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. typedef results_gatherer<ep_type, boost::system::error_code, multiple_endpoints_handler_type> results_gatherer_type; data/freelan-2.2/libs/fscp/src/server.cpp:2348: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/fscp/src/server.cpp:2365: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. typedef results_gatherer<ep_type, boost::system::error_code, multiple_endpoints_handler_type> results_gatherer_type; data/freelan-2.2/libs/fscp/src/server.cpp:2424: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/fscp/src/server.cpp:2503: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/fscp/src/server.cpp:2633: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. void server::do_check_keep_alive(const boost::system::error_code& ec) data/freelan-2.2/libs/fscp/src/server.cpp:2703: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. catch (const boost::system::system_error& ex) data/freelan-2.2/libs/fscp/src/server_error.cpp:49: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. const boost::system::error_category& server_category() data/freelan-2.2/libs/iconvplus/include/iconvplus/converter.hpp:166:71: [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. bool convert(input_stream_type& is, output_stream_type& os, boost::system::error_code& ec, size_t* non_reversible_conversions = NULL); data/freelan-2.2/libs/iconvplus/include/iconvplus/converter.hpp:205: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 ec; data/freelan-2.2/libs/iconvplus/include/iconvplus/converter.hpp:209: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/iconvplus/include/iconvplus/iconv_error_category.hpp:55: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. class iconv_error_category : public boost::system::error_category data/freelan-2.2/libs/iconvplus/include/iconvplus/iconv_instance.hpp:171:73: [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. bool write_initial_state(char** outbuf, size_t* outbytesleft, boost::system::error_code& ec) const; data/freelan-2.2/libs/iconvplus/include/iconvplus/iconv_instance.hpp:193:104: [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. size_t convert(const char** inbuf, size_t* inbytesleft, char** outbuf, size_t* outbytesleft, boost::system::error_code& ec) const; data/freelan-2.2/libs/iconvplus/include/iconvplus/iconv_instance.hpp:217:88: [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. size_t convert_all(const void* in, size_t in_len, void* out, size_t out_len, boost::system::error_code& ec, size_t* non_reversible_conversions = NULL) const; data/freelan-2.2/libs/iconvplus/include/iconvplus/iconv_instance.hpp:270:94: [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 bool iconv_instance::write_initial_state(char** outbuf, size_t* outbytesleft, boost::system::error_code& ec) const data/freelan-2.2/libs/iconvplus/src/converter.cpp:52:111: [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. bool converter<InputCharType, OutputCharType>::convert(input_stream_type& is, output_stream_type& os, boost::system::error_code& ec, size_t* non_reversible_conversions) data/freelan-2.2/libs/iconvplus/src/iconv_instance.cpp:57:118: [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. size_t iconv_instance::convert(const char** inbuf, size_t* inbytesleft, char** outbuf, size_t* outbytesleft, boost::system::error_code& ec) const data/freelan-2.2/libs/iconvplus/src/iconv_instance.cpp:63: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. ec = boost::system::error_code(errno, iconv_category()); data/freelan-2.2/libs/iconvplus/src/iconv_instance.cpp:71: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 ec; data/freelan-2.2/libs/iconvplus/src/iconv_instance.cpp:77: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/iconvplus/src/iconv_instance.cpp:83:102: [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. size_t iconv_instance::convert_all(const void* in, size_t in_len, void* out, size_t out_len, boost::system::error_code& ec, size_t* non_reversible_conversions) const data/freelan-2.2/libs/iconvplus/src/iconv_instance.cpp:112: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 ec; data/freelan-2.2/libs/iconvplus/src/iconv_instance.cpp:118: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/miniupnpcplus/include/miniupnpcplus/error.hpp:60: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. const boost::system::error_category& miniupnpcplus_category(); data/freelan-2.2/libs/miniupnpcplus/include/miniupnpcplus/error.hpp:67: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_code make_error_code(int error) data/freelan-2.2/libs/miniupnpcplus/include/miniupnpcplus/error.hpp:69: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(error, miniupnpcplus_category()); data/freelan-2.2/libs/miniupnpcplus/include/miniupnpcplus/error.hpp:77: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_condition make_error_condition(int error) data/freelan-2.2/libs/miniupnpcplus/include/miniupnpcplus/error.hpp:79: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_condition(error, miniupnpcplus_category()); data/freelan-2.2/libs/miniupnpcplus/include/miniupnpcplus/error.hpp:85: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. class miniupnpcplus_category_impl : public boost::system::error_category data/freelan-2.2/libs/miniupnpcplus/src/error.cpp:51: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. const boost::system::error_category& miniupnpcplus_category() data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:30: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::error_code ec = boost::system::error_code(error, data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:30: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. boost::system::error_code ec = boost::system::error_code(error, data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:32: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:42: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::error_code ec = boost::system::error_code(-1, data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:42: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. boost::system::error_code ec = boost::system::error_code(-1, data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:44: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:57: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::error_code ec = boost::system::error_code(error, data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:57: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. boost::system::error_code ec = boost::system::error_code(error, data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:59: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:92: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::error_code ec = boost::system::error_code(error, data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:92: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. boost::system::error_code ec = boost::system::error_code(error, data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:94: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:115: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::error_code ec = boost::system::error_code(error, data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:115: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. boost::system::error_code ec = boost::system::error_code(error, data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:117: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. throw boost::system::system_error(ec); data/freelan-2.2/libs/mongooseplus/include/mongooseplus/error.hpp:62: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. const boost::system::error_category& mongooseplus_category(); data/freelan-2.2/libs/mongooseplus/include/mongooseplus/error.hpp:82: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_code make_error_code(mongooseplus_error error) data/freelan-2.2/libs/mongooseplus/include/mongooseplus/error.hpp:84: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(static_cast<int>(error), mongooseplus_category()); data/freelan-2.2/libs/mongooseplus/include/mongooseplus/error.hpp:92: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_condition make_error_condition(mongooseplus_error error) data/freelan-2.2/libs/mongooseplus/include/mongooseplus/error.hpp:94: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_condition(static_cast<int>(error), mongooseplus_category()); data/freelan-2.2/libs/mongooseplus/include/mongooseplus/error.hpp:100: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. class mongooseplus_category_impl : public boost::system::error_category data/freelan-2.2/libs/mongooseplus/include/mongooseplus/error.hpp:120:12: [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 system data/freelan-2.2/libs/mongooseplus/include/mongooseplus/mongooseplus.hpp:221: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. class http_error : public boost::system::system_error, public boost::exception data/freelan-2.2/libs/mongooseplus/include/mongooseplus/mongooseplus.hpp:225:12: [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::system_error(make_error_code(error)) data/freelan-2.2/libs/mongooseplus/src/error.cpp:50: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. const boost::system::error_category& mongooseplus_category() data/freelan-2.2/libs/mongooseplus/src/mongoose.c:93: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. #define snprintf _snprintf data/freelan-2.2/libs/mongooseplus/src/mongoose.c:93: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. #define snprintf _snprintf data/freelan-2.2/libs/mongooseplus/src/mongoose.c:94:9: [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. #define vsnprintf _vsnprintf data/freelan-2.2/libs/mongooseplus/src/mongoose.c:122:49: [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 DBG(x) do { printf("%-20s ", __func__); printf x; putchar('\n'); \ data/freelan-2.2/libs/mongooseplus/src/mongoose.c:353:9: [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. len = vsnprintf(*buf, size, fmt, ap_copy); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:366:13: [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. len = vsnprintf(*buf, size, fmt, ap_copy); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:375:13: [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. len = vsnprintf(*buf, len + 1, fmt, ap_copy); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:996:9: [4] (shell) popen: 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. #define popen(x, y) _popen((x), (y)) data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1352: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. n = vsnprintf(buf, buflen, fmt, ap); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1683:7: [4] (shell) execle: 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. execle(cmd, cmd, NULL, envp); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1685:7: [4] (shell) execle: 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. execle(interp, interp, cmd, NULL, envp); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1946:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(copy, str); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2786:10: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. return sscanf(header, "bytes=%" INT64_FMT "-%" INT64_FMT, a, b); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3608:9: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. if (sscanf(line, "%[^:]:%[^:]:%s", f_user, f_domain, ha1) == 3 && data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4020:20: [4] (shell) popen: 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. } else if ((fp = popen(cmd, "r")) == NULL) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4393:3: [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. fprintf(fp, "%s - %s [%s] \"%s %s%s%s HTTP/%s\" %d %" INT64_FMT, data/freelan-2.2/libs/netlinkplus/include/netlinkplus/error.hpp:60: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. const boost::system::error_category& netlinkplus_category(); data/freelan-2.2/libs/netlinkplus/include/netlinkplus/error.hpp:84: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_code make_error_code(netlinkplus_error error) data/freelan-2.2/libs/netlinkplus/include/netlinkplus/error.hpp:86: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(static_cast<int>(error), netlinkplus_category()); data/freelan-2.2/libs/netlinkplus/include/netlinkplus/error.hpp:94: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_condition make_error_condition(netlinkplus_error error) data/freelan-2.2/libs/netlinkplus/include/netlinkplus/error.hpp:96: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_condition(static_cast<int>(error), netlinkplus_category()); data/freelan-2.2/libs/netlinkplus/include/netlinkplus/error.hpp:102: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. class netlinkplus_category_impl : public boost::system::error_category data/freelan-2.2/libs/netlinkplus/include/netlinkplus/error.hpp:122:12: [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 system data/freelan-2.2/libs/netlinkplus/src/error.cpp:49: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. const boost::system::error_category& netlinkplus_category() data/freelan-2.2/libs/netlinkplus/src/manager.cpp:73: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. throw boost::system::system_error(make_error_code(netlinkplus_error::invalid_route_destination)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:87: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. throw boost::system::system_error(make_error_code(netlinkplus_error::invalid_route_source)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:99: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. throw boost::system::system_error(make_error_code(netlinkplus_error::invalid_route_input_interface)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:110: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. throw boost::system::system_error(make_error_code(netlinkplus_error::invalid_route_output_interface)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:123: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. throw boost::system::system_error(make_error_code(netlinkplus_error::invalid_route_gateway)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:135: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. throw boost::system::system_error(make_error_code(netlinkplus_error::invalid_route_priority)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:176: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. throw boost::system::system_error(errno, boost::system::system_category(), "Unable to find an interface with the given index"); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:176:53: [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. throw boost::system::system_error(errno, boost::system::system_category(), "Unable to find an interface with the given index"); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:191: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. throw boost::system::system_error(errno, boost::system::system_category(), "Unable to find an interface with the given name"); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:191:53: [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. throw boost::system::system_error(errno, boost::system::system_category(), "Unable to find an interface with the given name"); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:218: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. throw boost::system::system_error(make_error_code(netlinkplus_error::invalid_response)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:222: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. throw boost::system::system_error(make_error_code(netlinkplus_error::unexpected_response_type)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:307: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. throw boost::system::system_error(make_error_code(netlinkplus_error::invalid_response)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:312: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. throw boost::system::system_error(make_error_code(netlinkplus_error::unexpected_response_type)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:317: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. throw boost::system::system_error(-response.subheader().error, boost::system::system_category()); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:317:74: [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. throw boost::system::system_error(-response.subheader().error, boost::system::system_category()); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:338: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. throw boost::system::system_error(make_error_code(netlinkplus_error::invalid_response)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:343: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. throw boost::system::system_error(make_error_code(netlinkplus_error::unexpected_response_type)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:348: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. throw boost::system::system_error(-response.subheader().error, boost::system::system_category()); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:348:74: [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. throw boost::system::system_error(-response.subheader().error, boost::system::system_category()); data/freelan-2.2/samples/asiotap/proxy/proxy.cpp:71:65: [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 write_done(asiotap::tap_adapter& tap_adapter, const boost::system::error_code& ec, size_t cnt) data/freelan-2.2/samples/asiotap/proxy/proxy.cpp:78:64: [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 read_done(asiotap::tap_adapter& tap_adapter, const boost::system::error_code& ec, size_t cnt) data/freelan-2.2/samples/asiotap/routes/routes.cpp:70:64: [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 read_done(asiotap::tap_adapter& tap_adapter, const boost::system::error_code& ec, size_t cnt) data/freelan-2.2/samples/asiotap/routes/routes.cpp:137:112: [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. rmgr.set_route_registration_failure_handler([](const asiotap::route_manager::route_type& route, const boost::system::system_error& ex){ data/freelan-2.2/samples/asiotap/routes/routes.cpp:143:114: [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. rmgr.set_route_unregistration_failure_handler([](const asiotap::route_manager::route_type& route, const boost::system::system_error& ex){ data/freelan-2.2/samples/asiotap/tap/tap.cpp:78:65: [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 write_done(asiotap::tap_adapter& tap_adapter, const boost::system::error_code& ec, size_t cnt); data/freelan-2.2/samples/asiotap/tap/tap.cpp:79:64: [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 read_done(asiotap::tap_adapter& tap_adapter, const boost::system::error_code& ec, size_t cnt); data/freelan-2.2/samples/asiotap/tap/tap.cpp:89:65: [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 write_done(asiotap::tap_adapter& tap_adapter, const boost::system::error_code& ec, size_t cnt) data/freelan-2.2/samples/asiotap/tap/tap.cpp:103:64: [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 read_done(asiotap::tap_adapter& tap_adapter, const boost::system::error_code& ec, size_t cnt) data/freelan-2.2/samples/asiotap/tun/tun.cpp:77:65: [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 write_done(asiotap::tap_adapter& tap_adapter, const boost::system::error_code& ec, size_t cnt); data/freelan-2.2/samples/asiotap/tun/tun.cpp:78:64: [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 read_done(asiotap::tap_adapter& tap_adapter, const boost::system::error_code& ec, size_t cnt); data/freelan-2.2/samples/asiotap/tun/tun.cpp:86:65: [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 write_done(asiotap::tap_adapter& tap_adapter, const boost::system::error_code& ec, size_t cnt) data/freelan-2.2/samples/asiotap/tun/tun.cpp:100:64: [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 read_done(asiotap::tap_adapter& tap_adapter, const boost::system::error_code& ec, size_t cnt) data/freelan-2.2/samples/cryptoplus/cipher/cipher.cpp:50: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. catch (const boost::system::system_error& ex) data/freelan-2.2/samples/cryptoplus/hmac/hmac.cpp:41: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. catch (const boost::system::system_error& ex) data/freelan-2.2/samples/cryptoplus/message_digest/message_digest.cpp:42: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. catch (const boost::system::system_error& ex) data/freelan-2.2/samples/cryptoplus/pbkdf2/pbkdf2.cpp:37: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. catch (const boost::system::system_error& ex) data/freelan-2.2/samples/cryptoplus/signature/signature.cpp:65: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. catch (const boost::system::system_error& ex) data/freelan-2.2/samples/fscp/client/client.cpp:28: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. void signal_handler(const boost::system::error_code& error, int signal_number, boost::function<void ()> stop_function) data/freelan-2.2/samples/fscp/client/client.cpp:41:90: [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. static void simple_handler(const std::string& name, const std::string& msg, const boost::system::error_code& ec) data/freelan-2.2/samples/fscp/client/client.cpp:72:128: [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. static void on_hello_response(const std::string& name, fscp::server& server, const fscp::server::ep_type& sender, const boost::system::error_code& ec, const boost::posix_time::time_duration& duration) data/freelan-2.2/samples/fscp/client/client.cpp:199:39: [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. [name, local_counter](const boost::system::error_code& ec) { data/freelan-2.2/samples/fscp/schat/schat.cpp:30: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. void signal_handler(const boost::system::error_code& error, int signal_number, boost::function<void ()> stop_function) data/freelan-2.2/samples/fscp/schat/schat.cpp:43:65: [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. static void simple_handler(const std::string& msg, const boost::system::error_code& ec) data/freelan-2.2/samples/fscp/schat/schat.cpp:61:103: [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. static void on_hello_response(fscp::server& server, const fscp::server::ep_type& sender, const boost::system::error_code& ec, const boost::posix_time::time_duration& duration) data/freelan-2.2/samples/fscp/schat/schat.cpp:187:122: [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. server.async_send_data_to_all(fscp::CHANNEL_NUMBER_0, buffer(buf), [buf] (const std::map<fscp::server::ep_type, boost::system::error_code>& results) { data/freelan-2.2/samples/fscp/schat/schat.cpp:190: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. for (std::map<fscp::server::ep_type, boost::system::error_code>::const_iterator result = results.begin(); result != results.end(); ++result) data/freelan-2.2/samples/fscp/schat/schat.cpp:207:105: [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 handle_read_input(fscp::server& server, boost::asio::posix::stream_descriptor& input, const boost::system::error_code& ec, boost::asio::streambuf& input_buffer, size_t length) data/freelan-2.2/apps/freelan/src/main.cpp:332:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* val = getenv("FREELAN_PID_FILE"); data/freelan-2.2/apps/freelan/src/main.cpp:367:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* val = getenv("FREELAN_CONFIGURATION_FILE"); data/freelan-2.2/apps/freelan/src/system.cpp:114:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* path = getenv("HOME"); data/freelan-2.2/libs/asiotap/src/ethernet_address.cpp:65:8: [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(state); data/freelan-2.2/libs/asiotap/src/ethernet_address.cpp:134:10: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/freelan-2.2/libs/asiotap/src/ethernet_address.cpp:148:10: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/freelan-2.2/libs/asiotap/src/hostname_endpoint.cpp:64:10: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/freelan-2.2/libs/asiotap/src/ip_endpoint.cpp:72:11: [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/freelan-2.2/libs/asiotap/src/ip_endpoint.cpp:94:10: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/freelan-2.2/libs/asiotap/src/ip_endpoint.cpp:102:11: [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/freelan-2.2/libs/asiotap/src/ip_endpoint.cpp:115:13: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/freelan-2.2/libs/asiotap/src/stream_operations.cpp:61:6: [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(state); data/freelan-2.2/libs/asiotap/src/stream_operations.cpp:88:8: [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/freelan-2.2/libs/asiotap/src/stream_operations.cpp:111:10: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/freelan-2.2/libs/asiotap/src/stream_operations.cpp:161:8: [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/freelan-2.2/libs/asiotap/src/stream_operations.cpp:187:10: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/freelan-2.2/libs/asiotap/src/stream_operations.cpp:228:8: [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/freelan-2.2/libs/asiotap/src/stream_operations.cpp:248:10: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/freelan-2.2/libs/asiotap/src/stream_operations.cpp:287:10: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/freelan-2.2/libs/asiotap/src/stream_operations.cpp:302:10: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/freelan-2.2/libs/asiotap/src/stream_operations.cpp:321:8: [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/freelan-2.2/libs/asiotap/src/stream_operations.cpp:350:11: [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/freelan-2.2/libs/asiotap/src/stream_operations.cpp:380:11: [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/freelan-2.2/libs/asiotap/src/stream_operations.cpp:395:9: [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/freelan-2.2/libs/asiotap/src/stream_operations.cpp:440:12: [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/freelan-2.2/libs/asiotap/src/stream_operations.cpp:446:11: [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/freelan-2.2/libs/asiotap/src/stream_operations.cpp:452:10: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/freelan-2.2/libs/asiotap/src/stream_operations.cpp:462:9: [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/freelan-2.2/libs/asiotap/windows/tap_adapter/tap-setup/tap_setup.cpp:188:30: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. HMODULE new_device_module = LoadLibrary(TEXT("newdev.dll")); data/freelan-2.2/libs/cryptoplus/include/cryptoplus/random/random.hpp:59:12: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. namespace random data/freelan-2.2/libs/cryptoplus/src/cipher_context.cpp:154:4: [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. random::get_random_bytes(padding, padding_len - 1); data/freelan-2.2/libs/cryptoplus/src/random.cpp:57:12: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. namespace random data/freelan-2.2/libs/freelan/src/switch.cpp:187:15: [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. boost::random::mt19937 gen; data/freelan-2.2/libs/freelan/src/switch.cpp:189:35: [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::advance(entry, boost::random::uniform_int_distribution<>(0, static_cast<int>(m_ethernet_address_map.size()) - 1)(gen)); data/freelan-2.2/libs/fscp/include/fscp/peer_session.hpp:118:17: [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. cryptoplus::random::get_random_bytes(m_local_host_identifier.data.data(), m_local_host_identifier.data.size()); data/freelan-2.2/libs/fscp/src/data_message.cpp:87:49: [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. const cryptoplus::buffer random = cryptoplus::random::get_random_bytes(random_len); data/freelan-2.2/libs/fscp/src/data_message.cpp:89:110: [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 raw_write(buf, buf_len, _sequence_number, cipher_algorithm, cryptoplus::buffer_cast<const uint8_t*>(random), cryptoplus::buffer_size(random), enc_key, enc_key_len, nonce_prefix, nonce_prefix_len, MESSAGE_TYPE_KEEP_ALIVE); data/freelan-2.2/libs/fscp/src/data_message.cpp:89:143: [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 raw_write(buf, buf_len, _sequence_number, cipher_algorithm, cryptoplus::buffer_cast<const uint8_t*>(random), cryptoplus::buffer_size(random), enc_key, enc_key_len, nonce_prefix, nonce_prefix_len, MESSAGE_TYPE_KEEP_ALIVE); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1747:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((s = getenv(name)) != NULL) addenv(blk, "%s=%s", name, s); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1761:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((s = getenv("SERVER_NAME")) != NULL) { data/freelan-2.2/libs/mongooseplus/src/mongooseplus.cpp:181: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. const auto random_bytes = cryptoplus::random::get_random_bytes(32).to_string(); data/freelan-2.2/samples/cryptoplus/random/random.cpp:31: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. buffer bytes = cryptoplus::random::get_random_bytes(16); data/freelan-2.2/apps/freelan/src/configuration_helper.cpp:104:52: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const cryptoplus::file file = cryptoplus::file::open(filename.native()); data/freelan-2.2/apps/freelan/src/main.cpp:508: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). core.open(); data/freelan-2.2/apps/freelan/src/posix/pid_file.cpp:62: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_file_descriptor(::open(path.c_str(), O_CREAT | O_EXCL | O_WRONLY, 0644)) data/freelan-2.2/apps/freelan/src/system.cpp:71:2: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. TCHAR path[_MAX_PATH + 1]; data/freelan-2.2/apps/freelan/src/system.cpp:105:2: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. TCHAR path[MAX_PATH] = {}; data/freelan-2.2/apps/freelan/src/system.cpp:128:2: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. TCHAR path[MAX_PATH] = {}; data/freelan-2.2/apps/freelan/src/system.cpp:155:2: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. TCHAR path[MAX_PATH] = {}; data/freelan-2.2/apps/freelan/src/tools.cpp:173:44: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cert.write_certificate(cryptoplus::file::open(filename.string<std::basic_string<TCHAR> >(), L"w")); data/freelan-2.2/apps/freelan/src/tools.cpp:175:44: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cert.write_certificate(cryptoplus::file::open(filename.string<std::basic_string<TCHAR> >(), "w")); data/freelan-2.2/apps/freelan/src/tools.cpp:178:44: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cert.write_certificate(cryptoplus::file::open(filename.string<std::basic_string<char> >(), "w")); data/freelan-2.2/apps/freelan/src/windows/service.cpp:523: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). core.open(); data/freelan-2.2/libs/asiotap/include/asiotap/osi/icmpv6_helper.hpp:135:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&raw.front(), this->frame().target.s6_addr, raw.size()); data/freelan-2.2/libs/asiotap/include/asiotap/osi/icmpv6_helper.hpp:262:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(this->frame().target.s6_addr, _target.to_bytes().data(), _target.to_bytes().size()); data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv6_helper.hpp:242: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(&raw.front(), this->frame().source.s6_addr, raw.size()); data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv6_helper.hpp:253: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(&raw.front(), this->frame().destination.s6_addr, raw.size()); data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv6_helper.hpp:302: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(this->frame().source.s6_addr, _source.to_bytes().data(), _source.to_bytes().size()); data/freelan-2.2/libs/asiotap/include/asiotap/osi/ipv6_helper.hpp:307: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(this->frame().destination.s6_addr, _destination.to_bytes().data(), _destination.to_bytes().size()); data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_tap_adapter.hpp:111: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). void open(boost::system::error_code& ec); data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_tap_adapter.hpp:118: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). void open(const std::string& name, boost::system::error_code& ec); data/freelan-2.2/libs/asiotap/include/asiotap/posix/posix_tap_adapter.hpp:124:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(const std::string& name = ""); data/freelan-2.2/libs/asiotap/include/asiotap/windows/windows_tap_adapter.hpp:109: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). void open(boost::system::error_code& ec); data/freelan-2.2/libs/asiotap/include/asiotap/windows/windows_tap_adapter.hpp:116: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). void open(const std::string& name, boost::system::error_code& ec); data/freelan-2.2/libs/asiotap/include/asiotap/windows/windows_tap_adapter.hpp:122: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). void open(const std::string& name = ""); data/freelan-2.2/libs/asiotap/src/arp_builder.cpp:71: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(boost::asio::buffer_cast<uint8_t*>(helper.sender_hardware_address()), boost::asio::buffer_cast<const uint8_t*>(sender_hardware_address), ETHERNET_ADDRESS_SIZE); data/freelan-2.2/libs/asiotap/src/arp_builder.cpp:73: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(boost::asio::buffer_cast<uint8_t*>(helper.target_hardware_address()), boost::asio::buffer_cast<const uint8_t*>(target_hardware_address), ETHERNET_ADDRESS_SIZE); data/freelan-2.2/libs/asiotap/src/bootp_builder.cpp:65: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(destination_data, source_data, copy_cnt); data/freelan-2.2/libs/asiotap/src/dhcp_builder.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. void memcpy(boost::asio::mutable_buffer dst, boost::asio::const_buffer src) data/freelan-2.2/libs/asiotap/src/dhcp_builder.cpp: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(boost::asio::buffer_cast<void*>(dst), boost::asio::buffer_cast<const void*>(src), src_size); data/freelan-2.2/libs/asiotap/src/dhcp_builder.cpp:92: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(dhcp_option_helper.value(), value); data/freelan-2.2/libs/asiotap/src/dhcp_proxy.cpp:81: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(result.data(), boost::asio::buffer_cast<const void*>(bootp_helper.chaddr()), result.size()); data/freelan-2.2/libs/asiotap/src/ethernet_address.cpp:124: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 data[ethernet_address_string_size]; data/freelan-2.2/libs/asiotap/src/ethernet_builder.cpp:64: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(boost::asio::buffer_cast<uint8_t*>(helper.target()), boost::asio::buffer_cast<const uint8_t*>(target), ETHERNET_ADDRESS_SIZE); data/freelan-2.2/libs/asiotap/src/ethernet_builder.cpp:65: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(boost::asio::buffer_cast<uint8_t*>(helper.sender()), boost::asio::buffer_cast<const uint8_t*>(sender), ETHERNET_ADDRESS_SIZE); data/freelan-2.2/libs/asiotap/src/icmpv6_proxy.cpp:78: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. ::memcpy(&target_link_layer_address_option_buffer[2], ð_addr.data()[0], eth_addr.data().size()); // The ethernet address. data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:148:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int device_fd = ::open(name.c_str(), O_RDWR); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:229: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). void posix_tap_adapter::open(boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:231: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("", ec); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:234: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). void posix_tap_adapter::open(const std::string& _name, boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:340: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(_ethernet_address.data().data(), netifr.ifr_hwaddr.sa_data, _ethernet_address.data().size()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:388: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 namebuf[256]; data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:450:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(_ethernet_address.data().data(), LLADDR(sdl), ethernet_address().data().size()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:467: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). void posix_tap_adapter::open(const std::string& _name) data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:471: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(_name, ec); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:593:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bytes.data(), &sai->sin_addr, bytes.size()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:613:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bytes.data(), &sai->sin6_addr.s6_addr, bytes.size()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:723: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(&ifr_a_addr->sin_addr.s_addr, address.to_bytes().data(), address.to_bytes().size()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:782: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(&ifr.ifr6_addr.s6_addr, address.to_bytes().data(), address.to_bytes().size()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:789: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(iar.ifra_name, name().c_str(), name().length()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:792: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(&reinterpret_cast<sockaddr_in6*>(&iar.ifra_addr)->sin6_addr.s6_addr, address.to_bytes().data(), address.to_bytes().size()); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:847: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(&ifr_dst_addr->sin_addr.s_addr, remote_address.to_bytes().data(), remote_address.to_bytes().size()); data/freelan-2.2/libs/asiotap/src/windows/netsh.cpp:102:28: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). size_t required_size = ::MultiByteToWideChar(CP_ACP, MB_ERR_INVALID_CHARS, &str[0], str.size(), nullptr, 0); data/freelan-2.2/libs/asiotap/src/windows/netsh.cpp:110:21: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). required_size = ::MultiByteToWideChar(CP_ACP, MB_ERR_INVALID_CHARS, &str[0], str.size(), &result[0], result.capacity()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:70: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(&result.Ipv4.sin_addr, bytes.data(), bytes.size()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:77: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(&result.Ipv6.sin6_addr, bytes.data(), bytes.size()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:93: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(bytes.data(), &sai.Ipv4.sin_addr, bytes.size()); data/freelan-2.2/libs/asiotap/src/windows/windows_route_manager.cpp:106: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(bytes.data(), &sai.Ipv6.sin6_addr, bytes.size()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:172:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void windows_tap_adapter::open(boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:184: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). open(tap_adapter.first, ec); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:196:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void windows_tap_adapter::open(const std::string& _name, boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:202: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). return open(ec); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:288:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(_ethernet_address.data().data(), pi->Address, pi->AddressLength); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:320:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void windows_tap_adapter::open(const std::string& _name) data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:324: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(_name, ec); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:387:12: [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(bytes.data(), &sai->sin_addr, bytes.size()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:398:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bytes.data(), &sai->sin6_addr, bytes.size()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:441: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(param, addr.data(), addr.size()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:443: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(param + sizeof(uint32_t), &network, sizeof(uint32_t)); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:445: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(param + 2 * sizeof(uint32_t), &netmask, sizeof(uint32_t)); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:457: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(param, addr.data(), addr.size()); data/freelan-2.2/libs/asiotap/src/windows/windows_tap_adapter.cpp:459: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(param + 2 * sizeof(uint32_t), &netmask, sizeof(uint32_t)); data/freelan-2.2/libs/asiotap/windows/tap_adapter/tap-setup/tap_setup.cpp:99:2: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. TCHAR inf_path[MAX_PATH]; data/freelan-2.2/libs/asiotap/windows/tap_adapter/tap-setup/tap_setup.cpp:110:2: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. TCHAR hardware_id_list[LINE_LEN + 4]; data/freelan-2.2/libs/asiotap/windows/tap_adapter/tap-setup/tap_setup.cpp:118:3: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. TCHAR class_name[MAX_CLASS_NAME_LEN]; data/freelan-2.2/libs/asiotap/windows/tap_adapter/tap-setup/tap_setup.cpp:172:2: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. TCHAR inf_path[MAX_PATH]; data/freelan-2.2/libs/asiotap/windows/tap_adapter/tap-setup/tap_setup.cpp:373:5: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. TCHAR device_id[MAX_DEVICE_ID_LEN]; data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/integer.hpp:257: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[size]; data/freelan-2.2/libs/cryptoplus/include/cryptoplus/cipher/cipher_context.hpp:419: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(buffer_cast<uint8_t*>(result), buf, buf_len); data/freelan-2.2/libs/cryptoplus/include/cryptoplus/file.hpp:74: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). static file open(const std::string& filename, const std::string& mode = "r"); data/freelan-2.2/libs/cryptoplus/include/cryptoplus/file.hpp:83: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). static file open(const std::wstring& filename, const std::wstring& mode = L"r"); data/freelan-2.2/libs/cryptoplus/src/error_strings.cpp:53: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[120]; data/freelan-2.2/libs/cryptoplus/src/error_strings.cpp:60: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[120]; data/freelan-2.2/libs/cryptoplus/src/file.cpp:104: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). file file::open(const std::string& filename, const std::string& mode) data/freelan-2.2/libs/cryptoplus/src/file.cpp:116:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file::pointer ptr = fopen(filename.c_str(), mode.c_str()); data/freelan-2.2/libs/cryptoplus/src/file.cpp:123: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). file file::open(const std::wstring& filename, const std::wstring& mode) data/freelan-2.2/libs/freelan/include/freelan/core.hpp:435: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). void open(); data/freelan-2.2/libs/freelan/src/client.cpp:78: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(dest, bytes, dest_len); data/freelan-2.2/libs/freelan/src/client.cpp:85: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(dest, bytes, bytes_len); data/freelan-2.2/libs/freelan/src/core.cpp:556: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). void core::open() data/freelan-2.2/libs/freelan/src/core.cpp:674:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). m_fscp_server->open(listen_endpoint); data/freelan-2.2/libs/freelan/src/core.cpp:1757:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). m_tap_adapter->open(m_configuration.tap_adapter.name); data/freelan-2.2/libs/freelan/src/switch.cpp:257: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(result.c_array(), boost::asio::buffer_cast<const ethernet_address_type::value_type*>(buf), result.size()); data/freelan-2.2/libs/freelan/src/tools.cpp:82: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[256] = {}; data/freelan-2.2/libs/fscp/include/fscp/server.hpp:357: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). void open(const ep_type& listen_endpoint); data/freelan-2.2/libs/fscp/src/server.cpp:308: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). void server::open(const ep_type& listen_endpoint) data/freelan-2.2/libs/fscp/src/server.cpp:310: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(listen_endpoint.protocol()); data/freelan-2.2/libs/fscp/src/session_message.cpp:179: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(static_cast<uint8_t*>(payload)+sizeof(session_number_type) + host_identifier_type::data_type::static_size + sizeof(uint8_t) * 4 + sizeof(uint16_t), pub_key, pub_key_len); data/freelan-2.2/libs/iconvplus/src/iconv_error_category.cpp:66: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 error_buf[256] = {}; data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:20: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 lan[256]; data/freelan-2.2/libs/miniupnpcplus/src/upnp_device.cpp:21: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 wan[256]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:287: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(io->buf + io->len, buf, len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:292: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(io->buf + io->len, buf, len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:384: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 mem[2000], *buf = mem; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:478: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[100]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:608: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 path[500], date[100], ascii[17]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:622:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fp = fopen(path, "a")) != NULL) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:649: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/freelan-2.2/libs/mongooseplus/src/mongoose.c:993: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). #define fopen(x, y) mg_fopen((x), (y)) data/freelan-2.2/libs/mongooseplus/src/mongoose.c:994: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). #define open(x, y) mg_open((x), (y)) data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1007: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). #define fopen(x, y) mg_fopen((x), (y)) data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1008: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). #define open(x, y) mg_open((x), (y)) data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1163: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 *config_options[NUM_OPTIONS]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1164: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 local_ip[48]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1266: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_PATH_SIZE * 2], buf2[MAX_PATH_SIZE * 2], *p; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1278:3: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_UTF8, 0, buf, -1, wbuf, (int) wbuf_len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1287: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 wpath[MAX_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1294: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 wpath[MAX_PATH_SIZE], wmode[10]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1301: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 wpath[MAX_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1461: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 headers[200], body[200]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1476:23: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((match_code = atoi(a.ptr)) > 0 && match_code == code) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1508: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 chunk_size[50]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1546: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[IOBUF_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1566: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[IOBUF_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1594: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 buf[MAX_PATH_SIZE], buf2[MAX_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1605: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 wcmd[MAX_PATH_SIZE], full_dir[MAX_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1606: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_PATH_SIZE], buf4[MAX_PATH_SIZE], buf5[MAX_PATH_SIZE], data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1621:31: [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 (interp == NULL && (fp = fopen(cmd, "r")) != NULL) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1666: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[500]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1708: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[CGI_ENVIRONMENT_SIZE]; // Environment buffer data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1709: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. const char *vars[MAX_CGI_ENVIR_VARS]; // char *envp[] data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1854: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 dir[MAX_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1910: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[MAX_REQUEST_SIZE], *s = buf; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1919:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, io->buf + s_len, len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1927:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(io->buf + 9, status, 3); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1928:35: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). conn->mg_conn.status_code = atoi(status); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2303: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 mem[IOBUF_SIZE], *buf = mem; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2334:31: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. union char64long16 { unsigned char c[64]; uint32_t l[16]; }; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2358:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buffer[64]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2361:61: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2365: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/freelan-2.2/libs/mongooseplus/src/mongoose.c:2422: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(&context->buffer[j], data, (i = 64-j)); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2430: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/freelan-2.2/libs/mongooseplus/src/mongoose.c:2433:32: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 void SHA1Final(unsigned char digest[20], SHA1_CTX* context) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2435:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char finalcount[8], c; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2485: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[500], sha[20], b64_sha[sizeof(sha) * 2]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2565:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(copy + 2, data, data_len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2571:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(copy + 4, data, data_len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2579:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(copy + 10, data, data_len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2667: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 month_str[32]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2728: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 etag[64]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2795: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 date[64], lm[64], etag[64], range[64], headers[500]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2873: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 d_name[MAX_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2885: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 wpath[MAX_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2897:14: [2] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Risk is low because the source is a constant string. (void) wcscat(wpath, L"\\*"); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2953: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 path[MAX_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3021: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 size[64], mod[64], href[MAX_PATH_SIZE * 3]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3112: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 mtime[64]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3155:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[MAX_PATH_SIZE], buf2[sizeof(buf) * 3]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3187: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 path[MAX_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3229: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_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3236:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, path, p - path); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3263: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). open(path, O_RDWR | O_CREAT | O_TRUNC)) < 0) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3266: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). open(path, O_RDWR | O_CREAT | O_TRUNC, 0644)) < 0) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3322: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[MAX_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3329:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(gpass, "r"); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3332:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(name, "r"); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3338:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(name, "r"); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3348:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char in[64]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3482:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, buf, len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3485: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(p, buf, t); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3493: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(ctx->in, buf, 64); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3500: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(ctx->in, buf, len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3503:31: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 void MD5Final(unsigned char digest[16], MD5_CTX *ctx) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3529: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(digest, ctx->buf, 16); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3549: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 *mg_md5(char buf[33], ...) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3549: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. char *mg_md5(char buf[33], ...) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3550:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char hash[16]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3572: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 ha2[32 + 1], expected_response[32 + 1]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3593: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 line[256], f_user[256], ha1[256], f_domain[256], user[100], nonce[100], data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3637:34: [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 (auth_file != NULL && (fp = fopen(auth_file, "r")) != NULL) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3757: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[2000]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3936:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fp = fopen(path, "r")) == NULL || data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3962: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[IOBUF_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3971:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char file_name[IOBUF_SIZE], path[MAX_PATH_SIZE], *p; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3999:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fp = fopen(path, "rb")) == NULL) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4015: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[IOBUF_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4031: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[IOBUF_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4096:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fp = fopen(path, "rb")) == NULL) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4118: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 path[MAX_PATH_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4226: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). } else if ((conn->endpoint.fd = open(path, O_RDONLY | O_BINARY)) != -1) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4260: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(conn->request, io->buf, conn->request_len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4382:39: [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 *fp = (path == NULL) ? NULL : fopen(path, "a+"); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4383: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 date[64], user[100]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4459: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[IOBUF_SIZE]; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4663:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[10]; data/freelan-2.2/libs/mongooseplus/src/mongoose.h:39: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 remote_ip[48]; // Max IPv6 string length is 45 characters data/freelan-2.2/libs/mongooseplus/src/mongoose.h:113: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 *mg_md5(char buf[33], ...); data/freelan-2.2/libs/mongooseplus/src/mongoose.h:113: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. char *mg_md5(char buf[33], ...); data/freelan-2.2/libs/netlinkplus/include/netlinkplus/messages.hpp:205:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(RTA_DATA(attribute), value_data(value), value_size(value)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:76: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. ::memcpy(bytes.data(), boost::asio::buffer_cast<const void*>(data), buffer_size(data)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:90: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. ::memcpy(bytes.data(), boost::asio::buffer_cast<const void*>(data), buffer_size(data)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:126: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. ::memcpy(bytes.data(), boost::asio::buffer_cast<const void*>(data), buffer_size(data)); data/freelan-2.2/libs/netlinkplus/src/manager.cpp:171: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 ifname_buf[IF_NAMESIZE]; data/freelan-2.2/samples/asiotap/proxy/proxy.cpp:147: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). tap_adapter.open(); data/freelan-2.2/samples/asiotap/routes/routes.cpp:68:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char my_buf[2048]; data/freelan-2.2/samples/asiotap/routes/routes.cpp:106: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). tap_adapter.open(); data/freelan-2.2/samples/asiotap/tap/tap.cpp:76:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char my_buf[2048]; data/freelan-2.2/samples/asiotap/tap/tap.cpp:227: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). tap_adapter.open(); data/freelan-2.2/samples/asiotap/tun/tun.cpp:75:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char my_buf[2048]; data/freelan-2.2/samples/asiotap/tun/tun.cpp:207: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). tap_adapter.open(); data/freelan-2.2/samples/cryptoplus/dh_key/dh_key.cpp:80:42: [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). boost::shared_ptr<FILE> parameters_file(fopen(parameters_filename.c_str(), "w"), fclose); data/freelan-2.2/samples/cryptoplus/dh_key/dh_key.cpp:131:25: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). parameters_file.reset(fopen(parameters_filename.c_str(), "r"), fclose); data/freelan-2.2/samples/cryptoplus/dsa_key/dsa_key.cpp:82:43: [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). boost::shared_ptr<FILE> private_key_file(fopen(private_key_filename.c_str(), "w"), fclose); data/freelan-2.2/samples/cryptoplus/dsa_key/dsa_key.cpp:83:42: [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). boost::shared_ptr<FILE> parameters_file(fopen(parameters_filename.c_str(), "w"), fclose); data/freelan-2.2/samples/cryptoplus/dsa_key/dsa_key.cpp:84:54: [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). boost::shared_ptr<FILE> certificate_public_key_file(fopen(certificate_public_key_filename.c_str(), "w"), fclose); data/freelan-2.2/samples/cryptoplus/dsa_key/dsa_key.cpp:136:25: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). private_key_file.reset(fopen(private_key_filename.c_str(), "r"), fclose); data/freelan-2.2/samples/cryptoplus/pkey/pkey.cpp:74:56: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cryptoplus::file private_key_file = cryptoplus::file::open(private_key_filename, "w"); data/freelan-2.2/samples/cryptoplus/pkey/pkey.cpp:75:67: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cryptoplus::file certificate_public_key_file = cryptoplus::file::open(certificate_public_key_filename, "w"); data/freelan-2.2/samples/cryptoplus/pkey/pkey.cpp:119:39: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). private_key_file = cryptoplus::file::open(private_key_filename, "r"); data/freelan-2.2/samples/cryptoplus/rsa_key/rsa_key.cpp:82:43: [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). boost::shared_ptr<FILE> private_key_file(fopen(private_key_filename.c_str(), "w"), fclose); data/freelan-2.2/samples/cryptoplus/rsa_key/rsa_key.cpp:83:42: [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). boost::shared_ptr<FILE> public_key_file(fopen(public_key_filename.c_str(), "w"), fclose); data/freelan-2.2/samples/cryptoplus/rsa_key/rsa_key.cpp:84:54: [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). boost::shared_ptr<FILE> certificate_public_key_file(fopen(certificate_public_key_filename.c_str(), "w"), fclose); data/freelan-2.2/samples/cryptoplus/rsa_key/rsa_key.cpp:136:25: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). private_key_file.reset(fopen(private_key_filename.c_str(), "r"), fclose); data/freelan-2.2/samples/cryptoplus/store/store.cpp:86:75: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). store.add_certificate(x509::certificate::from_trusted_certificate(file::open("ca.crt"))); data/freelan-2.2/samples/cryptoplus/store/store.cpp:87:75: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). store.add_certificate(x509::certificate::from_trusted_certificate(file::open("intermediate.crt"))); data/freelan-2.2/samples/cryptoplus/store/store.cpp:88:115: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). store.add_certificate_revocation_list(x509::certificate_revocation_list::from_certificate_revocation_list(file::open("ca.crl"))); data/freelan-2.2/samples/cryptoplus/store/store.cpp:89:115: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). store.add_certificate_revocation_list(x509::certificate_revocation_list::from_certificate_revocation_list(file::open("intermediate.crl"))); data/freelan-2.2/samples/cryptoplus/store/store.cpp:94:70: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). x509::certificate cert = x509::certificate::from_certificate(file::open("final.crt")); data/freelan-2.2/samples/cryptoplus/x509/x509.cpp:95:44: [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). boost::shared_ptr<FILE> certificate_file(fopen("certificate.crt", "w"), fclose); data/freelan-2.2/samples/fscp/client/client.cpp:154:94: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cryptoplus::x509::certificate cert = cryptoplus::x509::certificate::from_certificate(file::open("chris.crt", "r")); data/freelan-2.2/samples/fscp/client/client.cpp:240:100: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cryptoplus::x509::certificate alice_cert = cryptoplus::x509::certificate::from_certificate(file::open("alice.crt", "r")); data/freelan-2.2/samples/fscp/client/client.cpp:241:85: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cryptoplus::pkey::pkey alice_key = cryptoplus::pkey::pkey::from_private_key(file::open("alice.key", "r")); data/freelan-2.2/samples/fscp/client/client.cpp:242:98: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cryptoplus::x509::certificate bob_cert = cryptoplus::x509::certificate::from_certificate(file::open("bob.crt", "r")); data/freelan-2.2/samples/fscp/client/client.cpp:243:83: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cryptoplus::pkey::pkey bob_key = cryptoplus::pkey::pkey::from_private_key(file::open("bob.key", "r")); data/freelan-2.2/samples/fscp/client/client.cpp:244:100: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cryptoplus::x509::certificate chris_cert = cryptoplus::x509::certificate::from_certificate(file::open("chris.crt", "r")); data/freelan-2.2/samples/fscp/client/client.cpp:245:85: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cryptoplus::pkey::pkey chris_key = cryptoplus::pkey::pkey::from_private_key(file::open("chris.key", "r")); data/freelan-2.2/samples/fscp/client/client.cpp:291: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). alice_server.open(boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v4(), 12000)); data/freelan-2.2/samples/fscp/client/client.cpp:292: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). bob_server.open(boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v4(), 12001)); data/freelan-2.2/samples/fscp/client/client.cpp:293: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). chris_server.open(boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v4(), 12002)); data/freelan-2.2/samples/fscp/schat/schat.cpp:185: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_cast<char*>(buf), &line[0], line.size()); data/freelan-2.2/samples/fscp/schat/schat.cpp:255:113: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cryptoplus::x509::certificate certificate = cryptoplus::x509::certificate::from_certificate(cryptoplus::file::open(certificate_filename, "r")); data/freelan-2.2/samples/fscp/schat/schat.cpp:256:99: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cryptoplus::pkey::pkey private_key = cryptoplus::pkey::pkey::from_private_key(cryptoplus::file::open(private_key_filename, "r")); data/freelan-2.2/samples/fscp/schat/schat.cpp:262: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). server.open(listen_ep); data/freelan-2.2/samples/fscp/schat/schat.cpp:292: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 line[512] = {}; data/freelan-2.2/libs/asiotap/include/asiotap/base_tap_adapter.hpp:112:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t read(const MutableBufferSequence& buffers) data/freelan-2.2/libs/asiotap/include/asiotap/base_tap_adapter.hpp:124:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t read(const MutableBufferSequence& buffers, boost::system::error_code& ec) data/freelan-2.2/libs/asiotap/src/ethernet_address.cpp:126:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (is.read(data, sizeof(data))) data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:288:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ifr.ifr_name, _name.c_str(), IFNAMSIZ); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:310:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). std::strncpy(netifr.ifr_name, ifr.ifr_name, IFNAMSIZ); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:327:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). std::strncpy(netifr.ifr_name, ifr.ifr_name, IFNAMSIZ); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:398:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(namebuf, n, 255); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:509:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ifr.ifr_name, name().c_str(), IFNAMSIZ); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:528:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(netifr.ifr_name, name().c_str(), IFNAMSIZ); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:674:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(netifr.ifr_name, name().c_str(), IFNAMSIZ); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:693:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(netifr.ifr_name, name().c_str(), IFNAMSIZ); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:715:8: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). std::strncpy(ifr_a.ifr_name, name().c_str(), IFNAMSIZ); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:741:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). std::strncpy(ifr_n.ifr_name, name().c_str(), IFNAMSIZ); data/freelan-2.2/libs/asiotap/src/posix/posix_tap_adapter.cpp:840:8: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). std::strncpy(ifr_d.ifr_name, name().c_str(), IFNAMSIZ); data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/integer.hpp:155:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(bio::bio_ptr bio) const; data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/integer.hpp:165:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(bio::bio_ptr bio) const; data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/integer.hpp:173:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(bio::bio_ptr bio, const void* buf, size_t buf_len) const; data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/integer.hpp:250:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inline void integer::read(bio::bio_ptr bio) const data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/integer.hpp:252:4: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read<1024>(bio); data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/integer.hpp:255:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inline void integer::read(bio::bio_ptr bio) const data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/integer.hpp:259:4: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(bio, buf, size); data/freelan-2.2/libs/cryptoplus/include/cryptoplus/asn1/integer.hpp:261:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inline void integer::read(bio::bio_ptr bio, const void* buf, size_t buf_len) const data/freelan-2.2/libs/cryptoplus/include/cryptoplus/bio/bio_ptr.hpp:192:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ptrdiff_t read(void* buf, size_t buf_len) const; data/freelan-2.2/libs/cryptoplus/include/cryptoplus/bio/bio_ptr.hpp:558:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inline ptrdiff_t bio_ptr::read(void* buf, size_t buf_len) const data/freelan-2.2/libs/cryptoplus/include/cryptoplus/cipher/cipher_stream.hpp:174: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). return append(cstr, std::strlen(cstr)); data/freelan-2.2/libs/cryptoplus/include/cryptoplus/x509/name.hpp:909: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). result.resize(std::strlen(c)); data/freelan-2.2/libs/cryptoplus/src/base64.cpp:84:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ptrdiff_t cnt = bio_chain.first().read(output, outputlen); data/freelan-2.2/libs/cryptoplus/src/buffer.cpp:61:131: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). m_data(static_cast<const uint8_t*>(static_cast<const void*>(str)), static_cast<const uint8_t*>(static_cast<const void*>(str)) + strlen(str)) data/freelan-2.2/libs/cryptoplus/src/file.cpp:92:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). std::string result(msgbuf, strlen(_msgbuf.get())); data/freelan-2.2/libs/executeplus/src/posix_system.cpp:263:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const ssize_t readcnt = ::read(fd[0], &child_errno, sizeof(child_errno)); data/freelan-2.2/libs/iconvplus/src/converter.cpp:81:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(&m_input_buffer[itmp_size / sizeof(input_char_type)], m_input_buffer.size() - itmp_size / sizeof(input_char_type)); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:612:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!match_prefix(NS_ENABLE_HEXDUMP, strlen(NS_ENABLE_HEXDUMP), data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1268:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf, path, sizeof(buf)); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1272: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). p = buf + strlen(buf) - 1; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1327:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). list = val->ptr + strlen(val->ptr); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1597:41: [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). WideCharToMultiByte(CP_UTF8, 0, buf2, wcslen(buf2) + 1, abs_path, len, 0, 0); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1627:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (p = interp + strlen(interp); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1690:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). send(1, buf, strlen(buf), 0); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1788:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (int) (strlen(ri->uri) - strlen(conn->path_info)), ri->uri); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1788:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (int) (strlen(ri->uri) - strlen(conn->path_info)), ri->uri); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:1944:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *copy = (char *) malloc(strlen(str) + 1); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2004:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf, inet_ntoa(usa->sin.sin_addr), len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2099:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n = (int) strlen(ri->uri); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2164: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). len = (int) strlen(str + j); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2185: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). return match_prefix(pw_pattern, strlen(pw_pattern), path) > 0 || data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2186: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). (pattern != NULL && match_prefix(pattern, strlen(pattern), path) > 0); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2201: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). int match_len, root_len = root == NULL ? 0 : strlen(root); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2206: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). int domain_len = colon == NULL ? (int) strlen(domain) : colon - domain; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2235:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (p = buf + strlen(root) + 2; *p != '\0'; p++) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2238:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (match_prefix(cgi_pat, strlen(cgi_pat), buf) > 0 && !stat(buf, st)) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2490: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). SHA1Update(&sha_ctx, (unsigned char *) buf, strlen(buf)); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2499: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). mg_write(conn, buf, strlen(buf)); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2629:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). path_len = strlen(path); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2671:9: [1] (buffer) sscanf: 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 (((sscanf(datetime, "%d/%3s/%d %d:%d:%d", data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2673:9: [1] (buffer) sscanf: 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. (sscanf(datetime, "%d %3s %d %d:%d:%d", data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2675:9: [1] (buffer) sscanf: 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. (sscanf(datetime, "%*3s, %d %3s %d %d:%d:%d", data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2677:9: [1] (buffer) sscanf: 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. (sscanf(datetime, "%d-%3s-%d %d:%d:%d", data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2698:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). path_len = strlen(path); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2713:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). vec->len = strlen(vec->ptr); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2744:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t n = strlen(path), found = 0; data/freelan-2.2/libs/mongooseplus/src/mongoose.c:2763:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(path + n + 1, filename_vec.ptr, filename_vec.len); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3559:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). MD5Update(&ctx, (const unsigned char *) p, (unsigned) strlen(p)); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3654:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int ch = ' ', len = 0, n = strlen(var_name); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3687:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return parse_header(s, s == NULL ? 0 : strlen(s), var_name, buf, buf_size); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3992:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mg_snprintf(path + strlen(path), sizeof(path) - strlen(path), "%s", data/freelan-2.2/libs/mongooseplus/src/mongoose.c:3992:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mg_snprintf(path + strlen(path), sizeof(path) - strlen(path), "%s", data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4004:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (match_prefix(opts[SSI_PATTERN], strlen(opts[SSI_PATTERN]), path) > 0) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4040:16: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((ch = fgetc(fp)) != EOF) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4191:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). conn->mg_conn.uri[strlen(conn->mg_conn.uri) - 1] != '/') { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4212:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). } else if (match_prefix(cgi_pat, strlen(cgi_pat), path) > 0) { data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4220:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(conn->server->config_options[SSI_PATTERN]), data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4460:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int n = read(conn->endpoint.fd, buf, conn->cl < (int64_t) sizeof(buf) ? data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4524:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). name_len = strlen(name); data/freelan-2.2/libs/mongooseplus/src/mongoose.c:4562: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). strlen(conn->query_string), name, dst, dst_len); ANALYSIS SUMMARY: Hits = 934 Lines analyzed = 83002 in approximately 2.34 seconds (35461 lines/second) Physical Source Lines of Code (SLOC) = 41289 Hits@level = [0] 32 [1] 74 [2] 243 [3] 42 [4] 573 [5] 2 Hits@level+ = [0+] 966 [1+] 934 [2+] 860 [3+] 617 [4+] 575 [5+] 2 Hits/KSLOC@level+ = [0+] 23.3961 [1+] 22.621 [2+] 20.8288 [3+] 14.9434 [4+] 13.9262 [5+] 0.0484391 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.