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/openoverlayrouter-1.3.0+ds1/Apple/Frameworks/confuse.h
Examining data/openoverlayrouter-1.3.0+ds1/Apple/oor-Bridging-Header.h
Examining data/openoverlayrouter-1.3.0+ds1/Apple/oor-macos/main.c
Examining data/openoverlayrouter-1.3.0+ds1/Apple/oorPacketTunnelProvider/SwiftSocket.h
Examining data/openoverlayrouter-1.3.0+ds1/Apple/oorPacketTunnelProvider/yudpsocket.c
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_ctrl-plugin/oor_ctrl/node.c
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_ctrl-plugin/oor_ctrl/oor_ctrl.c
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_ctrl-plugin/oor_ctrl/oor_ctrl.h
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_ctrl-plugin/oor_ctrl/oor_ctrl_all_api_h.h
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_ctrl-plugin/oor_ctrl/oor_ctrl_msg_enum.h
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_ctrl-plugin/oor_ctrl/oor_ctrl_test.c
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/node.c
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.h
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss_all_api_h.h
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss_msg_enum.h
Examining data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss_test.c
Examining data/openoverlayrouter-1.3.0+ds1/netconf/oor_api_netconf.c
Examining data/openoverlayrouter-1.3.0+ds1/netconf/oor_api_netconf.h
Examining data/openoverlayrouter-1.3.0+ds1/netconf/oor_lispsimple.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/cmdline.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_confuse.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_confuse.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_uci.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_uci.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/control-data-plane/apple/ios/cdp_ios.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/control-data-plane/apple/ios/cdp_ios.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/control-data-plane/control-data-plane.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/control-data-plane/control-data-plane.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/control-data-plane/tun/cdp_tun.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/control-data-plane/tun/cdp_tun.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/control-data-plane/vpnapi/cdp_vpnapi.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/control-data-plane/vpnapi/cdp_vpnapi.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/control-data-plane/vpp/cdp_vpp.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/control-data-plane/vpp/cdp_vpp.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_ddt_mr.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_ddt_mr.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_ddt_node.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_ddt_node.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_ms.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_ms.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_rtr.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_tr.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_tr.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_xtr.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_xtr.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/oor_control.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/oor_control.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/oor_ctrl_device.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/oor_ctrl_device.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/oor_local_db.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/oor_local_db.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/oor_map_cache.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/oor_map_cache.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_rtr.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/apple/ios/ios.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/apple/ios/ios.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/apple/ios/ios_input.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/apple/ios/ios_input.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/apple/ios/ios_output.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/apple/ios/ios_output.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/data-plane.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/data-plane.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/encapsulations/vxlan-gpe.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/encapsulations/vxlan-gpe.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/ttable.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/ttable.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/tun/tun.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/tun/tun_input.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/tun/tun_input.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/tun/tun_output.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/tun/tun_output.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/tun/tun.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpnapi/vpnapi.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpnapi/vpnapi.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpnapi/vpnapi_input.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpnapi/vpnapi_input.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpnapi/vpnapi_output.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpnapi/vpnapi_output.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpp/vpp.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpp/vpp.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/defs.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/bob/lookup3.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/khash/khash.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/md.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/md.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/md_internal.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/md_wrap.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/ovs/list.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/ovs/ovs_util.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/flow_balancing/fb_addr_func.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/flow_balancing/fb_addr_func.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/flow_balancing/flow_balancing.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/flow_balancing/flow_balancing.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/flow_balancing/fwd_entry_tuple.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/flow_balancing/fwd_entry_tuple.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/fwd_addr_func.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/fwd_addr_func.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/fwd_policy.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/fwd_policy.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/fwd_utils.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/fwd_utils.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/vpp_balancing/fwd_entry_vpp.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/vpp_balancing/fwd_entry_vpp.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/vpp_balancing/vpp_balancing.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/vpp_balancing/vpp_balancing.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/iface_list.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/iface_list.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/cksum.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/cksum.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/ddt_map_cache_entry.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/ddt_map_cache_entry.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/generic_list.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/generic_list.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/hmac.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/hmac.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/htable_ptrs.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/htable_ptrs.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/iface_locators.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/iface_locators.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/int_table.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/int_table.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/interfaces_lib.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/interfaces_lib.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/ios_packetTunnelProvider_api.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/ios_packetTunnelProvider_api.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/ios_packetTunnelProvider_api_l.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/lbuf.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/lbuf.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/lisp_site.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/lisp_site.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_entry.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_entry.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_rtr_data.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/map_local_entry.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/map_local_entry.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/mapping_db.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/mapping_db.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/mem_util.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/mem_util.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/nonces_table.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/nonces_table.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/oor_log.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/oor_log.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/prefixes.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/prefixes.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/routing_tables_lib.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/routing_tables_lib.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/shash.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/shash.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets-util.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets-util.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/timers.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/timers.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/timers_utils.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/timers_utils.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/util.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/util.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/ctrl_vpp_plugin.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/pkt_miss_vpp_plugin.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/vpp_api.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/vpp_api.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/vpp_api_reply.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/vpp_api_requests.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/vpp_api_requests.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_rtr_data.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/liblisp.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/liblisp.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_address.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_address.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_data.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_data.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_mapping.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_mapping.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_mref_mapping.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_mref_mapping.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/apple/ios/netm_ios.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/apple/ios/netm_ios.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/apple/ios/route.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/iface_mgmt.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/iface_mgmt.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/net_mgr.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/net_mgr.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/net_mgr_proc_fc.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/net_mgr_proc_fc.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/vpp/netm_vpp.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/vpp/netm_vpp.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/oor.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/oor.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/oor_external.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/oor_jni.c
Examining data/openoverlayrouter-1.3.0+ds1/oor/oor_jni.h
Examining data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c
Examining data/openoverlayrouter-1.3.0+ds1/tests/clientserver.h
Examining data/openoverlayrouter-1.3.0+ds1/tests/tcp_echo.h
Examining data/openoverlayrouter-1.3.0+ds1/tests/tcp_echo_client.c
Examining data/openoverlayrouter-1.3.0+ds1/tests/tcp_echo_server.c
Examining data/openoverlayrouter-1.3.0+ds1/tests/udp_echo_client.c
Examining data/openoverlayrouter-1.3.0+ds1/tests/udp_echo_server.c

FINAL RESULTS:

data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c:318:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(result, s);
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.c:134:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(lisp_address_str,"%s/%s",addr,mask);
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:93:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(str + strlen(str), " %s  ",
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:105:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(str + strlen(str), " %s  ",
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:117:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(str + strlen(str), " %s  ",
data/openoverlayrouter-1.3.0+ds1/oor/lib/oor_log.c:112:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vfprintf(fp,format,args);
data/openoverlayrouter-1.3.0+ds1/oor/lib/oor_log.c:121:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vfprintf(stdout,format,args);
data/openoverlayrouter-1.3.0+ds1/oor/lib/oor_log.c:129:13:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            vfprintf(fp,format,args);
data/openoverlayrouter-1.3.0+ds1/oor/lib/oor_log.c:143:13:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            vfprintf(fp,format,args);
data/openoverlayrouter-1.3.0+ds1/oor/lib/oor_log.c:150:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vfprintf(stdout,format,args);
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:788:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(buf, fmt, ip_to_char(&iph->saddr, AF_INET),
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:793:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(buf, fmt, ip_to_char(&ip6h->ip6_src, AF_INET6),
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:797:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(buf, fmt, "NOT IP", "NOT IP");
data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/vpp_api.c:38:10:  [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.
    fp = popen("pidof vpp", "r");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.c:277:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(address[i], "%s/%d", ip_addr_to_char(ip_prefix_addr(pref)),
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:174:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buf,sizeof(buf), BOLD "Map-Request" RESET"-> flags:%s, irc: %d (+1), record-count: %d, "
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:200:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buf,sizeof(buf), BOLD "Map-Reply" RESET "-> flags:%s, record-count: %d, nonce: %"PRIx64,
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:215:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(buf, BOLD "Info Request" RESET " -> nonce %"PRIx64, htonll(h->nonce));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:217:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(buf, BOLD "Info Reply" RESET " -> nonce %"PRIx64, htonll(h->nonce));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:246:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buf,sizeof(buf), BOLD "Map-Register" RESET " -> flags:%s record-count: %d nonce %"PRIx64,
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:270:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buf,sizeof(buf), BOLD "Map-Notify" RESET "-> flags:%s, record-count: %d, nonce %"PRIx64,
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:296:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buf,sizeof(buf), BOLD "ECM" RESET " -> flags:%s", ecm_flags_to_char(h));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:310:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buf,sizeof(buf), BOLD "Map-Referral" RESET "-> record-count: %d, nonce: %"PRIx64,
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/iface_mgmt.c:373:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(ifnames, "%s ", iface_name);
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:687: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(ifr.ifr_name, name); //ifr_name space reserved by the structure
data/openoverlayrouter-1.3.0+ds1/oor/oor.c:406: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( config_file, F_OK ) == -1 ) {
data/openoverlayrouter-1.3.0+ds1/oor/oor.c:518:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(config_file,path);
data/openoverlayrouter-1.3.0+ds1/oor/oor.c:520:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(log_file,path);
data/openoverlayrouter-1.3.0+ds1/oor/oor.c:610:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(config_file,confPath);
data/openoverlayrouter-1.3.0+ds1/oor/oor.c:611:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(log_file,logPath);
data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c:529:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long (argc, argv, "hVd:a:Df:", long_options, &option_index);
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:1502:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			xtr_id->byte[ctr] = (uint8_t)random();
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:1514:34:  [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.
				xtr_id->byte[ctr] = (uint8_t)random();
data/openoverlayrouter-1.3.0+ds1/oor/oor.c:377:5:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srandom(iseed);
data/openoverlayrouter-1.3.0+ds1/Apple/oorPacketTunnelProvider/yudpsocket.c:82: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(remoteip, clientip, strlen(clientip));
data/openoverlayrouter-1.3.0+ds1/Apple/oorPacketTunnelProvider/yudpsocket.c:117:5:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    bcopy((char *)hp->h_addr, (char *)&address.sin_addr, hp->h_length);
data/openoverlayrouter-1.3.0+ds1/Apple/oorPacketTunnelProvider/yudpsocket.c:119: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(ip, clientip, strlen(clientip));
data/openoverlayrouter-1.3.0+ds1/VPP/oor_ctrl-plugin/oor_ctrl/oor_ctrl.c:378:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(sndbuf + sizeof(vpp_nl_msg) + sizeof(vpp_nl_addr_info), (u8 *)address, sizeof (ip4_address_t));
data/openoverlayrouter-1.3.0+ds1/VPP/oor_ctrl-plugin/oor_ctrl/oor_ctrl.c:425:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(sndbuf + sizeof(vpp_nl_msg) + sizeof(vpp_nl_addr_info), (u8 *)address, sizeof (ip6_address_t));
data/openoverlayrouter-1.3.0+ds1/VPP/oor_ctrl-plugin/oor_ctrl/oor_ctrl_test.c:116: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(mp->host_if_name,host_if_name,strlen((char *)host_if_name));
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char vpp_if_name[100];
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:245: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(&rpath.frp_addr,gateway, sizeof(ip46_address_t));
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:495:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&prefix.fp_addr.ip4,mp->address,4);
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:497:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&prefix.fp_addr.ip6,mp->address,16);
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:515:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&prefix.fp_addr.ip4,mp->address,4);
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:517:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&prefix.fp_addr.ip6,mp->address,16);
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:547:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(rmp->address,&gateway.ip6,16);
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:556:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(rmp->address,&gateway.ip4,4);
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:566:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(rmp->address,&sm->ipv6_gateway.ip6,16);
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:575:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(rmp->address,&sm->ipv4_gateway.ip4,4);
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:654:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy (gateway,&(adj->sub_type.nbr.next_hop),sizeof(ip46_address_t));
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss.c:754:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy (gateway,&(adj->sub_type.nbr.next_hop),sizeof(ip46_address_t));
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss_test.c:98: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 ip_addr[INET6_ADDRSTRLEN];
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss_test.c:159: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(mp->host_if_name,host_if_name,strlen((char *)host_if_name));
data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c:287: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).
  outfile = fopen(filename, "w");
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api.c:75: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,hdr,sizeof(oor_api_msg_hdr_t));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api.c:104:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, &res,sizeof(oor_api_msg_result_e));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api.c:184:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(dta_ptr,data,dlen);
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.c:88:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        mask = atoi((char*)xmlNodeGetContent(get_inner_xmlNodePtr(xml_address,"mask")));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.c:150:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        iid = atoi((char*)xmlNodeGetContent(get_inner_xmlNodePtr(xml_address,"instance-id")));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.c:252:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        ttl = atoi((char*)xmlNodeGetContent(get_inner_xmlNodePtr(xml_local_eid,"record-ttl")));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.c:261:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            prty = atoi((char*)xmlNodeGetContent(get_inner_xmlNodePtr(xml_rloc,"priority")));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.c:264:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            wght = atoi((char*)xmlNodeGetContent(get_inner_xmlNodePtr(xml_rloc,"weight")));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.c:267:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            mprty = atoi((char*)xmlNodeGetContent(get_inner_xmlNodePtr(xml_rloc,"multicast-priority")));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.c:270:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            mwght = atoi((char*)xmlNodeGetContent(get_inner_xmlNodePtr(xml_rloc,"multicast-weight")));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:67: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[2000];
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:158:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[114];
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:215:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[100];
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:1484:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file[200];
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:1485:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[80];
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:1486:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char part_xtr_id_str[3];
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:1493:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	xtr_id_file = fopen(file, "r");
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:1496:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		xtr_id_file = fopen(file, "w");
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:1508:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			xtr_id_file = fopen(file, "w");
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_rtr.c:996:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[500];
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_rtr.c:999:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "_NULL_");
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_xtr.c:1857:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                str[80];
data/openoverlayrouter-1.3.0+ds1/oor/control/oor_ctrl_device.c:150:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char device[15];
data/openoverlayrouter-1.3.0+ds1/oor/control/oor_ctrl_device.c:154:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(device,"xTR");
data/openoverlayrouter-1.3.0+ds1/oor/control/oor_ctrl_device.c:157:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(device,"Map Server");
data/openoverlayrouter-1.3.0+ds1/oor/control/oor_ctrl_device.c:160:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(device,"RTR");
data/openoverlayrouter-1.3.0+ds1/oor/control/oor_ctrl_device.c:163:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(device,"Mobile Node");
data/openoverlayrouter-1.3.0+ds1/oor/control/oor_ctrl_device.c:166:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(device,"DDT node");
data/openoverlayrouter-1.3.0+ds1/oor/control/oor_ctrl_device.c:169:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(device,"DDT MR node");
data/openoverlayrouter-1.3.0+ds1/oor/control/oor_ctrl_device.c:172:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(device,"Unknown");
data/openoverlayrouter-1.3.0+ds1/oor/data-plane/apple/ios/ios_output.c:215: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[1024];
data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpp/vpp.c:151: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 vni_str[9];
data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpp/vpp.c:181:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(vni_str, "%d",vni);
data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpp/vpp.c:207: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 vni_str[9];
data/openoverlayrouter-1.3.0+ds1/oor/data-plane/vpp/vpp.c:221:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(vni_str, "%d",vni);
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/md.c:294: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 buf[1024];
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/md.c:299:15:  [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( ( f = fopen( path, "rb" ) ) == NULL )
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/md.c:330: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 sum[MBEDTLS_MD_MAX_SIZE];
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/md.c:379: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 tmp[MBEDTLS_MD_MAX_SIZE];
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.c:101:70:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha1_process( mbedtls_sha1_context *ctx, const unsigned char data[64] )
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.c:280:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( (void *) (ctx->buffer + left), input, fill );
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.c:295:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( (void *) (ctx->buffer + left), input, ilen );
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.c:298:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char sha1_padding[64] =
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.c:309:63:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha1_finish( mbedtls_sha1_context *ctx, unsigned char output[20] )
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.c:313: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 msglen[8];
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.c:340:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha1( const unsigned char *input, size_t ilen, unsigned char output[20] )
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.c:340:70:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha1( const unsigned char *input, size_t ilen, unsigned char output[20] )
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.h:48: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 block being processed */
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.h:97:63:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha1_finish( mbedtls_sha1_context *ctx, unsigned char output[20] );
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.h:100:70:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha1_process( mbedtls_sha1_context *ctx, const unsigned char data[64] );
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.h:121:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha1( const unsigned char *input, size_t ilen, unsigned char output[20] );
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha1.h:121:70:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha1( const unsigned char *input, size_t ilen, unsigned char output[20] );
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.c:169:74:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha256_process( mbedtls_sha256_context *ctx, const unsigned char data[64] )
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.c:248:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( (void *) (ctx->buffer + left), input, fill );
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.c:263:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( (void *) (ctx->buffer + left), input, ilen );
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.c:266:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char sha256_padding[64] =
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.c:277:67:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha256_finish( mbedtls_sha256_context *ctx, unsigned char output[32] )
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.c:281: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 msglen[8];
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.c:313:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha256( const unsigned char *input, size_t ilen,
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.c:314:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
             unsigned char output[32], int is224 )
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.h:49: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 block being processed */
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.h:101:67:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha256_finish( mbedtls_sha256_context *ctx, unsigned char output[32] );
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.h:104:74:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha256_process( mbedtls_sha256_context *ctx, const unsigned char data[64] );
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.h:126:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void mbedtls_sha256( const unsigned char *input, size_t ilen,
data/openoverlayrouter-1.3.0+ds1/oor/elibs/mbedtls/sha256.h:127:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
           unsigned char output[32], int is224 );
data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c:93:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (dst, xp, sizeof(struct in_addr));
data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c:118:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buffs[PATRICIA_MAX_THREADS][48+5];
data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c:142:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buff, "%d.%d.%d.%d/%d", a[0], a[1], a[2], a[3],
data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c:146:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buff, "%d.%d.%d.%d", a[0], a[1], a[2], a[3]);
data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c:156:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buff + strlen (buff), "/%d", prefix->bitlen);
data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c:198:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&prefix->add.sin, dest, sizeof(struct in_addr));
data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c:202:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&prefix->add.sin6, dest, sizeof(struct in6_addr));
data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c:233: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		save[MAXLINE];
data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c:251:11:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	bitlen = atol (cp + 1);
data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c:255:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (save, string, cp - string);
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:80:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[3000];
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:86:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "  IPv4 locators vector (%d locators):  ",
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:90:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(str + strlen(str), " ...");
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:98:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "  IPv6 locators vector (%d locators):  ",
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:102:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(str + strlen(str), " ...");
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:110:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "  IPv4 & IPv6 locators vector (%d locators):  ",
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:114:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(str + strlen(str), " ...");
data/openoverlayrouter-1.3.0+ds1/oor/iface_list.c:180:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[5][500];
data/openoverlayrouter-1.3.0+ds1/oor/iface_list.c:184:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf[i], "_NULL_");
data/openoverlayrouter-1.3.0+ds1/oor/iface_list.c:344:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[4000];
data/openoverlayrouter-1.3.0+ds1/oor/iface_list.c:351:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(str, "*** LISP RLOC Interfaces List ***\n\n");
data/openoverlayrouter-1.3.0+ds1/oor/lib/ddt_map_cache_entry.c:99: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[256], buf2[64];
data/openoverlayrouter-1.3.0+ds1/oor/lib/ddt_map_cache_entry.c:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[400];
data/openoverlayrouter-1.3.0+ds1/oor/lib/hmac.c:99: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(auth_data_copy,auth_data_pos,auth_data_len);
data/openoverlayrouter-1.3.0+ds1/oor/lib/interfaces_lib.c:63: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).
    if( (receive_fd = open(clonedev, O_RDWR)) < 0 ) {
data/openoverlayrouter-1.3.0+ds1/oor/lib/interfaces_lib.c:128: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                sndbuf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/lib/interfaces_lib.c:182: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                sndbuf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/lib/interfaces_lib.c:260: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                sndbuf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/lib/lbuf.c:119:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((uint8_t *)new_base + new_headroom, b->data, b->size);
data/openoverlayrouter-1.3.0+ds1/oor/lib/lbuf.c:178:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, data, size);
data/openoverlayrouter-1.3.0+ds1/oor/lib/lbuf.c:195:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, data, size);
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_entry.c:108: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[256], buf2[64];
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_entry.c:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[400];
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_rtr_data.c:96:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&rloc_nat_data->xtr_id, xtr_id, sizeof(lisp_xtr_id));
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_rtr_data.c:116:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[3][1000];
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_rtr_data.c:124:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf[i], "_NULL_");
data/openoverlayrouter-1.3.0+ds1/oor/lib/mapping_db.c:678:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&aux_pref,node->prefix,sizeof(prefix_t));
data/openoverlayrouter-1.3.0+ds1/oor/lib/mem_util.c:72: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, p_, size);
data/openoverlayrouter-1.3.0+ds1/oor/lib/mem_util.c:80: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, p_, length);
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:118:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (&(eth->ether_dhost),ether_dhost, ETHER_ADDR_LEN*sizeof(uint8_t));
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:119: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 (&(eth->ether_shost),ether_shost, ETHER_ADDR_LEN*sizeof(uint8_t));
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:163: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(ip6h->ip6_src.s6_addr, src->s6_addr, sizeof(struct in6_addr));
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:164: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(ip6h->ip6_dst.s6_addr, dst->s6_addr, sizeof(struct in6_addr));
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:517:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[2][200];
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:524:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf[i], "_NULL_");
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:672:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ip6h->ip6_src.s6_addr,ip_addr_get_v6(lisp_addr_ip(src_addr)),
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:674:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ip6h->ip6_dst.s6_addr,ip_addr_get_v6(lisp_addr_ip(dst_addr)),
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:762: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(CO(udph_ptr, udp_hdr_len), orig_pkt, orig_pkt_len);
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:782:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[150];
data/openoverlayrouter-1.3.0+ds1/oor/lib/routing_tables_lib.c:81:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/lib/routing_tables_lib.c:152:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(((char *)rta) + sizeof(struct rtattr), &priority, sizeof(uint32_t));
data/openoverlayrouter-1.3.0+ds1/oor/lib/routing_tables_lib.c:165:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(((char *)rta) + sizeof(struct rtattr), &if_index, sizeof(int));
data/openoverlayrouter-1.3.0+ds1/oor/lib/routing_tables_lib.c:264: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 sndbuf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/lib/routing_tables_lib.c:336:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(((char *)rta) + sizeof(struct rtattr), &ifindex, sizeof(uint32_t));
data/openoverlayrouter-1.3.0+ds1/oor/lib/routing_tables_lib.c:364:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(((char *)rta) + sizeof(struct rtattr), &metric, sizeof(uint32_t));
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets-util.c:300:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(sock_addr_v6.sin6_addr),ip_addr_get_v6(lisp_addr_ip(src_addr)),sizeof(struct in6_addr));
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets-util.c:388:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&sock_addr_v6.sin6_addr, ip_addr_get_v6(lisp_addr_ip(addr_dest)),sizeof(struct in6_addr));
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets-util.c:444:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(sock_addr_v6->sin6_addr), ip_addr_get_v6(lisp_addr_ip(addr)),sizeof(struct in6_addr));
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.c:525:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(new_uc,uc,sizeof(uconn_t));
data/openoverlayrouter-1.3.0+ds1/oor/lib/util.c:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        hex_digit[2];
data/openoverlayrouter-1.3.0+ds1/oor/lib/util.c:101:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char         xTR_ID_str[33];
data/openoverlayrouter-1.3.0+ds1/oor/lib/util.c:107:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(xTR_ID_str+strlen(xTR_ID_str), "%02x", xtrid->byte[ctr]);
data/openoverlayrouter-1.3.0+ds1/oor/lib/util.c:204: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 bool_str[10];
data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/ctrl_vpp_plugin.c:101: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 (mp->host_if_name, iface_name, strlen(iface_name));
data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/pkt_miss_vpp_plugin.c:138: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 (mp->host_if_name, iface_name, strlen(iface_name));
data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/vpp_api.c:36:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[100];
data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/vpp_api_reply.c:154: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(iface->l2_address, mp->l2_address, sizeof(mp->l2_address));
data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/vpp_api_requests.c:69: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 (mp->host_if_name, iface_name, strlen(iface_name));
data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/vpp_api_requests.c:70: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 (mp->hw_addr,mac,6);
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/liblisp.c:352: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(xtr_id,ptr,sizeof(lisp_xtr_id));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/liblisp.c:354: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(site_id,ptr,sizeof(lisp_site_id));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/liblisp.c:1131:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[50*INET6_ADDRSTRLEN]; /* 50 addresses */
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.c:100: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(ip_addr_get_v4(ipaddr), src, sizeof(struct in_addr));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.c:107: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(ip_addr_get_v6(ipaddr), src, sizeof(struct in6_addr));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.c:145:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, src, sizeof(ip_addr_t));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.c:162:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, ip_addr_get_addr(src), ip_addr_get_size(src));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.c:175:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, ip_addr_get_addr(src), ip_addr_get_size(src));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.c:208: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(ip_addr_get_addr(dst), CO(offset, sizeof(uint16_t)), ip_iana_afi_to_size(iana_afi));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.c:269:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char address[10][INET6_ADDRSTRLEN+5];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.c:323:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mask = atoi(token);
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_ip.c:351:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char address[10][INET6_ADDRSTRLEN+1];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:609:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[10][INET6_ADDRSTRLEN*2+4];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:859:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[10][INET6_ADDRSTRLEN*2+4];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1059:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[10][INET6_ADDRSTRLEN*2+4];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1076:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[INET6_ADDRSTRLEN*2+4];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1365:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[5][500];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1605:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[5][500];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1615:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf[i], "ELP:");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1880:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[3][500];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1890:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf[i], "RLE:");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:2087:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[3][500];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.c:57:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[5][500];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.c:61:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf[i], "_NULL_");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_mapping.c:151:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[1000];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:58:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[30];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:63:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "no-action");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:66:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "native-forward");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:69:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "send-map-request");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:72:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "drop");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:75:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "unknown-action");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:83:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[30];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:88:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "node-referral");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:91:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "ms-referral");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:94:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "ms-ack");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:97:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "ms-not-registered");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:100:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(buf, "delegation-hole");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:103:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(buf, "not-authoritative");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:106:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "unknown-action");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:114:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[100];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:131:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[100];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:150:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[15];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:152:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->local ? sprintf(buf+strlen(buf), "L=1,") : sprintf(buf+strlen(buf), "L=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:152:51:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->local ? sprintf(buf+strlen(buf), "L=1,") : sprintf(buf+strlen(buf), "L=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:153:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->probed ? sprintf(buf+strlen(buf), "p=1,") : sprintf(buf+strlen(buf), "p=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:153:52:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->probed ? sprintf(buf+strlen(buf), "p=1,") : sprintf(buf+strlen(buf), "p=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:154:20:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->reachable ? sprintf(buf+strlen(buf), "R=1") : sprintf(buf+strlen(buf), "R=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:154:54:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->reachable ? sprintf(buf+strlen(buf), "R=1") : sprintf(buf+strlen(buf), "R=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:161: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.
   static char buf[100];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:152:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[25];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:155:24:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->authoritative ? sprintf(buf+strlen(buf), "a=1,") : sprintf(buf+strlen(buf), "a=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:155:59:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->authoritative ? sprintf(buf+strlen(buf), "a=1,") : sprintf(buf+strlen(buf), "a=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:156:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->map_data_present ?  sprintf(buf+strlen(buf), "m=1,") : sprintf(buf+strlen(buf), "m=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:156:63:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->map_data_present ?  sprintf(buf+strlen(buf), "m=1,") : sprintf(buf+strlen(buf), "m=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:157:21:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->rloc_probe ? sprintf(buf+strlen(buf), "p=1,") : sprintf(buf+strlen(buf), "p=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:157:56:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->rloc_probe ? sprintf(buf+strlen(buf), "p=1,") : sprintf(buf+strlen(buf), "p=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:158:30:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->solicit_map_request ? sprintf(buf+strlen(buf), "s=1,") : sprintf(buf+strlen(buf), "s=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:158:65:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->solicit_map_request ? sprintf(buf+strlen(buf), "s=1,") : sprintf(buf+strlen(buf), "s=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:159:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->pitr ? sprintf(buf+strlen(buf), "P=1,") : sprintf(buf+strlen(buf), "P=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:159:50:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->pitr ? sprintf(buf+strlen(buf), "P=1,") : sprintf(buf+strlen(buf), "P=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:160:22:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->smr_invoked ? sprintf(buf+strlen(buf), "S=1") : sprintf(buf+strlen(buf), "S=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:160:56:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->smr_invoked ? sprintf(buf+strlen(buf), "S=1") : sprintf(buf+strlen(buf), "S=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:168:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[120];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:183:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[12];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:186:21:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->rloc_probe ? sprintf(buf+strlen(buf), "P=1,") : sprintf(buf+strlen(buf), "P=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:186:56:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->rloc_probe ? sprintf(buf+strlen(buf), "P=1,") : sprintf(buf+strlen(buf), "P=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:187:21:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->echo_nonce ? sprintf(buf+strlen(buf), "E=1,") : sprintf(buf+strlen(buf), "E=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:187:56:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->echo_nonce ? sprintf(buf+strlen(buf), "E=1,") : sprintf(buf+strlen(buf), "E=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:188:19:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->security ? sprintf(buf+strlen(buf), "S=1") : sprintf(buf+strlen(buf), "S=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:188:53:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->security ? sprintf(buf+strlen(buf), "S=1") : sprintf(buf+strlen(buf), "S=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:195:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[100];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:208:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[100];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:226:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[5];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:240:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[100];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:254:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[3];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:264:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[100];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:279:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[16];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:281:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->s_bit ? sprintf(buf, "S=1,") : sprintf(buf, "S=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:281:39:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->s_bit ? sprintf(buf, "S=1,") : sprintf(buf, "S=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:282:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->d_bit ? sprintf(buf+strlen(buf), "D=1,") : sprintf(buf+strlen(buf), "D=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:282:51:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->d_bit ? sprintf(buf+strlen(buf), "D=1,") : sprintf(buf+strlen(buf), "D=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:283:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->r_bit ? sprintf(buf+strlen(buf), "R=1,") : sprintf(buf+strlen(buf), "R=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:283:51:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->r_bit ? sprintf(buf+strlen(buf), "R=1,") : sprintf(buf+strlen(buf), "R=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:284:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->n_bit ? sprintf(buf+strlen(buf), "N=1") : sprintf(buf+strlen(buf), "N=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:284:50:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    h->n_bit ? sprintf(buf+strlen(buf), "N=1") : sprintf(buf+strlen(buf), "N=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:291:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[50];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:304:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[100];
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_mref_mapping.c:206:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[500];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/apple/ios/netm_ios.c:53:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/apple/ios/netm_ios.c:390:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char host[NI_MAXHOST];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/apple/ios/netm_ios.c:609: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 iface_name[IF_NAMESIZE];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/iface_mgmt.c:59:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[4096];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/iface_mgmt.c:180: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 iface_name[IF_NAMESIZE];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/iface_mgmt.c:315: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 iface_name[IF_NAMESIZE+1];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/iface_mgmt.c:319: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 ifnames[1024] = { 0 };
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/iface_mgmt.c:515: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 sndbuf[4096],rcvbuf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:105: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 sndbuf[4096],rcvbuf[4096],name[IF_NAMESIZE];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:231: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 sndbuf[4096],rcvbuf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:324: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 sndbuf[4096],rcvbuf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:461: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 sndbuf[4096],rcvbuf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:564: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 sndbuf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:614:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char host[NI_MAXHOST];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:664: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[IFNAMSIZ];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:702:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&sock_addr4->sin_addr, data, sizeof(struct in_addr));
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:707:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&sock_addr6->sin6_addr, data, sizeof(struct in6_addr));
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:731: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                  rcvbuf[4096];
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/vpp/netm_vpp.c:454: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(mac, iface_info->l2_address, 6*sizeof(uint8_t));
data/openoverlayrouter-1.3.0+ds1/oor/oor.c:493: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 log_file[1024];
data/openoverlayrouter-1.3.0+ds1/oor/oor.c:519:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(config_file,"oor.conf");
data/openoverlayrouter-1.3.0+ds1/oor/oor.c:521:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(log_file,"oor.log");
data/openoverlayrouter-1.3.0+ds1/oor/oor.c:588: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 log_file[1024];
data/openoverlayrouter-1.3.0+ds1/tests/tcp_echo_client.c:16: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[BUFLEN];
data/openoverlayrouter-1.3.0+ds1/tests/tcp_echo_client.c:17: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 srv_addr[16];
data/openoverlayrouter-1.3.0+ds1/tests/tcp_echo_client.c:46:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "DATA PACKET # %d", i);
data/openoverlayrouter-1.3.0+ds1/tests/tcp_echo_server.c:16: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[BUFLEN];
data/openoverlayrouter-1.3.0+ds1/tests/tcp_echo_server.c:17: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 srv_addr[16];
data/openoverlayrouter-1.3.0+ds1/tests/tcp_echo_server.c:46:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "DATA PACKET # %d", i);
data/openoverlayrouter-1.3.0+ds1/tests/udp_echo_client.c:23: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[BUFLEN];
data/openoverlayrouter-1.3.0+ds1/tests/udp_echo_client.c:34:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    port = atoi(argv[2]);
data/openoverlayrouter-1.3.0+ds1/tests/udp_echo_client.c:50:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "DATA PACKET # %d", i);
data/openoverlayrouter-1.3.0+ds1/tests/udp_echo_server.c:24:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUFLEN];
data/openoverlayrouter-1.3.0+ds1/tests/udp_echo_server.c:32:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    port = atoi(argv[1]);
data/openoverlayrouter-1.3.0+ds1/Apple/oorPacketTunnelProvider/yudpsocket.c:53:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (address == NULL || strlen(address) == 0 || strcmp(address, "255.255.255.255") == 0) {
data/openoverlayrouter-1.3.0+ds1/Apple/oorPacketTunnelProvider/yudpsocket.c:82: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).
    memcpy(remoteip, clientip, strlen(clientip));
data/openoverlayrouter-1.3.0+ds1/Apple/oorPacketTunnelProvider/yudpsocket.c:119:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(ip, clientip, strlen(clientip));
data/openoverlayrouter-1.3.0+ds1/VPP/oor_ctrl-plugin/oor_ctrl/oor_ctrl_test.c:116: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).
    memcpy(mp->host_if_name,host_if_name,strlen((char *)host_if_name));
data/openoverlayrouter-1.3.0+ds1/VPP/oor_pkt_miss-plugin/oor_pkt_miss/oor_pkt_miss_test.c:159: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).
    memcpy(mp->host_if_name,host_if_name,strlen((char *)host_if_name));
data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c:112:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     (strlen(CMDLINE_PARSER_PACKAGE_NAME) ? CMDLINE_PARSER_PACKAGE_NAME : CMDLINE_PARSER_PACKAGE),
data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c:115:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(gengetopt_args_info_versiontext) > 0)
data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c:122:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(gengetopt_args_info_purpose) > 0)
data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c:125:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(gengetopt_args_info_usage) > 0)
data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c:130:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(gengetopt_args_info_description) > 0)
data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c:216: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).
  for (i = 0, len = strlen(val); values[i]; ++i)
data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c:222: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).
          if (strlen(values[i]) == len)
data/openoverlayrouter-1.3.0+ds1/oor/cmdline.c:315:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result = (char*)malloc(strlen(s) + 1);
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.c:133: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).
        lisp_address_str = xmalloc(strlen(addr)+strlen(mask)+1+1);
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_api_internals.c:133:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        lisp_address_str = xmalloc(strlen(addr)+strlen(mask)+1+1);
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:82:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        snprintf(buf+strlen(buf), buf_size - strlen(buf),"\n  %s",conf_loc_to_char(conf_loct));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:82:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        snprintf(buf+strlen(buf), buf_size - strlen(buf),"\n  %s",conf_loc_to_char(conf_loct));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:86:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        snprintf(buf+strlen(buf), buf_size - strlen(buf),"\n  %s",conf_loc_iface_to_char(conf_loct_iface));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:86:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        snprintf(buf+strlen(buf), buf_size - strlen(buf),"\n  %s",conf_loc_iface_to_char(conf_loct_iface));
data/openoverlayrouter-1.3.0+ds1/oor/config/oor_config_functions.c:1506:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (fgets(line, sizeof(line),xtr_id_file) == NULL || strlen(line) != 32){
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_ms.c:542: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).
        } else if (strncmp(key, reg_pref->key, strlen(key)) !=0 ) {
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_rtr.c:1004:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf + strlen(buf),buf_size - strlen(buf),"MS addr: %s, ", lisp_addr_to_char(ms_node->addr));
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_rtr.c:1004:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf + strlen(buf),buf_size - strlen(buf),"MS addr: %s, ", lisp_addr_to_char(ms_node->addr));
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_rtr.c:1005:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf + strlen(buf),buf_size - strlen(buf),"Key: ******, ");
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_rtr.c:1005:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf + strlen(buf),buf_size - strlen(buf),"Key: ******, ");
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_rtr.c:1006:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf + strlen(buf),buf_size - strlen(buf),"Nat draft version: %s",
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_rtr.c:1006:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf + strlen(buf),buf_size - strlen(buf),"Nat draft version: %s",
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_xtr.c:1871:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(str + strlen(str), str_size - strlen(str), "          NONE           |");
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_xtr.c:1871:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(str + strlen(str), str_size - strlen(str), "          NONE           |");
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_xtr.c:1873:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(str + strlen(str), str_size - strlen(str), "     HMAC-SHA-1-96       |");
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_xtr.c:1873:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(str + strlen(str), str_size - strlen(str), "     HMAC-SHA-1-96       |");
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_xtr.c:1875:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(str + strlen(str), str_size - strlen(str), "    HMAC-SHA-256-128     |");
data/openoverlayrouter-1.3.0+ds1/oor/control/lisp_xtr.c:1875:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(str + strlen(str), str_size - strlen(str), "    HMAC-SHA-256-128     |");
data/openoverlayrouter-1.3.0+ds1/oor/elibs/patricia/patricia.c:156:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf (buff + strlen (buff), "/%d", prefix->bitlen);
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:89:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(str) > 2850) {
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:90: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).
                sprintf(str + strlen(str), " ...");
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:93: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).
            sprintf(str + strlen(str), " %s  ",
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:101:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(str) > 2900) {
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:102: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).
                sprintf(str + strlen(str), " ...");
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:105: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).
            sprintf(str + strlen(str), " %s  ",
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:113:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(str) > 2950) {
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:114: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).
                sprintf(str + strlen(str), " ...");
data/openoverlayrouter-1.3.0+ds1/oor/fwd_policies/balancing_locators.c:117: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).
            sprintf(str + strlen(str), " %s  ",
data/openoverlayrouter-1.3.0+ds1/oor/iface_list.c:355: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).
        snprintf(str + strlen(str),str_size - strlen(str),"== %s   (%s)==\n", iface->iface_name,
data/openoverlayrouter-1.3.0+ds1/oor/iface_list.c:355: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).
        snprintf(str + strlen(str),str_size - strlen(str),"== %s   (%s)==\n", iface->iface_name,
data/openoverlayrouter-1.3.0+ds1/oor/iface_list.c:358:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(str + strlen(str),str_size - strlen(str), "  IPv4 RLOC: %s \n",
data/openoverlayrouter-1.3.0+ds1/oor/iface_list.c:358:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(str + strlen(str),str_size - strlen(str), "  IPv4 RLOC: %s \n",
data/openoverlayrouter-1.3.0+ds1/oor/iface_list.c:362:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(str + strlen(str),str_size - strlen(str), "  IPv6 RLOC: %s \n",
data/openoverlayrouter-1.3.0+ds1/oor/iface_list.c:362:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(str + strlen(str),str_size - strlen(str), "  IPv6 RLOC: %s \n",
data/openoverlayrouter-1.3.0+ds1/oor/lib/ddt_map_cache_entry.c:121: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).
        snprintf(str + strlen(str),sizeof(str) - strlen(str),"TYPE: Static, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/ddt_map_cache_entry.c:121:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        snprintf(str + strlen(str),sizeof(str) - strlen(str),"TYPE: Static, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/ddt_map_cache_entry.c:123: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).
        snprintf(str + strlen(str),sizeof(str) - strlen(str),"TYPE: Dynamic, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/ddt_map_cache_entry.c:123:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        snprintf(str + strlen(str),sizeof(str) - strlen(str),"TYPE: Dynamic, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/hmac.c:60: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).
            strlen(key),
data/openoverlayrouter-1.3.0+ds1/oor/lib/hmac.c:106: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).
            strlen(key),
data/openoverlayrouter-1.3.0+ds1/oor/lib/interfaces_lib.c:71:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ifr.ifr_name, iface_name, IFNAMSIZ - 1);
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_entry.c:130: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).
        snprintf(str + strlen(str),sizeof(str) - strlen(str),"TYPE: Static, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_entry.c:130:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        snprintf(str + strlen(str),sizeof(str) - strlen(str),"TYPE: Static, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_entry.c:132: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).
        snprintf(str + strlen(str),sizeof(str) - strlen(str),"TYPE: Dynamic, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_entry.c:132:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        snprintf(str + strlen(str),sizeof(str) - strlen(str),"TYPE: Dynamic, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_entry.c:134:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(str + strlen(str),sizeof(str) - strlen(str),"ACTIVE: %s",
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_entry.c:134:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(str + strlen(str),sizeof(str) - strlen(str),"ACTIVE: %s",
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_rtr_data.c:127: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).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]),""
data/openoverlayrouter-1.3.0+ds1/oor/lib/map_cache_rtr_data.c:127:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]),""
data/openoverlayrouter-1.3.0+ds1/oor/lib/mem_util.c:88: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).
    return xmemdup0(s, strlen(s));
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:528: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).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]),"Dst addr: %s, ", lisp_addr_to_char(&tpl->dst_addr));
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:528:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]),"Dst addr: %s, ", lisp_addr_to_char(&tpl->dst_addr));
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:529: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).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "Proto: ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:529:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "Proto: ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:533: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).
        snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "UDP, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:533: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).
        snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "UDP, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:536: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).
        snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "TCP, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:536: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).
        snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "TCP, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:539: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).
        snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "ICMP, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:539: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).
        snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "ICMP, ");
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:542: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).
        snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "%d, ",tpl->protocol);
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:542: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).
        snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "%d, ",tpl->protocol);
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:545: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).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "Src Port: %d, ",tpl->src_port);
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:545:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "Src Port: %d, ",tpl->src_port);
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:546: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).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "Dst Port: %d\n",tpl->dst_port);
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:546:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "Dst Port: %d\n",tpl->dst_port);
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:547: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).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "IID|VNI: %d\n",tpl->iid);
data/openoverlayrouter-1.3.0+ds1/oor/lib/packets.c:547:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "IID|VNI: %d\n",tpl->iid);
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets-util.c:174: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).
    device_len = strlen(device);
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.c:124:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    sock_list_remove_all(&sm->read);
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.c:134:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    lst = &m->read;
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.c:158:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    lst = &m->read;
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.c:194:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    sock_list_add(&m->read, sock);
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.c:209:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   sock_list_remove(&m->read, sock);
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.c:234:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (select(m->read.maxfd + 1, &m->readfds, NULL, NULL, &tv) == -1) {
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.c:247:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    sock_process_fd(&m->read, &m->readfds);
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.c:254:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for (sit = m->read.head; sit; sit = sit->next) {
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.c:358:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    nread = read(sfd, lbuf_data(b), lbuf_tailroom(b));
data/openoverlayrouter-1.3.0+ds1/oor/lib/sockets.h:67:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    sock_list_t read;
data/openoverlayrouter-1.3.0+ds1/oor/lib/timers.c:425:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bytes = read(sl->fd, &sig, sizeof(sig));
data/openoverlayrouter-1.3.0+ds1/oor/lib/util.c:107:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        sprintf(xTR_ID_str+strlen(xTR_ID_str), "%02x", xtrid->byte[ctr]);
data/openoverlayrouter-1.3.0+ds1/oor/lib/util.c:190: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).
    int len = strlen(str);
data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/ctrl_vpp_plugin.c:101:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy (mp->host_if_name, iface_name, strlen(iface_name));
data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/pkt_miss_vpp_plugin.c:138:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy (mp->host_if_name, iface_name, strlen(iface_name));
data/openoverlayrouter-1.3.0+ds1/oor/lib/vpp_api/vpp_api_requests.c:69:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy (mp->host_if_name, iface_name, strlen(iface_name));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/liblisp.c:1141:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(buf + strlen(buf),buf_size-strlen(buf), "%s, ",
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/liblisp.c:1141:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(buf + strlen(buf),buf_size-strlen(buf), "%s, ",
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/liblisp.c:1144:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(buf + strlen(buf),buf_size-strlen(buf), "%s",
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/liblisp.c:1144:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(buf + strlen(buf),buf_size-strlen(buf), "%s",
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1382: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).
        snprintf(buf[i]+strlen(buf[i]),buf_size - strlen(buf[i]), "[%d] %s ",
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1382:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        snprintf(buf[i]+strlen(buf[i]),buf_size - strlen(buf[i]), "[%d] %s ",
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1622: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).
        snprintf(buf[i]+strlen(buf[i]), buf_size - strlen(buf[i]), "[%d] %s ", j, lisp_addr_to_char(node->addr));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1622:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        snprintf(buf[i]+strlen(buf[i]), buf_size - strlen(buf[i]), "[%d] %s ", j, lisp_addr_to_char(node->addr));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1895: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).
        snprintf(buf[i]+strlen(buf[i]),buf_size - strlen(buf[i]), "[%d] %s ", node->level,
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:1895:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        snprintf(buf[i]+strlen(buf[i]),buf_size - strlen(buf[i]), "[%d] %s ", node->level,
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:2097:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    	snprintf(buf[i]+strlen(buf[i]),buf_size - strlen(buf[i]), "AFI %d: %s", j, lisp_addr_to_char(addr));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_lcaf.c:2097: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).
    	snprintf(buf[i]+strlen(buf[i]),buf_size - strlen(buf[i]), "AFI %d: %s", j, lisp_addr_to_char(addr));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.c:67: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).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]),"%s, ", lisp_addr_to_char(locator_addr(l)));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.c:67:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]),"%s, ", lisp_addr_to_char(locator_addr(l)));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.c:68: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).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "%s, ", l->state ? "Up" : "Down");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.c:68:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "%s, ", l->state ? "Up" : "Down");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.c:69: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).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "L:%d, R:%d, ", l->L_bit, l->R_bit);
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.c:69:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "L:%d, R:%d, ", l->L_bit, l->R_bit);
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.c:70: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).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "%d/%-d, %d/%d", l->priority, l->weight,
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_locator.c:70:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(buf[i] + strlen(buf[i]),buf_size - strlen(buf[i]), "%d/%-d, %d/%d", l->priority, l->weight,
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_mapping.c:163:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(buf+strlen(buf), buf_size - strlen(buf),"  RLOC: %s\n", locator_to_char(locator));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_mapping.c:163:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(buf+strlen(buf), buf_size - strlen(buf),"  RLOC: %s\n", locator_to_char(locator));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:152:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->local ? sprintf(buf+strlen(buf), "L=1,") : sprintf(buf+strlen(buf), "L=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:152:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->local ? sprintf(buf+strlen(buf), "L=1,") : sprintf(buf+strlen(buf), "L=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:153: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).
    h->probed ? sprintf(buf+strlen(buf), "p=1,") : sprintf(buf+strlen(buf), "p=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:153:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->probed ? sprintf(buf+strlen(buf), "p=1,") : sprintf(buf+strlen(buf), "p=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:154: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).
    h->reachable ? sprintf(buf+strlen(buf), "R=1") : sprintf(buf+strlen(buf), "R=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_message_fields.c:154:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->reachable ? sprintf(buf+strlen(buf), "R=1") : sprintf(buf+strlen(buf), "R=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:155: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).
    h->authoritative ? sprintf(buf+strlen(buf), "a=1,") : sprintf(buf+strlen(buf), "a=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:155:71:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->authoritative ? sprintf(buf+strlen(buf), "a=1,") : sprintf(buf+strlen(buf), "a=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:156:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->map_data_present ?  sprintf(buf+strlen(buf), "m=1,") : sprintf(buf+strlen(buf), "m=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:156:75:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->map_data_present ?  sprintf(buf+strlen(buf), "m=1,") : sprintf(buf+strlen(buf), "m=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:157: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).
    h->rloc_probe ? sprintf(buf+strlen(buf), "p=1,") : sprintf(buf+strlen(buf), "p=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:157:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->rloc_probe ? sprintf(buf+strlen(buf), "p=1,") : sprintf(buf+strlen(buf), "p=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:158: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).
    h->solicit_map_request ? sprintf(buf+strlen(buf), "s=1,") : sprintf(buf+strlen(buf), "s=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:158:77:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->solicit_map_request ? sprintf(buf+strlen(buf), "s=1,") : sprintf(buf+strlen(buf), "s=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:159: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).
    h->pitr ? sprintf(buf+strlen(buf), "P=1,") : sprintf(buf+strlen(buf), "P=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:159:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->pitr ? sprintf(buf+strlen(buf), "P=1,") : sprintf(buf+strlen(buf), "P=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:160:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->smr_invoked ? sprintf(buf+strlen(buf), "S=1") : sprintf(buf+strlen(buf), "S=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:160:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->smr_invoked ? sprintf(buf+strlen(buf), "S=1") : sprintf(buf+strlen(buf), "S=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:186:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->rloc_probe ? sprintf(buf+strlen(buf), "P=1,") : sprintf(buf+strlen(buf), "P=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:186:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->rloc_probe ? sprintf(buf+strlen(buf), "P=1,") : sprintf(buf+strlen(buf), "P=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:187: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).
    h->echo_nonce ? sprintf(buf+strlen(buf), "E=1,") : sprintf(buf+strlen(buf), "E=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:187:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->echo_nonce ? sprintf(buf+strlen(buf), "E=1,") : sprintf(buf+strlen(buf), "E=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:188: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).
    h->security ? sprintf(buf+strlen(buf), "S=1") : sprintf(buf+strlen(buf), "S=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:188:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->security ? sprintf(buf+strlen(buf), "S=1") : sprintf(buf+strlen(buf), "S=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:229:22:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->proxy_reply ? sprintf(buf, "P") : sprintf(buf+strlen(buf), "p");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:229:42:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->proxy_reply ? sprintf(buf, "P") : sprintf(buf+strlen(buf), "p");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:229:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->proxy_reply ? sprintf(buf, "P") : sprintf(buf+strlen(buf), "p");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:230:15:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->ibit ? sprintf(buf+strlen(buf), "I") : sprintf(buf+strlen(buf), "i");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:230: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).
    h->ibit ? sprintf(buf+strlen(buf), "I") : sprintf(buf+strlen(buf), "i");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:230:47:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->ibit ? sprintf(buf+strlen(buf), "I") : sprintf(buf+strlen(buf), "i");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:230: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).
    h->ibit ? sprintf(buf+strlen(buf), "I") : sprintf(buf+strlen(buf), "i");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:231:15:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->rbit ? sprintf(buf+strlen(buf), "R") : sprintf(buf+strlen(buf), "r");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:231: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).
    h->rbit ? sprintf(buf+strlen(buf), "R") : sprintf(buf+strlen(buf), "r");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:231:47:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->rbit ? sprintf(buf+strlen(buf), "R") : sprintf(buf+strlen(buf), "r");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:231: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).
    h->rbit ? sprintf(buf+strlen(buf), "R") : sprintf(buf+strlen(buf), "r");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:232:21:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->map_notify ? sprintf(buf+strlen(buf), "M") : sprintf(buf+strlen(buf), "m");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:232: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).
    h->map_notify ? sprintf(buf+strlen(buf), "M") : sprintf(buf+strlen(buf), "m");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:232:53:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->map_notify ? sprintf(buf+strlen(buf), "M") : sprintf(buf+strlen(buf), "m");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:232:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->map_notify ? sprintf(buf+strlen(buf), "M") : sprintf(buf+strlen(buf), "m");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:256:25:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->xtr_id_present ? sprintf(buf, "I") : sprintf(buf, "i");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:256:45:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->xtr_id_present ? sprintf(buf, "I") : sprintf(buf, "i");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:257:27:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->rtr_auth_present ? sprintf(buf+strlen(buf), "R") : sprintf(buf+strlen(buf), "r");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:257:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->rtr_auth_present ? sprintf(buf+strlen(buf), "R") : sprintf(buf+strlen(buf), "r");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:257:59:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    h->rtr_auth_present ? sprintf(buf+strlen(buf), "R") : sprintf(buf+strlen(buf), "r");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:257:71:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->rtr_auth_present ? sprintf(buf+strlen(buf), "R") : sprintf(buf+strlen(buf), "r");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:282:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->d_bit ? sprintf(buf+strlen(buf), "D=1,") : sprintf(buf+strlen(buf), "D=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:282:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->d_bit ? sprintf(buf+strlen(buf), "D=1,") : sprintf(buf+strlen(buf), "D=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:283:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->r_bit ? sprintf(buf+strlen(buf), "R=1,") : sprintf(buf+strlen(buf), "R=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:283:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->r_bit ? sprintf(buf+strlen(buf), "R=1,") : sprintf(buf+strlen(buf), "R=0,");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:284:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->n_bit ? sprintf(buf+strlen(buf), "N=1") : sprintf(buf+strlen(buf), "N=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_messages.c:284:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    h->n_bit ? sprintf(buf+strlen(buf), "N=1") : sprintf(buf+strlen(buf), "N=0");
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_mref_mapping.c:218:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(buf+strlen(buf), buf_size - strlen(buf),"  RLOC: %s\n", locator_to_char(locator));
data/openoverlayrouter-1.3.0+ds1/oor/liblisp/lisp_mref_mapping.c:218:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            snprintf(buf+strlen(buf), buf_size - strlen(buf),"  RLOC: %s\n", locator_to_char(locator));
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/iface_mgmt.c:493:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(ifr.ifr_name, iface_name, IFNAMSIZ-1);
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:544:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ifr.ifr_name, iface_name, IFNAMSIZ-1);
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/kernel/netm_kernel.c:770:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((readlen = read(sockfd, rcvbuf, 4096)) > 0) {
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/vpp/netm_vpp.c:216:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy ((char *) mp->name_filter, "Ether", sizeof (mp->name_filter) - 1);
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/vpp/netm_vpp.c:376:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy ((char *) mp->name_filter, iface_name, sizeof (mp->name_filter) - 1);
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/vpp/netm_vpp.c:407:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy ((char *) mp->name_filter, iface_name, sizeof (mp->name_filter) - 1);
data/openoverlayrouter-1.3.0+ds1/oor/net_mgr/vpp/netm_vpp.c:438:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy ((char *) mp->name_filter, iface_name, sizeof (mp->name_filter) - 1);
data/openoverlayrouter-1.3.0+ds1/oor/oor.c:289:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(0);

ANALYSIS SUMMARY:

Hits = 494
Lines analyzed = 60924 in approximately 1.44 seconds (42218 lines/second)
Physical Source Lines of Code (SLOC) = 42317
Hits@level = [0] 185 [1] 183 [2] 277 [3]   4 [4]  30 [5]   0
Hits@level+ = [0+] 679 [1+] 494 [2+] 311 [3+]  34 [4+]  30 [5+]   0
Hits/KSLOC@level+ = [0+] 16.0456 [1+] 11.6738 [2+] 7.34929 [3+] 0.80346 [4+] 0.708935 [5+]   0
Dot directories skipped = 2 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.