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/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_adapter_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_cno_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_cno_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_cookie.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_cookie.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_cr_accept.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_cr_callback.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_cr_handoff.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_cr_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_cr_reject.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_cr_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_cr_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_csp.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_debug.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_connect.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_create.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_create_with_srq.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_disconnect.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_dup_connect.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_free.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_get_status.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_modify.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_post_rdma_read.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_post_rdma_read_to_rmr.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_post_rdma_write.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_post_recv.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_post_send.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_post_send_invalidate.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_recv_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_reset.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_set_watermark.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_connection_callb.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_cq_async_error_callb.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_dequeue.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_dto_callb.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_free.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_post_se.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_qp_async_error_callb.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_resize.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_un_async_error_callb.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_get_consumer_context.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_get_handle_type.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_hash.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_hash.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_hca_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_hca_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ia_close.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ia_ha.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ia_open.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ia_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ia_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ia_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_init.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_llist.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_lmr_free.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_lmr_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_lmr_sync_rdma_read.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_lmr_sync_rdma_write.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_lmr_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_lmr_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_mr_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_mr_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_name_service.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_name_service.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_provider.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_provider.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_psp_create.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_psp_create_any.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_psp_free.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_psp_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_pz_create.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_pz_free.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_pz_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_pz_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_pz_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ring_buffer_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ring_buffer_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_rmr_bind.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_rmr_create.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_rmr_free.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_rmr_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_rmr_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_rmr_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_rsp_create.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_rsp_free.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_rsp_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_set_consumer_context.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_sp_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_sp_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_srq_create.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_srq_free.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_srq_post_recv.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_srq_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_srq_resize.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_srq_set_lw.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_srq_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_srq_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_timer_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_timer_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/dapl_common_src.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/dapl_udapl_src.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_cm.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_cq.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_dto.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_extensions.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_kmod.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_mrdb.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_mrdb.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_name_service.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_name_service.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_qp.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/include/dapl.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/include/dapl_debug.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/include/dapl_ipoib_names.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/include/dapl_vendor.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/cm.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/dapl_ib_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/device.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/linux/openib_osd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/windows/openib_osd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/collectives/fca_provider.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/collectives/fca_provider.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/collectives/ib_collectives.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/cq.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/dapl_ib_common.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/dapl_ib_dto.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/dapl_mic_common.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/ib_extensions.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/mem.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/qp.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/srq.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/cm.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/dapl_ib_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/device.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/linux/openib_osd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/proxy.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/cm.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/dapl_ib_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/device.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/linux/openib_osd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/windows/openib_osd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/cm.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/dapl_ib_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/device.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/linux/openib_osd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/windows/openib_osd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxy_in.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxy_out.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_cno_create.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_cno_free.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_cno_modify_agent.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_cno_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_cno_wait.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_evd_clear_unwaitable.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_evd_create.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_evd_disable.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_evd_enable.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_evd_modify_cno.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_evd_query.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_evd_set_unwaitable.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_evd_wait.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_init.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/dapl_lmr_create.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/linux/dapl_osd.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/linux/dapl_osd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/windows/dapl_osd.c
Examining data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/windows/dapl_osd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_api.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_dictionary.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_dictionary.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_dr.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_dr.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_init.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_init.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_sr.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_sr.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_strerror.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/dat.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/dat_error.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/dat_ib_extensions.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/dat_iw_extensions.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/dat_platform_specific.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/dat_redirection.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/dat_registry.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/dat_vendor_specific.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/kdat.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/kdat_config.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/kdat_redirection.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/kdat_vendor_specific.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/udat.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/udat_config.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/udat_redirection.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/udat_vendor_specific.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/udat/linux/dat_osd.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/udat/linux/dat_osd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/udat/udat.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/udat/udat_api.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/udat/udat_sources.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/udat/udat_sr_parser.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/udat/udat_sr_parser.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/udat/windows/dat_osd.c
Examining data/dapl-2.1.10.1.f1e05b7a/dat/udat/windows/dat_osd.h
Examining data/dapl-2.1.10.1.f1e05b7a/dat/udat/windows/dat_osd_sr.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_getopt.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_limit_cmd.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_main.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_netaddr.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_params.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_qos_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_quit_cmd.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_server_cmd.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_test_data.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/common/dapl_endian.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/common/dapl_global.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/common/dapl_quit_cmd_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/common/dapl_transaction_cmd_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/common/dapl_performance_cmd_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/dt_cmd.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/dt_common.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/dt_mdep.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/dt_test.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/dt_udapl.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_bpool.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_client_info.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_common.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_execute.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_fft_cmd.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_fft_util.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_getopt.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_global.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_limit_cmd.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_mdep.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_memlist.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_params.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_performance_cmd.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_performance_stats.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_performance_test.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_proto.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_quit_cmd.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_server_cmd.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_server_info.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_tdep.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_tdep_print.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_test_data.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_transaction_cmd.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_transaction_stats.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_transaction_test.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_version.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_kernel.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_kernel.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/solaris/dapl_mdep_user.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/solaris/dapl_mdep_user.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/windows/dapl_mdep_user.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/windows/dapl_mdep_user.h
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_bpool.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_client.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_client_info.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_cnxn.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_execute.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_connmgt.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_dataxfer.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_dataxfer_client.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_endpoint.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_hwconn.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_mem.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_pz.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_queryinfo.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_test.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_limit.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_memlist.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_performance_client.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_performance_server.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_performance_stats.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_performance_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_quit_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_server.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_server_info.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_test_data.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_test_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_thread.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_transaction_stats.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_transaction_test.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_transaction_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_util.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dapltest/udapl/udapl_tdep.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dtest/windows/dtest/dtest.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dtest/windows/dtestcm/dtestcm.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dtest/windows/dtestx/dtestx.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c
Examining data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c

FINAL RESULTS:

data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ia_open.c:366:2:  [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(hostname, adapter_num);
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_name_service.c:135:7:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	rc = fscanf(f, "%s " F64x " " F64x, hostname, &gid.gid_prefix,
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_name_service.c:168:8:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		rc = fscanf(f, "%s " F64x " " F64x, hostname, &gid.gid_prefix,
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/mem.c:53:3:  [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.
		access |= IBV_ACCESS_LOCAL_WRITE;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/mem.c:55:3:  [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.
		access |= IBV_ACCESS_REMOTE_WRITE;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/mem.c:57:3:  [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.
		access |= IBV_ACCESS_REMOTE_READ;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/mem.c:60:3:  [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.
		access |= IBV_ACCESS_REMOTE_ATOMIC;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/mem.c:63: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.
	return access;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:444:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char*)&msg.name, name);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:213:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(logfile, format, args);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:369:4:  [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(log_file, value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:373:4:  [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(lock_file, value);
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/linux/dapl_osd.h:122:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	     fprintf(stderr, __VA_ARGS__); 	\
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/linux/dapl_osd.h:653:31:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define dapl_os_printf(...) 		printf(__VA_ARGS__)
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/linux/dapl_osd.h:654:35:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define dapl_os_vprintf(fmt,args)	vprintf(fmt,args)
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/windows/dapl_osd.h:85:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	     fprintf(stderr, str); 	\
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/windows/dapl_osd.h:437:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(dup, str);
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/windows/dapl_osd.h:521:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define dapl_os_printf 			printf
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/windows/dapl_osd.h:522:35:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define dapl_os_vprintf(fmt,args)	vprintf(fmt,args)
data/dapl-2.1.10.1.f1e05b7a/dat/udat/linux/dat_osd.c:122:6:  [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, fmt, args);
data/dapl-2.1.10.1.f1e05b7a/dat/udat/windows/dat_osd.c:119: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(stdout, fmt, args);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:68: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(cmd->device_name, opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:73: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(cmd->server_name, opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_limit_cmd.c:59:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(cmd->device_name, opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_params.c:110: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(my_argv[0], argv[0]);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_params.c:127: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(my_argv[my_argc], cp);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_quit_cmd.c:56: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(cmd->device_name, opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_quit_cmd.c:61: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(cmd->server_name, opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_server_cmd.c:55: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(Server_Cmd->dapl_name, opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:264: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(cmd->server_name, opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:269: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(cmd->dapl_name, opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:365: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(&op[0], my_argv[i]);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:374:4:  [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(op, my_argv[i]);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_kernel.c:90:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			cpu_stat->system += kstat_cpu(i).cpustat.system;
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_kernel.c:99:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			    (cpu_stat->user + nice + cpu_stat->system));
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_kernel.h:115:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    unsigned long int		system;
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c:95:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(dapl_name, DT_MdepDeviceName);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c:140:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(DT_CPU_STAT_STR " not found\n");
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c:240:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(DT_CTXT_STR " not found\n");
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.h:108:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    unsigned long int		system;
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.h:199:24:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DT_Mdep_printf printf
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/solaris/dapl_mdep_user.c:71: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 (dapl_name, DT_MdepDeviceName);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/windows/dapl_mdep_user.c:71: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 (dapl_name, DT_MdepDeviceName);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/windows/dapl_mdep_user.h:79:24:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DT_Mdep_printf printf
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/windows/dapl_mdep_user.h:120:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    unsigned long int		system;
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_hwconn.c:84:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(dev_name, "%s", "40");	/* just number */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_hwconn.c:86:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(dev_name, "%s", "x");	/* just letter */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_hwconn.c:88:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(dev_name, "%s", "xsdf");	/* multiple letter */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_hwconn.c:90:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(dev_name, "%s", "x34");	/* letter_number */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_hwconn.c:92:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(dev_name, "%s", "34df");	/* number_letter */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_memlist.c:59:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(entry_ptr->filename, file);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_performance_client.c:239:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		unsigned long int system;
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_performance_client.c:244:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		system = post_cpu_stat.system - pre_cpu_stat.system;
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_server.c:83:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(temp_list->devicename, Server_Cmd->dapl_name);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_util.c:53:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(errmsg, major_msg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_util.c:55:2:  [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(errmsg, minor_msg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/udapl/udapl_tdep.c:103:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(buffer, fmt, args);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:260:32:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define LOGPRINTF if (verbose) printf
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:484:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	parsed = sscanf(msg, CONN_MSG_FMT, &ser_lid, &ser_qpn, &ser_scope_id,
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:552:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(msg, CONN_MSG_FMT, ser_lid, ser_qpn, scope_id,
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:633:4:  [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(hostname, optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:636:4:  [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(provider, optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:2847:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(errmsg, major_msg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:2849:2:  [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(errmsg, minor_msg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:181:32:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define LOGPRINTF if (verbose) printf
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:344:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	parsed = sscanf(msg, CONN_MSG_FMT, &ser_lid, &ser_qpn, &ser_scope_id,
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:411:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(msg, CONN_MSG_FMT, ser_lid, ser_qpn, scope_id,
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:460:4:  [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(hostname, optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:463:4:  [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(provider, optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:1315:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(errmsg, major_msg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:1317:2:  [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(errmsg, minor_msg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:176:32:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define LOGPRINTF if (verbose) printf
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:247:4:  [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(hostname, optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:250:4:  [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(provider, optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:1374:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(errmsg, major_msg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:1376:2:  [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(errmsg, minor_msg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:79:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(stderr, str " returned %s : %s\n", maj_msg, min_msg);\
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:92:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(stderr, str " returned %s : %s\n", maj_msg, min_msg);\
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:190:32:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define LOGPRINTF if (verbose) printf
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:365:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	parsed = sscanf(msg, CONN_MSG_FMT, &ser_lid, &ser_qpn, &ser_scope_id,
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:411:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(msg, CONN_MSG_FMT, ser_lid, ser_qpn, scope_id,
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:455:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(msg, CONN_MSG_FMT, ser_lid, ser_qpn, scope_id,
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:470:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	parsed = sscanf(msg, CONN_MSG_FMT, &ser_lid, &ser_qpn, &ser_scope_id,
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:1588:4:  [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(hostname, optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:1598:4:  [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(provider, optarg);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:88:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char *netdev = getenv("DAPL_SCM_NETDEV");
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:189:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char *netdev = getenv("DAPL_SCM_NETDEV");
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:457:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv("DAPL_IB_MTU"))
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/cm.c:1110:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			     getenv("DAPL_IB_MTU") ? cm->hca->ib_trans.ib_cm.mtu : IBV_MTU_2048;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/cm.c:1506:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			     getenv("DAPL_IB_MTU") ? cm->hca->ib_trans.ib_cm.mtu : IBV_MTU_2048;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/device.c:346:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv("DAPL_IB_MTU")) {
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:446:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv("DAPL_IB_MTU")) {
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/cm.c:859:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
				 getenv("DAPL_IB_MTU") ? cm_ptr->hca->ib_trans.ib_cm.mtu : IBV_MTU_2048;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/cm.c:1295:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
				 getenv("DAPL_IB_MTU") ? cm_ptr->hca->ib_trans.ib_cm.mtu : IBV_MTU_2048;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/cm.c:1648:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			     getenv("DAPL_IB_MTU") ? cm->hca->ib_trans.ib_cm.mtu : IBV_MTU_2048;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/cm.c:2131:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			     getenv("DAPL_IB_MTU") ? cm->hca->ib_trans.ib_cm.mtu : IBV_MTU_2048;
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:1408:15:  [3] (buffer) getopt:
  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.
	while ((op = getopt(argc, argv, "dkDPO:")) != -1) {
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/linux/dapl_osd.c:131:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	env_var = getenv(env_str);
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/linux/dapl_osd.c:155:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	env_var = getenv(env_str);
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/windows/dapl_osd.c:190:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    env_var = getenv (env_str);
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/windows/dapl_osd.c:218:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    env_var = getenv (env_str);
data/dapl-2.1.10.1.f1e05b7a/dat/udat/linux/dat_osd.h:143:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    return getenv (name);
data/dapl-2.1.10.1.f1e05b7a/dat/udat/windows/dat_osd.c:193:36:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
    if ( NULL != (library_handle = LoadLibrary(library_path)) )
data/dapl-2.1.10.1.f1e05b7a/dat/udat/windows/dat_osd.h:125:36:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
    if ( NULL != (library_handle = LoadLibrary(library_path)) )
data/dapl-2.1.10.1.f1e05b7a/dat/udat/windows/dat_osd.h:181:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    return getenv(name);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:571:14:  [3] (buffer) getopt:
  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.
	while ((c = getopt(argc, argv, "UDauwWtscvpb:d:B:h:P:S:i:")) != -1) {
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:2079:4:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			srand((unsigned int)tv.tv_usec);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:428:14:  [3] (buffer) getopt:
  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.
	while ((c = getopt(argc, argv, "smwvub:c:d:h:P:p:q:l:")) != -1) {
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:198:14:  [3] (buffer) getopt:
  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.
	while ((c = getopt(argc, argv, "svuB:c:t:h:P:p:q:l:b:S:")) != -1) {
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:1568:15:  [3] (buffer) getopt:
  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.
	while ((rc = getopt(argc, argv, "qcsvumpU:h:b:P:")) != -1) {
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_debug.c:41:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char _hostname_[128];
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_debug.c:89: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 vstr[21];
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_debug.c:90:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pstr[2];
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_debug.c:92:2:  [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(pstr, "%d", port);
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_debug.c:112:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(f_path, O_RDONLY);
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_debug.c:123:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	*value = (DAT_UINT64)atoi(vstr);
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_util.c:67:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char *state_str[DAT_EP_STATE_CONNECTED_MULTI_PATH + 1] = {
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_util.c:86:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[12];
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ep_util.c:87:2:  [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, "%d", state);
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_util.c:117:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char str[16];
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_evd_util.c:118:2:  [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, "%x", event_num);
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ia_open.c:334: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 hostname[NAMELEN];
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ia_open.c:364:2:  [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(hostname, "-ib");
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_name_service.c:121: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 hostname[128];
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_name_service.c:127:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(MAP_FILE, "r");
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_provider.h:52:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                		name[DAT_NAME_MAX_LENGTH];
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_cm.c:61: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 *event_str[13] = {
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_cm.c:84: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 num[8];
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_cm.c:85: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(num,"%d",e);
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_cm.c:685:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char ipa[20];
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_cm.c:806: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               ipa[20];
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_cm.c:1540:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char ipa[20];
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_dto.h:414: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 err[20];
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_mrdb.c:31:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char               name[32];
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_mrdb.c:42: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 (name, 
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_mrdb.h:34:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef char     (* ib_lmr_cookie_t)[IBAL_LMR_COOKIE_SIZE];
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_mrdb.h:38: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             *shared_mem_id[IBAL_LMR_COOKIE_SIZE];
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_name_service.c:44: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 lbuf[24];
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_name_service.c:49: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, "%d.%d.%d.%d",
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_name_service.c:286: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 ipa[20];
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_util.h:523: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.
	unsigned char		p_data[256];
data/dapl-2.1.10.1.f1e05b7a/dapl/include/dapl.h:395: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		private_data[DAPL_MAX_PRIVATE_DATA_SIZE];
data/dapl-2.1.10.1.f1e05b7a/dapl/include/dapl.h:506: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		shmid[DAT_LMR_COOKIE_SIZE]; /* shared memory ID */
data/dapl-2.1.10.1.f1e05b7a/dapl/include/dapl.h:572: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	private_data[DAPL_MAX_PRIVATE_DATA_SIZE];
data/dapl-2.1.10.1.f1e05b7a/dapl/include/dapl.h:646:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef char DAPL_HCA_NAME[DAPL_HCA_NAME_MAX_LEN+1];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/dapl_ib_util.h:84: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.
	unsigned char			p_data[256]; /* dapl max private data size */
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/dapl_ib_util.h:112: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			guid_str[32];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/dapl_ib_util.h:113: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 			gid_str[48];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/device.c:59:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char gid_str[INET6_ADDRSTRLEN];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/device.c:161:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char hostname[128];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/device.c:178:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(addr, res->ai_addr, res->ai_addrlen);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/device.c:631: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 rbuf[2];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/collectives/fca_provider.c:243:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(fca_specfile, "r");
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/collectives/fca_provider.c:245:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(fca_specfile, "w");
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/collectives/fca_provider.c:327: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((void*)&tp->m_addr, (void*)&hca->hca_address, sizeof(DAT_SOCK_ADDR));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/collectives/fca_provider.c:352: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(tp->m_info, tp->f_info, size);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/collectives/fca_provider.c:353:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( ((char*)tp->m_info + size), &tp->m_addr, sizeof(DAT_SOCK_ADDR));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/collectives/fca_provider.c:839:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void*) ((char*)group->fca_info + (i * tp->f_size)),
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/collectives/fca_provider.c:842:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void*) ((char*)group->addr_info + (i * sizeof(struct sockaddr_in))),
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/dapl_mic_common.h:468: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			name[64];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/dapl_mic_common.h:512: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                    fw_ver[64];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/dapl_mic_common.h:926: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			inline_data[DAT_MCM_P2P_INLINE];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:54:10:  [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).
	index = atoi(name + 8);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:69:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(addr, ai->ai_addr, ai->ai_addrlen);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:87: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 hostname[256];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:175:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(addr, &ifr.ifr_addr, len);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:214: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(addr, ifa->ifa_addr, sizeof(struct sockaddr_in));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:237:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char r_buf[500];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:243:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(f_path, O_RDONLY);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:260:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
						val = atoi(&r_buf[i+1]);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:348:2:  [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, "%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x",
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:389:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(ip_addr, &hca_ptr->hca_address, sizeof(DAT_SOCK_ADDR6));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:407:3:  [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(tp->ver_str, "%d", DAT_MIX_VER);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:416:4:  [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(tp->fam_str, "%d", tp->pr_attr.cpu_family);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:417:4:  [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(tp->mod_str, "%d", tp->pr_attr.cpu_model);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:574:4:  [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(tp->guid_str, "%04x:%04x:%04x:%04x",
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/cm.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char gid_str[INET6_ADDRSTRLEN];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/cm.c:998:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(cm->msg.daddr2.gid, cm->tp->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/cm.c:2094: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 rbuf[2];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/cm.c:2278:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char _ctr_host_[128];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/dapl_ib_util.h:135: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 			guid_str[32];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/dapl_ib_util.h:136: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 			gid_str[48];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/dapl_ib_util.h:137:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char 			fam_str[8];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/dapl_ib_util.h:138: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 			mod_str[8];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/dapl_ib_util.h:139: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 			ver_str[8];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/device.c:35:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char gid_str[INET6_ADDRSTRLEN];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/device.c:408: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(&hca_ptr->hca_address,
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:470: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(&msg.dev_addr, &tp->addr, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:501: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((void*)&tp->addr, (void*)&msg.dev_addr, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:701: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(pr_attr, &msg.attr, sizeof(dat_mix_prov_attr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1304: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 cmd[DAT_MIX_MSG_MAX + DAT_MIX_INLINE_MAX];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1337: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(&((char *)msg)[off], (void*)wr->sg_list[i].addr, wr->sg_list[i].length);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1337:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				memcpy(&((char *)msg)[off], (void*)wr->sg_list[i].addr, wr->sg_list[i].length);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1339: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(&cmd[off], (void*)wr->sg_list[i].addr, wr->sg_list[i].length);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1360:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void *)mm_addr, (void *)msg, ALIGN_64(off));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1381: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 cmd[DAT_MIX_MSG_MAX + DAT_MIX_INLINE_MAX];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1465: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(&msg.msg, &m_cm->msg, sizeof(dat_mcm_msg_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1466: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(msg.msg.p_data, p_data, p_size);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1503: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(&msg.msg, &m_cm->msg, sizeof(dat_mcm_msg_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1504: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(msg.msg.p_data, p_data, p_size);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1550: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(&msg.msg, &m_cm->msg, sizeof(dat_mcm_msg_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1795: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(&acm->msg, &pmsg->msg, sizeof(dat_mcm_msg_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1866: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(&cm->msg, &pmsg->msg, sizeof(dat_mcm_msg_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1899: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 cmd[DAT_MIX_MSG_MAX + DAT_MIX_INLINE_MAX];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/proxy.c:133: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(wr_rx_ptr->inline_data, (void *)(l_addr + l_off), seg_len);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/cm.c:1835: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 rbuf[2];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/dapl_ib_util.h:101: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 			guid_str[32];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/dapl_ib_util.h:102: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 			gid_str[48];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/device.c:70:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char gid_str[INET6_ADDRSTRLEN];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/device.c:704: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 rbuf[2];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/cm.c:2700: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 rbuf[2];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/cm.c:2793:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char _ctr_host_[128];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/dapl_ib_util.h:153:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char 			guid_str[32];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/dapl_ib_util.h:154: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 			gid_str[48];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/device.c:37:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char gid_str[INET6_ADDRSTRLEN];
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_ucm/device.c:367: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(&hca_ptr->hca_address,
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:58:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char gid_str[INET6_ADDRSTRLEN];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:171:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(md->m_gid, md->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:584:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&cm->msg.saddr1.gid[0], &smd->md->m_gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:585:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&cm->msg.saddr2.gid[0], &smd->md->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:589:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&cm->msg.saddr1.gid[0], &smd->md->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:590:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&cm->msg.saddr2.gid[0], &smd->md->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:616:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                	memcpy(&cm->msg.saddr1, &cm->msg.saddr2, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:820: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(smsg, msg, len);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:823:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&smsg->p_data, p_data, p_size);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:904:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&smsg.saddr1, &msg->daddr1, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:905:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&smsg.daddr1, &msg->saddr1, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:906:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&smsg.saddr2, &msg->daddr2, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:907:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&smsg.daddr2, &msg->saddr2, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:913:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&smsg.daddr1, &msg->daddr1, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:914:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&smsg.saddr1, &msg->saddr1, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:915:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&smsg.daddr2, &msg->daddr2, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:916:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&smsg.saddr2, &msg->saddr2, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:922:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&smsg.saddr1.gid[0], &md->m_gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mcm.c:925: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(&smsg.saddr2.gid[0], &md->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:70: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(&pr_attr->dev_attr, &smd->dev_attr, sizeof(dat_mix_dev_attr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:430:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&cm->msg.saddr1.gid[0], &smd->md->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1188:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&m_qp->qp_attr1, &m_qp->qp_attr2, sizeof(dat_mix_qp_attr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1263: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(&pmsg->qp_t, &new_mqp->qp_attr2, sizeof(dat_mix_qp_attr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1266:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&pmsg->qp_r, &new_mqp->qp_attr1, sizeof(dat_mix_qp_attr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1334: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(&m_mr->mre, pmsg, sizeof(dat_mix_mr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1430:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&msg.wc[i], &wc[i], sizeof(*wc));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1545:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(m_cm->msg.p_data, pmsg->msg.p_data, ntohs(m_cm->msg.p_size));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1547: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(&m_cm->msg.daddr1, &pmsg->msg.daddr1, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1548: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(&m_cm->msg.daddr2, &pmsg->msg.daddr1, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1555:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&m_cm->msg.saddr2.gid[0], &smd->md->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1694: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(&msg.msg, pkt, pkt_len);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1701: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(m_cm->msg.p_data, &pkt->p_data, ntohs(pkt->p_size));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1702: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(m_cm->msg.p_proxy, pkt->p_proxy, DAT_MCM_PROXY_DATA);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1703: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(&m_cm->msg.daddr1, &pkt->saddr1, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1704: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(&m_cm->msg.daddr2, &pkt->saddr2, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1754: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(&msg.msg, pkt, pkt_len);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1761: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(m_cm->msg.p_data, &pkt->p_data, ntohs(pkt->p_size));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1762: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(m_cm->msg.p_proxy, pkt->p_proxy, DAT_MCM_PROXY_DATA);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1763: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(&m_cm->msg.daddr1, &pkt->saddr1, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1764: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(&m_cm->msg.daddr2, &pkt->saddr2, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1939: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(acm->msg.p_proxy, pkt->p_proxy, DAT_MCM_PROXY_DATA);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1942: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(&acm->msg.daddr1, &pkt->saddr1, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1943: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(&acm->msg.daddr2, &pkt->saddr2, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1955:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(acm->msg.p_data, pkt->p_data, ntohs(pkt->p_size));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1960:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&msg.msg, &acm->msg, sizeof(dat_mcm_msg_compat_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:1963:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&msg.msg, &acm->msg, sizeof(dat_mcm_msg_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2076: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(&m_cm->p_data, &pmsg->msg.p_data, m_cm->p_size);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2079:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&m_cm->msg, &pmsg->msg, sizeof(dat_mcm_msg_compat_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2081:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&m_cm->msg, &pmsg->msg, sizeof(dat_mcm_msg_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2133:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&m_cm->msg.saddr1.gid[0], &m_cm->smd->md->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2139:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&m_cm->msg.saddr2.gid[0], &m_cm->smd->md->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2173:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&m_cm->msg.saddr2.gid[0], &m_cm->smd->md->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2206:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&m_cm->msg.saddr1.gid[0], &m_cm->smd->md->m_gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2212:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&m_cm->msg.saddr2.gid[0], &m_cm->smd->md->addr.gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2309:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&m_cm->msg, &pmsg->msg, sizeof(dat_mcm_msg_compat_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2311:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&m_cm->msg, &pmsg->msg, sizeof(dat_mcm_msg_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2472:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void*)m_wr->sg->addr, pmsg + 1, len);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2496:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char dbuf[DAT_MIX_INLINE_MAX];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2533:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char dbuf[DAT_MIX_INLINE_MAX];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:2648: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(m_sr->sg, pmsg->sge, sizeof(struct dat_mix_sge) * m_sr->num_sge);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxy_in.c:966:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void *)rbuf, wr_rx->inline_data, wr_rx->sg[0].length);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxy_out.c:283:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (wr_rx_ptr->inline_data, (void *)m_wr->sg[0].addr, m_wr->sg[0].length);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:57:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char gid_str[INET6_ADDRSTRLEN];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:223: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 val[64];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:238:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					md->numa_node = atoi(val);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:762:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char value[64];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:763:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char path[64];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:768:3:  [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(path, "/sys/class/mic/mic%d/device", mc->scif_id - 1);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:771: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).
			mc->numa_node = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:780:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				mcm_cpumask[mc->numa_node] = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:841: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(&md->addr, &msg->dev_addr, sizeof(dat_mcm_addr_t));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:882: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(&smd->dev_attr, &msg->dev_attr, sizeof(dat_mix_dev_attr_t)); /* save to smd */
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:883: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(&msg->dev_addr, &md->addr, sizeof(dat_mcm_addr_t)); /* proxy CM lid */
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:888:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(msg->dev_addr.gid, md->m_gid, 16);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:997: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 rbuf[2];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:1073: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 rbuf[2];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:1159: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 rbuf[2];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:1250: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 rbuf[2];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:1379:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(lock_file, "r");
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:41:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char log_file[128] = "/tmp/mpxyd.log";
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:43:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char lock_file[128] = "/var/run/mpxyd.pid";
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:44:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char gid_str[INET6_ADDRSTRLEN];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:346:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!(f = fopen(log_file, "w")))
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:355: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 s[120];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:356: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 opt[32], value[128];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:358:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!(f = fopen(opts_file, "r")))
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:375: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).
			mix_max_msg_mb = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:377: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).
			mix_buffer_mb = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:380:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			int i = 0, ssize = atoi(value); /* power of 2 */
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:390: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).
			mix_align = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:393:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			mix_inline_threshold = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:398: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).
			mcm_depth = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:400:25:  [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).
			scif_sport = (short) atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:402:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			scif_listen_qlen = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:404: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).
			mcm_rr_signal = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:406: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).
			mcm_rw_signal = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:408:17:  [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).
			mcm_rr_max = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:410:17:  [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).
			mcm_wr_max = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:412:17:  [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).
			mcm_wc_max = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:414:17:  [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).
			mcm_rep_ms = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:416:17:  [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).
			mcm_rtu_ms = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:418: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).
			mcm_retry = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:420:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			mcm_affinity = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:424:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			mcm_affinity_base_hca = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:426:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			mcm_affinity_base_mic = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:428: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).
			mcm_ib_inline = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:430:25:  [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).
				mcm_ib_inline = max(atoi(value), MCM_IB_INLINE);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:433:18:  [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).
			mcm_profile = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:435:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			mix_eager_completion = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:437:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			mcm_counters = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:439:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			mcm_proxy_in = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:441:18:  [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).
			mcm_op_poll = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:444:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			int tsize = atoi(value); /* power of 2 */
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:451:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			int rsize = atoi(value); /* power of 2 */
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:457:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			mcm_mic0_mss = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:459:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			mcm_mic1_mss = atoi(value);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:465:3:  [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(log_file, "/tmp/mpxyd.log.pid.%d", getuid());
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:466:3:  [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(lock_file, "/tmp/mpxyd.pid.%d", getuid());
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:510: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 pid[16];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:512:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	lock_fd = open(lock_file, O_RDWR | O_CREAT | O_EXCL, 0640);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:524:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	rc = sprintf(pid, "%d", getpid());
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:549:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(f_path, O_RDONLY);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:567:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char r_buf[500];
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:573:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(f_path, O_RDONLY);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:590:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
						val = atoi(&r_buf[i+1]);
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/linux/dapl_osd.h:541:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    return memcpy (dest, src, len);
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/windows/dapl_osd.h:416:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    return memcpy (dest, src, len);
data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_api.c:149: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((void *)h, (void *)g_hv.handle_array,
data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/dat.h:964: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                        ia_name[DAT_NAME_MAX_LENGTH];
data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/kdat.h:257: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                        adapter_name[DAT_NAME_MAX_LENGTH];
data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/kdat.h:258: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                        vendor_name[DAT_NAME_MAX_LENGTH];
data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/kdat.h:334: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                        provider_name[DAT_NAME_MAX_LENGTH];
data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/udat.h:155:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef char (* DAT_LMR_COOKIE)[DAT_LMR_COOKIE_SIZE];
data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/udat.h:267: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                        adapter_name[DAT_NAME_MAX_LENGTH];
data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/udat.h:268: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                        vendor_name[DAT_NAME_MAX_LENGTH];
data/dapl-2.1.10.1.f1e05b7a/dat/include/dat2/udat.h:343: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                        provider_name[DAT_NAME_MAX_LENGTH];
data/dapl-2.1.10.1.f1e05b7a/dat/udat/linux/dat_osd.h:259:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    return fopen (path, "r");
data/dapl-2.1.10.1.f1e05b7a/dat/udat/windows/dat_osd.h:288:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    return fopen(path, "r");
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:85: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).
				cmd->num_iter = atoi(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:97:24:  [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).
				cmd->num_threads = atoi(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:109: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).
				cmd->num_vis = atoi(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:207:17:  [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).
				cmd->port = atoi(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:273:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		caseNum = atoi(my_argv[i] + 4);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_limit_cmd.c:85:20:  [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).
				cmd->maximum = atol(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_limit_cmd.c:99:18:  [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).
				cmd->width = atol(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_limit_cmd.c:104:17:  [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).
				cmd->port = atoi(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_params.c:52: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[256];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_params.c:53: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 *my_argv[MAX_ARGC];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_params.c:98:8:  [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).
		fd = fopen(filename, "r");
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:94:24:  [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).
				cmd->op.seg_size = atoi(my_argv[index]);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:99:24:  [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).
				cmd->op.num_segs = atoi(my_argv[index]);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:191:27:  [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).
				cmd->num_iterations = atol(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:203:25:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				cmd->pipeline_len = atol(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:228:17:  [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).
				cmd->port = atoi(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_quit_cmd.c:78:17:  [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).
				cmd->port = atoi(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_server_cmd.c:75:24:  [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).
				Server_Cmd->port = atoi(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:96:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		cmd->op[op].seg_size = atoi(c_ptr);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:100:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		cmd->op[op].num_segs = atoi(c_ptr);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:246: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 op[100];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:282:27:  [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).
				cmd->num_iterations = atol(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:295:24:  [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).
				cmd->num_threads = atol(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:307:27:  [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).
				cmd->eps_per_thread = atol(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:339:17:  [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).
				cmd->port = atoi(opts->optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:399:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(op, "server SR", strlen("server SR") + 1);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:404:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(op, "client SR", strlen("client SR") + 1);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:409:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(op, "server SR", strlen("server SR") + 1);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_fft_cmd.h:62: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 		device_name[256];	//-D
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_fft_cmd.h:63: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		server_name[256];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_limit_cmd.h: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 		device_name[256];	/* -D */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_memlist.h:50: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            filename[50];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_performance_cmd.h:56: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            		server_name[NAME_SZ];	/* -s */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_performance_cmd.h:57: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            		dapl_name[NAME_SZ];	/* -D */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_quit_cmd.h:37: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        server_name[256];   /* -s */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_quit_cmd.h:38: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        device_name[256];   /* -D */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_server_cmd.h:39:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            dapl_name[256];	/* -D device name */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_server_info.h:40: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            devicename[256];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_tdep_print.h:46: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[PRINT_MAX];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_transaction_cmd.h: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            server_name[NAME_SZ];   /* -s */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/include/dapl_transaction_cmd.h:63: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            dapl_name[NAME_SZ]; /* -D */
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c:70:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	Stat_Fp = fopen(DT_STAT_FILE, "r");
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c:127:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buffer[DT_CPU_STAT_BUFFER_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c:185:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[DT_TSC_BUFFER_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c:188:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen("/proc/cpuinfo", "r");
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c:230:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buffer[DT_CTXT_BUFFER_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_client.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((void *)(uintptr_t) & pt_ptr->Params,
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_client.c:275: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((void *)buffp,
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_client.c:307:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *)buffp,
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_client.c:318:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *)buffp,
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_client.c:327:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *)buffp,
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_client.c:382: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((void *)(uintptr_t) & pt_ptr->Server_Info,
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_hwconn.c:68: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 dev_name[100];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_limit.c:51: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(handle_tmp, old_handles, count * size);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_memlist.c:103: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 *type[10] = {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_server.c:259:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void *)(uintptr_t) & pt_ptr->Params,
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_server.c:365:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void *)(uintptr_t) & pt_ptr->Client_Info,
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_server.c:391:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy((void *)(uintptr_t) & pt_ptr->Params.u.
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_server.c:404:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy((void *)(uintptr_t) & pt_ptr->Params.u.
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_server.c:415:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy((void *)(uintptr_t) & pt_ptr->Params.u.
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_server.c:543:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void *)buffp,
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_server.c:821: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((void *)buffp,
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_transaction_util.c:90: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.
	unsigned char lcomp[DT_LOCAL_COMPLETION_VECTOR_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_transaction_util.c:229: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.
	unsigned char rcomp[DT_LOCAL_COMPLETION_VECTOR_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_transaction_util.c:230: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.
	unsigned char lcomp[DT_LOCAL_COMPLETION_VECTOR_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_transaction_util.c:434: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.
	unsigned char lcomp[DT_LOCAL_COMPLETION_VECTOR_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/udapl/udapl_tdep.c:99:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[256];
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:160:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char hostname[256] = { 0 };
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:161:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char provider[64] = DAPL_PROVIDER;
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:162:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char addr_str[INET_ADDRSTRLEN];
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:177:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	double open;
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:344:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[INET6_ADDRSTRLEN] = {" ??? "};
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:467:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[CONN_MSG_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:523:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[CONN_MSG_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:574: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).
			increment = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:622: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).
			burst = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:625: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).
			delay = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:628:14:  [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).
			buf_len = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:639:18:  [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).
			signal_rate = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:744:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	ts.total += ts.open;
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:1097:55:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	printf("%d: open:      %10.2lf usec\n", getpid(), ts.open);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:1228: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.
	unsigned char pdata[48] = { 0 };
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:1308:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy((char *)rbuf, "blah, blah, blah\n");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:1718:3:  [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((char *)sbuf, "server RDMA write data...");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:1720:3:  [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((char *)sbuf, "client RDMA write data...");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:1887:3:  [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((char *)sbuf, "server RDMA write data...");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:1889:3:  [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((char *)sbuf, "client RDMA write data...");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:1908:4:  [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(&sbuf[25],"rdma_writes= ");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:1910:3:  [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(&sbuf[25], "rdma writes completed == %d", i+1);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:2042:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char pat[PAT_NUM] = { 0, 0xff, 0x55, 0xaa, 0 };
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:2069:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(sbuf, rbuf, len - 1);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:2234:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy((char *)sbuf, "blah, blah, blah\n");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:2237:3:  [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((char *)rbuf, "server RDMA read data...");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:2239:3:  [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((char *)rbuf, "client RDMA read data...");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:2840:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char errmsg[512] = { 0 };
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:124:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char hostname[256] = { 0 };
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:125:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char provider[64] = DAPL_PROVIDER;
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:132:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	double open;
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:198:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[INET6_ADDRSTRLEN] = {" ??? "};
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:327:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[CONN_MSG_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:383:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[CONN_MSG_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:443:18:  [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).
			connections = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:446:14:  [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_id = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:453: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).
			delay = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:456: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).
			burst = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:719:42:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	printf(" open:      %10.2lf usec\n", ts.open);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:909: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.
	unsigned char pdata[48] = { 0 };
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:1308:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char errmsg[512] = { 0 };
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:127:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char hostname[256] = { 0 };
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:128:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char provider[64] = DAPL_PROVIDER;
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:208:18:  [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).
			connections = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:216:17:  [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).
			tx_buf_len = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:223: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).
			bursts_number = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:231: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).
			server_port_id = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:235: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).
			srq_test = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:238:17:  [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).
			burst_size = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:346:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			ib_mtu = atoi(pr_attr.provider_specific_attr[i].value);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:1367:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char errmsg[512] = { 0 };
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:1437:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[INET6_ADDRSTRLEN] = {" ??? "};
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:175:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char provider[64] = DAPL_PROVIDER;
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:176:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char hostname[256] = { 0 };
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:225:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[INET6_ADDRSTRLEN] = {" ??? "};
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:351:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[CONN_MSG_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:426:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[CONN_MSG_SIZE];
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:852:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy((char *)buf[RCV_RDMA_BUF_INDEX], "blah, blah, blah\n");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:852:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	strcpy((char *)buf[RCV_RDMA_BUF_INDEX], "blah, blah, blah\n");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:867:4:  [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((char *)buf[SND_RDMA_BUF_INDEX], "Server data");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:867: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.
			strcpy((char *)buf[SND_RDMA_BUF_INDEX], "Server data");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:870:4:  [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((char *)buf[SND_RDMA_BUF_INDEX], "Client data");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:870: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.
			strcpy((char *)buf[SND_RDMA_BUF_INDEX], "Client data");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:902:3:  [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((char *)buf[SND_RDMA_BUF_INDEX], "Client written data");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:902: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.
		strcpy((char *)buf[SND_RDMA_BUF_INDEX], "Client written data");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:1313: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.
	       buf[RCV_RDMA_BUF_INDEX], (char *)buf[RCV_RDMA_BUF_INDEX]);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:1591: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).
			buf_size = atoi(optarg);
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:1595:14:  [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).
			eps = MIN(atoi(optarg), MAX_EP_COUNT);
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_debug.c:118:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = read(fd, vstr, 21);
data/dapl-2.1.10.1.f1e05b7a/dapl/common/dapl_ia_query.c:130:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(provider_attr->provider_name,
data/dapl-2.1.10.1.f1e05b7a/dapl/ibal/dapl_ibal_cm.c:1387: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).
    cm_rej.ari_length   = (uint8_t)strlen (rej_table[reject_reason]);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_cma/device.c:717:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read(g_ib_pipe[0], rbuf, 2) == -1)
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/dapl_ib_common.h:172:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	 const char *read;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:247:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	v_len = strlen(v_str);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:249:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = read(fd, r_buf, r_len);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:469:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(ia_attr->adapter_name, hca_ptr->name, DAT_NAME_MAX_LENGTH);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:473:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(ia_attr->adapter_name, ibv_get_device_name(tp->ib_dev),
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_common/util.c:967:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			ib_attrs[i].value = ia_ptr->hca_ptr->ib_trans.na.read;
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:608:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(dev_attr->fw_ver, msg.fw_ver, sizeof(dev_attr->fw_ver));
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_mcm/mix.c:1354:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
			usleep(1);
data/dapl-2.1.10.1.f1e05b7a/dapl/openib_scm/device.c:782:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read(g_ib_pipe[0], rbuf, 2) == -1)
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mix.c:238:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(msg.fw_ver, dev_attr.fw_ver, sizeof(msg.fw_ver));
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:1060:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			while (read(mc->tx_pipe[0], rbuf, 1) > 0)
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:1146:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			read(mc->op_pipe[0], rbuf, 2);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:1198:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				read(mc->cm_pipe[0], rbuf, 2);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/mpxyd.c:1312:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			read(mc->rx_pipe[0], rbuf, 2);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:365:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
		if (sscanf(s, "%32s%128s", opt, value) != 2)
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:526: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).
	if (write(lock_fd, pid, strlen(pid)) != rc) {
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:555:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = read(fd, v_str, len);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:577:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	v_len = strlen(v_str);
data/dapl-2.1.10.1.f1e05b7a/dapl/svc/util.c:579:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = read(fd, r_buf, r_len);
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/linux/dapl_osd.h:576:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(str);
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/linux/dapl_osd.h:587: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).
	int plen = strlen(pstr);
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/linux/dapl_osd.h:588: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).
	int slen = strlen(str);
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/windows/dapl_osd.h:427:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return ((unsigned int)strlen(str));
data/dapl-2.1.10.1.f1e05b7a/dapl/udapl/windows/dapl_osd.h:434: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).
	dup = dapl_os_alloc(strlen(str) + 1);
data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_sr.c:137: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).
	lib_path_len = strlen(entry->lib_path);
data/dapl-2.1.10.1.f1e05b7a/dat/common/dat_sr.c:149: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).
	ia_params_len = strlen(entry->ia_params);
data/dapl-2.1.10.1.f1e05b7a/dat/udat/linux/dat_osd.h:159:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen (s);
data/dapl-2.1.10.1.f1e05b7a/dat/udat/linux/dat_osd.h:177:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    return strncpy (dest, src, len);
data/dapl-2.1.10.1.f1e05b7a/dat/udat/linux/dat_osd.h:212:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep (usec);
data/dapl-2.1.10.1.f1e05b7a/dat/udat/linux/dat_osd.h:297:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return fgetc (file);
data/dapl-2.1.10.1.f1e05b7a/dat/udat/udat_sr_parser.c:320: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).
	if (DAT_NAME_MAX_LENGTH < (strlen(conf_entry->ia_name) + 1)) {
data/dapl-2.1.10.1.f1e05b7a/dat/udat/windows/dat_osd.h:197:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(s);
data/dapl-2.1.10.1.f1e05b7a/dat/udat/windows/dat_osd.h:215:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    return strncpy (dest, src, len);
data/dapl-2.1.10.1.f1e05b7a/dat/udat/windows/dat_osd.h:326:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return fgetc(file);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:79: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 (len == 0 || len != strlen(opts->optarg)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:91: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 (len == 0 || len != strlen(opts->optarg)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:103: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 (len == 0 || len != strlen(opts->optarg)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:259: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(my_argv[i]) < 5
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_fft_cmd.c:267: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).
		if (len == 0 || len != strlen(my_argv[i] + 4)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_limit_cmd.c:79: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 (len == 0 || len != strlen(opts->optarg)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_limit_cmd.c:93: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 (len == 0 || len != strlen(opts->optarg)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_params.c:92: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).
		if (!filename || strlen(filename) == 0) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_params.c:151: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 ((opts.optarg == 0) || strlen(opts.optarg) == 0
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:79:10:  [1] (buffer) strlen:
  Does not handle 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("RR"))) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:83:10:  [1] (buffer) strlen:
  Does not handle 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("RW"))) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:156:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(cmd->dapl_name, opts->optarg, NAME_SZ);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:167:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (!strncmp(opts->optarg, "b", strlen("b"))) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:171: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).
					(opts->optarg, "p", strlen("p"))) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:185: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 (len == 0 || len != strlen(opts->optarg)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:197: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 (len == 0 || len != strlen(opts->optarg)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:214:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				    strlen(opts->optarg) == 0 ||
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_performance_cmd.c:222:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(cmd->server_name, opts->optarg,
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:257:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				    || strlen(opts->optarg) == 0
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:276: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 (len == 0 || len != strlen(opts->optarg)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:289: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 (len == 0 || len != strlen(opts->optarg)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:301: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 (len == 0 || len != strlen(opts->optarg)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:373:4:  [1] (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 character.
			strcat(op, " ");
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:399: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).
		memcpy(op, "server SR", strlen("server SR") + 1);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:404: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).
		memcpy(op, "client SR", strlen("client SR") + 1);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/cmd/dapl_transaction_cmd.c:409: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).
		memcpy(op, "server SR", strlen("server SR") + 1);
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c:144:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp(buffer, DT_CPU_STAT_STR, strlen(DT_CPU_STAT_STR))) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c:200:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp(buffer, DT_TSC_RATE, strlen(DT_TSC_RATE))) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/mdep/linux/dapl_mdep_user.c:244:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp(buffer, DT_CTXT_STR, strlen(DT_CTXT_STR))) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_fft_util.c:178: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).
	if (cmd->server_name && strlen(cmd->server_name)) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_transaction_test.c:587:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					     strlen(private_data_str)) != 0) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_transaction_test.c:681:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					     strlen(private_data_str)) != 0) {
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_transaction_test.c:776:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					     strlen(private_data_str),
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_util.c:45: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).
	sz = strlen(major_msg) + strlen(minor_msg) + 2;
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_util.c:45: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).
	sz = strlen(major_msg) + strlen(minor_msg) + 2;
data/dapl-2.1.10.1.f1e05b7a/test/dapltest/test/dapl_util.c:54:2:  [1] (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 character.
	strcat(errmsg, " ");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:479:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(connfd, msg, sizeof msg) != sizeof msg) {
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtest.c:2848:2:  [1] (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 character.
	strcat(errmsg, " ");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:339:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(connfd, msg, sizeof msg) != sizeof msg) {
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestcm.c:1316:2:  [1] (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 character.
	strcat(errmsg, " ");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestsrq.c:1375:2:  [1] (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 character.
	strcat(errmsg, " ");
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:360:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(connfd, msg, sizeof msg) != sizeof msg) {
data/dapl-2.1.10.1.f1e05b7a/test/dtest/dtestx.c:465:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(connfd, msg, sizeof msg) != sizeof msg) {

ANALYSIS SUMMARY:

Hits = 570
Lines analyzed = 109228 in approximately 2.69 seconds (40646 lines/second)
Physical Source Lines of Code (SLOC) = 70983
Hits@level = [0] 574 [1]  81 [2] 379 [3]  25 [4]  85 [5]   0
Hits@level+ = [0+] 1144 [1+] 570 [2+] 489 [3+] 110 [4+]  85 [5+]   0
Hits/KSLOC@level+ = [0+] 16.1165 [1+] 8.03009 [2+] 6.88897 [3+] 1.54967 [4+] 1.19747 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.