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/pmix-3.2.1/src/mca/pnet/pnet.h
Examining data/pmix-3.2.1/src/mca/pnet/base/pnet_base_frame.c
Examining data/pmix-3.2.1/src/mca/pnet/base/pnet_base_fns.c
Examining data/pmix-3.2.1/src/mca/pnet/base/base.h
Examining data/pmix-3.2.1/src/mca/pnet/base/pnet_base_select.c
Examining data/pmix-3.2.1/src/mca/ptl/ptl.h
Examining data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.h
Examining data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c
Examining data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c
Examining data/pmix-3.2.1/src/mca/ptl/ptl_types.h
Examining data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c
Examining data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.h
Examining data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c
Examining data/pmix-3.2.1/src/mca/ptl/base/ptl_base_connect.c
Examining data/pmix-3.2.1/src/mca/ptl/base/ptl_base_listener.c
Examining data/pmix-3.2.1/src/mca/ptl/base/ptl_base_stubs.c
Examining data/pmix-3.2.1/src/mca/ptl/base/ptl_base_select.c
Examining data/pmix-3.2.1/src/mca/ptl/base/ptl_base_sendrecv.c
Examining data/pmix-3.2.1/src/mca/ptl/base/base.h
Examining data/pmix-3.2.1/src/mca/ptl/base/usock.h
Examining data/pmix-3.2.1/src/mca/ptl/base/ptl_base_frame.c
Examining data/pmix-3.2.1/src/mca/pinstalldirs/config/pmix_pinstalldirs_config.c
Examining data/pmix-3.2.1/src/mca/pinstalldirs/pinstalldirs.h
Examining data/pmix-3.2.1/src/mca/pinstalldirs/base/pinstalldirs_base_expand.c
Examining data/pmix-3.2.1/src/mca/pinstalldirs/base/pinstalldirs_base_components.c
Examining data/pmix-3.2.1/src/mca/pinstalldirs/base/base.h
Examining data/pmix-3.2.1/src/mca/pinstalldirs/env/pmix_pinstalldirs_env.c
Examining data/pmix-3.2.1/src/mca/pcompress/pcompress.h
Examining data/pmix-3.2.1/src/mca/pcompress/zlib/compress_zlib_component.c
Examining data/pmix-3.2.1/src/mca/pcompress/zlib/compress_zlib.h
Examining data/pmix-3.2.1/src/mca/pcompress/zlib/compress_zlib.c
Examining data/pmix-3.2.1/src/mca/pcompress/base/pcompress_base_frame.c
Examining data/pmix-3.2.1/src/mca/pcompress/base/pcompress_base_select.c
Examining data/pmix-3.2.1/src/mca/pcompress/base/base.h
Examining data/pmix-3.2.1/src/mca/plog/smtp/plog_smtp.h
Examining data/pmix-3.2.1/src/mca/plog/smtp/plog_smtp_component.c
Examining data/pmix-3.2.1/src/mca/plog/smtp/plog_smtp.c
Examining data/pmix-3.2.1/src/mca/plog/stdfd/plog_stdfd.c
Examining data/pmix-3.2.1/src/mca/plog/stdfd/plog_stdfd.h
Examining data/pmix-3.2.1/src/mca/plog/stdfd/plog_stdfd_component.c
Examining data/pmix-3.2.1/src/mca/plog/default/plog_default_component.c
Examining data/pmix-3.2.1/src/mca/plog/default/plog_default.c
Examining data/pmix-3.2.1/src/mca/plog/default/plog_default.h
Examining data/pmix-3.2.1/src/mca/plog/plog.h
Examining data/pmix-3.2.1/src/mca/plog/syslog/plog_syslog.h
Examining data/pmix-3.2.1/src/mca/plog/syslog/plog_syslog_component.c
Examining data/pmix-3.2.1/src/mca/plog/syslog/plog_syslog.c
Examining data/pmix-3.2.1/src/mca/plog/base/plog_base_frame.c
Examining data/pmix-3.2.1/src/mca/plog/base/plog_base_select.c
Examining data/pmix-3.2.1/src/mca/plog/base/base.h
Examining data/pmix-3.2.1/src/mca/plog/base/plog_base_stubs.c
Examining data/pmix-3.2.1/src/mca/pshmem/pshmem.h
Examining data/pmix-3.2.1/src/mca/pshmem/mmap/pshmem_mmap_component.c
Examining data/pmix-3.2.1/src/mca/pshmem/mmap/pshmem_mmap.h
Examining data/pmix-3.2.1/src/mca/pshmem/mmap/pshmem_mmap.c
Examining data/pmix-3.2.1/src/mca/pshmem/base/pshmem_base_select.c
Examining data/pmix-3.2.1/src/mca/pshmem/base/base.h
Examining data/pmix-3.2.1/src/mca/pshmem/base/pshmem_base_frame.c
Examining data/pmix-3.2.1/src/mca/gds/hash/gds_hash_component.c
Examining data/pmix-3.2.1/src/mca/gds/hash/gds_hash.c
Examining data/pmix-3.2.1/src/mca/gds/hash/gds_hash.h
Examining data/pmix-3.2.1/src/mca/gds/gds.h
Examining data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_lock_fcntl.c
Examining data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_lock.c
Examining data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_component.c
Examining data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_base.h
Examining data/pmix-3.2.1/src/mca/gds/ds12/gds_ds20_file.c
Examining data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_file.h
Examining data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_lock.h
Examining data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_lock_pthread.c
Examining data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_file.c
Examining data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_base.c
Examining data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c
Examining data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.h
Examining data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_base.c
Examining data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_component.c
Examining data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_lock_pthread.c
Examining data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_lock.h
Examining data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_base.h
Examining data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_lock.c
Examining data/pmix-3.2.1/src/mca/gds/base/gds_base_fns.c
Examining data/pmix-3.2.1/src/mca/gds/base/gds_base_select.c
Examining data/pmix-3.2.1/src/mca/gds/base/gds_base_frame.c
Examining data/pmix-3.2.1/src/mca/gds/base/base.h
Examining data/pmix-3.2.1/src/mca/common/dstore/dstore_segment.h
Examining data/pmix-3.2.1/src/mca/common/dstore/dstore_base.h
Examining data/pmix-3.2.1/src/mca/common/dstore/dstore_file.h
Examining data/pmix-3.2.1/src/mca/common/dstore/dstore_common.h
Examining data/pmix-3.2.1/src/mca/common/dstore/dstore_segment.c
Examining data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c
Examining data/pmix-3.2.1/src/mca/psensor/psensor.h
Examining data/pmix-3.2.1/src/mca/psensor/file/psensor_file.h
Examining data/pmix-3.2.1/src/mca/psensor/file/psensor_file_component.c
Examining data/pmix-3.2.1/src/mca/psensor/file/psensor_file.c
Examining data/pmix-3.2.1/src/mca/psensor/heartbeat/psensor_heartbeat.h
Examining data/pmix-3.2.1/src/mca/psensor/heartbeat/psensor_heartbeat.c
Examining data/pmix-3.2.1/src/mca/psensor/heartbeat/psensor_heartbeat_component.c
Examining data/pmix-3.2.1/src/mca/psensor/base/psensor_base_frame.c
Examining data/pmix-3.2.1/src/mca/psensor/base/psensor_base_stubs.c
Examining data/pmix-3.2.1/src/mca/psensor/base/base.h
Examining data/pmix-3.2.1/src/mca/psensor/base/psensor_base_select.c
Examining data/pmix-3.2.1/src/mca/preg/preg_types.h
Examining data/pmix-3.2.1/src/mca/preg/native/preg_native.c
Examining data/pmix-3.2.1/src/mca/preg/native/preg_native_component.c
Examining data/pmix-3.2.1/src/mca/preg/native/preg_native.h
Examining data/pmix-3.2.1/src/mca/preg/preg.h
Examining data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c
Examining data/pmix-3.2.1/src/mca/preg/compress/preg_compress_component.c
Examining data/pmix-3.2.1/src/mca/preg/compress/preg_compress.h
Examining data/pmix-3.2.1/src/mca/preg/base/preg_base_frame.c
Examining data/pmix-3.2.1/src/mca/preg/base/base.h
Examining data/pmix-3.2.1/src/mca/preg/base/preg_base_select.c
Examining data/pmix-3.2.1/src/mca/preg/base/preg_base_stubs.c
Examining data/pmix-3.2.1/src/mca/mca.h
Examining data/pmix-3.2.1/src/mca/pif/solaris_ipv6/pif_solaris_ipv6.c
Examining data/pmix-3.2.1/src/mca/pif/posix_ipv4/pif_posix.c
Examining data/pmix-3.2.1/src/mca/pif/pif.h
Examining data/pmix-3.2.1/src/mca/pif/bsdx_ipv6/pif_bsdx_ipv6.c
Examining data/pmix-3.2.1/src/mca/pif/linux_ipv6/pif_linux_ipv6.c
Examining data/pmix-3.2.1/src/mca/pif/base/base.h
Examining data/pmix-3.2.1/src/mca/pif/base/pif_base_components.c
Examining data/pmix-3.2.1/src/mca/pif/bsdx_ipv4/pif_bsdx.c
Examining data/pmix-3.2.1/src/mca/psquash/flex128/psquash_flex128.c
Examining data/pmix-3.2.1/src/mca/psquash/flex128/psquash_flex128_component.c
Examining data/pmix-3.2.1/src/mca/psquash/flex128/psquash_flex128.h
Examining data/pmix-3.2.1/src/mca/psquash/psquash.h
Examining data/pmix-3.2.1/src/mca/psquash/native/psquash_native.h
Examining data/pmix-3.2.1/src/mca/psquash/native/psquash_native_component.c
Examining data/pmix-3.2.1/src/mca/psquash/native/psquash_native.c
Examining data/pmix-3.2.1/src/mca/psquash/base/psquash_base_select.c
Examining data/pmix-3.2.1/src/mca/psquash/base/psquash_base_frame.c
Examining data/pmix-3.2.1/src/mca/psquash/base/base.h
Examining data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c
Examining data/pmix-3.2.1/src/mca/bfrops/v12/copy.c
Examining data/pmix-3.2.1/src/mca/bfrops/v12/internal.h
Examining data/pmix-3.2.1/src/mca/bfrops/v12/print.c
Examining data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.h
Examining data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c
Examining data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12_component.c
Examining data/pmix-3.2.1/src/mca/bfrops/v12/pack.c
Examining data/pmix-3.2.1/src/mca/bfrops/v3/bfrop_pmix3.c
Examining data/pmix-3.2.1/src/mca/bfrops/v3/bfrop_pmix3_component.c
Examining data/pmix-3.2.1/src/mca/bfrops/v3/bfrop_pmix3.h
Examining data/pmix-3.2.1/src/mca/bfrops/bfrops_types.h
Examining data/pmix-3.2.1/src/mca/bfrops/bfrops.h
Examining data/pmix-3.2.1/src/mca/bfrops/v21/bfrop_pmix21.h
Examining data/pmix-3.2.1/src/mca/bfrops/v21/bfrop_pmix21.c
Examining data/pmix-3.2.1/src/mca/bfrops/v21/bfrop_pmix21_component.c
Examining data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c
Examining data/pmix-3.2.1/src/mca/bfrops/v20/copy.c
Examining data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20_component.c
Examining data/pmix-3.2.1/src/mca/bfrops/v20/internal.h
Examining data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.h
Examining data/pmix-3.2.1/src/mca/bfrops/v20/print.c
Examining data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c
Examining data/pmix-3.2.1/src/mca/bfrops/v20/pack.c
Examining data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_stubs.c
Examining data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_frame.c
Examining data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c
Examining data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_select.c
Examining data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c
Examining data/pmix-3.2.1/src/mca/bfrops/base/base.h
Examining data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c
Examining data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_print.c
Examining data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_pack.c
Examining data/pmix-3.2.1/src/mca/psec/psec.h
Examining data/pmix-3.2.1/src/mca/psec/dummy_handshake/psec_dummy_handshake.c
Examining data/pmix-3.2.1/src/mca/psec/dummy_handshake/psec_dummy_handshake.h
Examining data/pmix-3.2.1/src/mca/psec/dummy_handshake/psec_dummy_handshake_component.c
Examining data/pmix-3.2.1/src/mca/psec/munge/psec_munge.h
Examining data/pmix-3.2.1/src/mca/psec/munge/psec_munge.c
Examining data/pmix-3.2.1/src/mca/psec/munge/psec_munge_component.c
Examining data/pmix-3.2.1/src/mca/psec/none/psec_none_component.c
Examining data/pmix-3.2.1/src/mca/psec/none/psec_none.c
Examining data/pmix-3.2.1/src/mca/psec/none/psec_none.h
Examining data/pmix-3.2.1/src/mca/psec/native/psec_native.h
Examining data/pmix-3.2.1/src/mca/psec/native/psec_native_component.c
Examining data/pmix-3.2.1/src/mca/psec/native/psec_native.c
Examining data/pmix-3.2.1/src/mca/psec/base/psec_base_select.c
Examining data/pmix-3.2.1/src/mca/psec/base/psec_base_fns.c
Examining data/pmix-3.2.1/src/mca/psec/base/base.h
Examining data/pmix-3.2.1/src/mca/psec/base/psec_base_frame.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_framework.h
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_var_enum.h
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_open.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.h
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_var_group.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_components_select.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_list.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_framework.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_parse_paramfile.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.h
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_components_open.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_components_register.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_vari.h
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_components_close.c
Examining data/pmix-3.2.1/src/mca/base/base.h
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_close.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_cmd_line.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_find.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_var_group.h
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_var_enum.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_compare.c
Examining data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c
Examining data/pmix-3.2.1/src/mca/pdl/pdl.h
Examining data/pmix-3.2.1/src/mca/pdl/pdlopen/pdl_pdlopen_component.c
Examining data/pmix-3.2.1/src/mca/pdl/pdlopen/pdl_pdlopen_module.c
Examining data/pmix-3.2.1/src/mca/pdl/pdlopen/pdl_pdlopen.h
Examining data/pmix-3.2.1/src/mca/pdl/plibltdl/pdl_libltdl_component.c
Examining data/pmix-3.2.1/src/mca/pdl/plibltdl/pdl_libltdl.h
Examining data/pmix-3.2.1/src/mca/pdl/plibltdl/pdl_libltdl_module.c
Examining data/pmix-3.2.1/src/mca/pdl/base/pdl_base_fns.c
Examining data/pmix-3.2.1/src/mca/pdl/base/pdl_base_select.c
Examining data/pmix-3.2.1/src/mca/pdl/base/pdl_base_close.c
Examining data/pmix-3.2.1/src/mca/pdl/base/base.h
Examining data/pmix-3.2.1/src/mca/pdl/base/pdl_base_open.c
Examining data/pmix-3.2.1/src/include/prefetch.h
Examining data/pmix-3.2.1/src/include/pmix_stdatomic.h
Examining data/pmix-3.2.1/src/include/types.h
Examining data/pmix-3.2.1/src/include/align.h
Examining data/pmix-3.2.1/src/include/pmix_config_bottom.h
Examining data/pmix-3.2.1/src/include/pmix_config_top.h
Examining data/pmix-3.2.1/src/include/pmix_stdint.h
Examining data/pmix-3.2.1/src/include/pmix_socket_errno.h
Examining data/pmix-3.2.1/src/include/hash_string.h
Examining data/pmix-3.2.1/src/include/pmix_portable_platform.h
Examining data/pmix-3.2.1/src/include/pmix_globals.c
Examining data/pmix-3.2.1/src/include/pmix_globals.h
Examining data/pmix-3.2.1/src/atomics/sys/architecture.h
Examining data/pmix-3.2.1/src/atomics/sys/gcc_builtin/atomic.h
Examining data/pmix-3.2.1/src/atomics/sys/x86_64/atomic.h
Examining data/pmix-3.2.1/src/atomics/sys/x86_64/timer.h
Examining data/pmix-3.2.1/src/atomics/sys/atomic.h
Examining data/pmix-3.2.1/src/atomics/sys/cma.h
Examining data/pmix-3.2.1/src/atomics/sys/atomic_stdc.h
Examining data/pmix-3.2.1/src/atomics/sys/timer.h
Examining data/pmix-3.2.1/src/atomics/sys/arm64/atomic.h
Examining data/pmix-3.2.1/src/atomics/sys/arm64/timer.h
Examining data/pmix-3.2.1/src/atomics/sys/powerpc/atomic.h
Examining data/pmix-3.2.1/src/atomics/sys/powerpc/timer.h
Examining data/pmix-3.2.1/src/atomics/sys/atomic_impl.h
Examining data/pmix-3.2.1/src/atomics/sys/ia32/atomic.h
Examining data/pmix-3.2.1/src/atomics/sys/ia32/timer.h
Examining data/pmix-3.2.1/src/atomics/sys/arm/atomic.h
Examining data/pmix-3.2.1/src/atomics/sys/arm/timer.h
Examining data/pmix-3.2.1/src/client/pmi2.c
Examining data/pmix-3.2.1/src/client/pmi1.c
Examining data/pmix-3.2.1/src/client/pmix_client_pub.c
Examining data/pmix-3.2.1/src/client/pmix_client_spawn.c
Examining data/pmix-3.2.1/src/client/pmix_client_ops.h
Examining data/pmix-3.2.1/src/client/pmix_client.c
Examining data/pmix-3.2.1/src/client/pmix_client_get.c
Examining data/pmix-3.2.1/src/client/pmix_client_connect.c
Examining data/pmix-3.2.1/src/client/pmix_client_fence.c
Examining data/pmix-3.2.1/src/common/pmix_iof.h
Examining data/pmix-3.2.1/src/common/pmix_strings.c
Examining data/pmix-3.2.1/src/common/pmix_control.c
Examining data/pmix-3.2.1/src/common/pmix_security.c
Examining data/pmix-3.2.1/src/common/pmix_iof.c
Examining data/pmix-3.2.1/src/common/pmix_log.c
Examining data/pmix-3.2.1/src/common/pmix_data.c
Examining data/pmix-3.2.1/src/common/pmix_query.c
Examining data/pmix-3.2.1/src/tools/pps/pps.c
Examining data/pmix-3.2.1/src/tools/plookup/plookup.c
Examining data/pmix-3.2.1/src/tools/pmix_info/pinfo.h
Examining data/pmix-3.2.1/src/tools/pmix_info/support.c
Examining data/pmix-3.2.1/src/tools/pmix_info/pmix_info.c
Examining data/pmix-3.2.1/src/tools/pmix_info/support.h
Examining data/pmix-3.2.1/src/tools/pevent/pevent.c
Examining data/pmix-3.2.1/src/server/pmix_server_ops.c
Examining data/pmix-3.2.1/src/server/pmix_server_get.c
Examining data/pmix-3.2.1/src/server/pmix_server_ops.h
Examining data/pmix-3.2.1/src/server/pmix_server.c
Examining data/pmix-3.2.1/src/threads/tsd.h
Examining data/pmix-3.2.1/src/threads/mutex_unix.h
Examining data/pmix-3.2.1/src/threads/mutex.h
Examining data/pmix-3.2.1/src/threads/thread.c
Examining data/pmix-3.2.1/src/threads/threads.h
Examining data/pmix-3.2.1/src/threads/mutex.c
Examining data/pmix-3.2.1/src/threads/wait_sync.h
Examining data/pmix-3.2.1/src/threads/thread_usage.h
Examining data/pmix-3.2.1/src/threads/wait_sync.c
Examining data/pmix-3.2.1/src/class/pmix_value_array.c
Examining data/pmix-3.2.1/src/class/pmix_pointer_array.c
Examining data/pmix-3.2.1/src/class/pmix_hash_table.c
Examining data/pmix-3.2.1/src/class/pmix_bitmap.h
Examining data/pmix-3.2.1/src/class/pmix_value_array.h
Examining data/pmix-3.2.1/src/class/pmix_list.c
Examining data/pmix-3.2.1/src/class/pmix_ring_buffer.c
Examining data/pmix-3.2.1/src/class/pmix_object.h
Examining data/pmix-3.2.1/src/class/pmix_hotel.c
Examining data/pmix-3.2.1/src/class/pmix_hash_table.h
Examining data/pmix-3.2.1/src/class/pmix_object.c
Examining data/pmix-3.2.1/src/class/pmix_pointer_array.h
Examining data/pmix-3.2.1/src/class/pmix_list.h
Examining data/pmix-3.2.1/src/class/pmix_bitmap.c
Examining data/pmix-3.2.1/src/class/pmix_hotel.h
Examining data/pmix-3.2.1/src/class/pmix_ring_buffer.h
Examining data/pmix-3.2.1/src/hwloc/hwloc.c
Examining data/pmix-3.2.1/src/hwloc/hwloc-internal.h
Examining data/pmix-3.2.1/src/event/pmix_event_registration.c
Examining data/pmix-3.2.1/src/event/pmix_event.h
Examining data/pmix-3.2.1/src/event/pmix_event_notification.c
Examining data/pmix-3.2.1/src/tool/pmix_tool.c
Examining data/pmix-3.2.1/src/util/timings.h
Examining data/pmix-3.2.1/src/util/cmd_line.c
Examining data/pmix-3.2.1/src/util/fd.h
Examining data/pmix-3.2.1/src/util/getid.c
Examining data/pmix-3.2.1/src/util/few.h
Examining data/pmix-3.2.1/src/util/argv.h
Examining data/pmix-3.2.1/src/util/show_help_lex.h
Examining data/pmix-3.2.1/src/util/name_fns.h
Examining data/pmix-3.2.1/src/util/hash.h
Examining data/pmix-3.2.1/src/util/os_path.h
Examining data/pmix-3.2.1/src/util/net.c
Examining data/pmix-3.2.1/src/util/parse_options.c
Examining data/pmix-3.2.1/src/util/net.h
Examining data/pmix-3.2.1/src/util/output.h
Examining data/pmix-3.2.1/src/util/keyval/keyval_lex.h
Examining data/pmix-3.2.1/src/util/context_fns.h
Examining data/pmix-3.2.1/src/util/keyval_parse.c
Examining data/pmix-3.2.1/src/util/show_help.c
Examining data/pmix-3.2.1/src/util/error.c
Examining data/pmix-3.2.1/src/util/timings.c
Examining data/pmix-3.2.1/src/util/pmix_pty.h
Examining data/pmix-3.2.1/src/util/pif.h
Examining data/pmix-3.2.1/src/util/basename.c
Examining data/pmix-3.2.1/src/util/strnlen.h
Examining data/pmix-3.2.1/src/util/crc.h
Examining data/pmix-3.2.1/src/util/context_fns.c
Examining data/pmix-3.2.1/src/util/show_help.h
Examining data/pmix-3.2.1/src/util/getid.h
Examining data/pmix-3.2.1/src/util/cmd_line.h
Examining data/pmix-3.2.1/src/util/keyval_parse.h
Examining data/pmix-3.2.1/src/util/pmix_environ.c
Examining data/pmix-3.2.1/src/util/argv.c
Examining data/pmix-3.2.1/src/util/pmix_pty.c
Examining data/pmix-3.2.1/src/util/os_dirpath.c
Examining data/pmix-3.2.1/src/util/alfg.h
Examining data/pmix-3.2.1/src/util/crc.c
Examining data/pmix-3.2.1/src/util/few.c
Examining data/pmix-3.2.1/src/util/alfg.c
Examining data/pmix-3.2.1/src/util/fd.c
Examining data/pmix-3.2.1/src/util/os_dirpath.h
Examining data/pmix-3.2.1/src/util/pmix_environ.h
Examining data/pmix-3.2.1/src/util/printf.c
Examining data/pmix-3.2.1/src/util/output.c
Examining data/pmix-3.2.1/src/util/name_fns.c
Examining data/pmix-3.2.1/src/util/os_path.c
Examining data/pmix-3.2.1/src/util/path.c
Examining data/pmix-3.2.1/src/util/pif.c
Examining data/pmix-3.2.1/src/util/parse_options.h
Examining data/pmix-3.2.1/src/util/path.h
Examining data/pmix-3.2.1/src/util/hash.c
Examining data/pmix-3.2.1/src/util/printf.h
Examining data/pmix-3.2.1/src/util/basename.h
Examining data/pmix-3.2.1/src/util/error.h
Examining data/pmix-3.2.1/src/runtime/pmix_init.c
Examining data/pmix-3.2.1/src/runtime/pmix_progress_threads.c
Examining data/pmix-3.2.1/src/runtime/pmix_params.c
Examining data/pmix-3.2.1/src/runtime/pmix_progress_threads.h
Examining data/pmix-3.2.1/src/runtime/pmix_finalize.c
Examining data/pmix-3.2.1/src/runtime/pmix_rte.h
Examining data/pmix-3.2.1/include/pmix.h
Examining data/pmix-3.2.1/include/pmix_server.h
Examining data/pmix-3.2.1/include/pmix_tool.h
Examining data/pmix-3.2.1/include/pmix_extend.h
Examining data/pmix-3.2.1/include/pmi.h
Examining data/pmix-3.2.1/include/pmi2.h
Examining data/pmix-3.2.1/include/pmix_deprecated.h
Examining data/pmix-3.2.1/examples/server.c
Examining data/pmix-3.2.1/examples/alloc.c
Examining data/pmix-3.2.1/examples/client.c
Examining data/pmix-3.2.1/examples/tool.c
Examining data/pmix-3.2.1/examples/dynamic.c
Examining data/pmix-3.2.1/examples/dmodex.c
Examining data/pmix-3.2.1/examples/fault.c
Examining data/pmix-3.2.1/examples/launcher.c
Examining data/pmix-3.2.1/examples/examples.h
Examining data/pmix-3.2.1/examples/log.c
Examining data/pmix-3.2.1/examples/bad_exit.c
Examining data/pmix-3.2.1/examples/jctrl.c
Examining data/pmix-3.2.1/examples/debugger.c
Examining data/pmix-3.2.1/examples/client2.c
Examining data/pmix-3.2.1/examples/debuggerd.c
Examining data/pmix-3.2.1/examples/hello.c
Examining data/pmix-3.2.1/examples/pub.c
Examining data/pmix-3.2.1/examples/pubi.c
Examining data/pmix-3.2.1/examples/pmi1client.c
Examining data/pmix-3.2.1/test/test_internal.c
Examining data/pmix-3.2.1/test/test_common.h
Examining data/pmix-3.2.1/test/test_fence.h
Examining data/pmix-3.2.1/test/test_server.h
Examining data/pmix-3.2.1/test/cli_stages.c
Examining data/pmix-3.2.1/test/pmi2_client.c
Examining data/pmix-3.2.1/test/server_callbacks.c
Examining data/pmix-3.2.1/test/pmi_client.c
Examining data/pmix-3.2.1/test/test_fence.c
Examining data/pmix-3.2.1/test/test_spawn.h
Examining data/pmix-3.2.1/test/utils.h
Examining data/pmix-3.2.1/test/pmix_client.c
Examining data/pmix-3.2.1/test/test_error.h
Examining data/pmix-3.2.1/test/pmix_regex.c
Examining data/pmix-3.2.1/test/test_error.c
Examining data/pmix-3.2.1/test/test_resolve_peers.c
Examining data/pmix-3.2.1/test/server_callbacks.h
Examining data/pmix-3.2.1/test/test_publish.c
Examining data/pmix-3.2.1/test/test_cd.c
Examining data/pmix-3.2.1/test/pmix_test.c
Examining data/pmix-3.2.1/test/test_cd.h
Examining data/pmix-3.2.1/test/test_internal.h
Examining data/pmix-3.2.1/test/cli_stages.h
Examining data/pmix-3.2.1/test/test_spawn.c
Examining data/pmix-3.2.1/test/test_common.c
Examining data/pmix-3.2.1/test/test_replace.c
Examining data/pmix-3.2.1/test/test_server.c
Examining data/pmix-3.2.1/test/test_replace.h
Examining data/pmix-3.2.1/test/simple/gwtest.c
Examining data/pmix-3.2.1/test/simple/simpjctrl.c
Examining data/pmix-3.2.1/test/simple/test_pmix.c
Examining data/pmix-3.2.1/test/simple/stability.c
Examining data/pmix-3.2.1/test/simple/gwclient.c
Examining data/pmix-3.2.1/test/simple/quietclient.c
Examining data/pmix-3.2.1/test/simple/pmitest.c
Examining data/pmix-3.2.1/test/simple/simpdyn.c
Examining data/pmix-3.2.1/test/simple/simptest.h
Examining data/pmix-3.2.1/test/simple/simpdmodex.c
Examining data/pmix-3.2.1/test/simple/simptool.c
Examining data/pmix-3.2.1/test/simple/simppub.c
Examining data/pmix-3.2.1/test/simple/simptimeout.c
Examining data/pmix-3.2.1/test/simple/simplegacy.c
Examining data/pmix-3.2.1/test/simple/simpft.c
Examining data/pmix-3.2.1/test/simple/simpclient.c
Examining data/pmix-3.2.1/test/simple/simptest.c
Examining data/pmix-3.2.1/test/simple/simpdie.c
Examining data/pmix-3.2.1/test/test_resolve_peers.h
Examining data/pmix-3.2.1/test/test_publish.h
Examining data/pmix-3.2.1/test/utils.c
Examining data/pmix-3.2.1/contrib/perf_tools/pmi2.c
Examining data/pmix-3.2.1/contrib/perf_tools/pmi2_utils.h
Examining data/pmix-3.2.1/contrib/perf_tools/pmix.c
Examining data/pmix-3.2.1/contrib/perf_tools/pmi1.c
Examining data/pmix-3.2.1/contrib/perf_tools/pmi2_utils.c
Examining data/pmix-3.2.1/contrib/perf_tools/pmi2_pmap_parser.h
Examining data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c
Examining data/pmix-3.2.1/contrib/perf_tools/pmi2_pmap_parser.c
Examining data/pmix-3.2.1/contrib/perf_tools/pmi.h
Examining data/pmix-3.2.1/contrib/coverity/coverity-model.c

FINAL RESULTS:

data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:531:21:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
            if (0 > chown(s->nspace_path, (uid_t) s->jobuid, (gid_t) -1)){
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1685:17:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
            if (chown(ds_ctx->base_path, (uid_t) ds_ctx->jobuid, (gid_t) -1) < 0){
data/pmix-3.2.1/src/mca/common/dstore/dstore_segment.c:123:25:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
                if (0 > chown(file_name, (uid_t) uid, (gid_t) -1)){
data/pmix-3.2.1/src/mca/common/dstore/dstore_segment.c:128:25:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
                if (0 > chmod(file_name, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP )) {
data/pmix-3.2.1/src/mca/common/dstore/dstore_segment.c:214:21:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
            if (0 > chown(file_name, (uid_t) uid, (gid_t) -1)){
data/pmix-3.2.1/src/mca/common/dstore/dstore_segment.c:219:21:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
            if (0 > chmod(file_name, S_IRUSR | S_IRGRP | S_IWGRP )) {
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_lock_fcntl.c:130:21:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
            if (0 > chown(lock_ctx->lockfile, uid, (gid_t) -1)) {
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_lock_fcntl.c:135:21:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
            if (0 > chmod(lock_ctx->lockfile, S_IRUSR | S_IWGRP | S_IRGRP)) {
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_lock_pthread.c:116:21:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
            if (0 > chown(lock_ctx->lockfile, (uid_t) uid, (gid_t) -1)){
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_lock_pthread.c:122:21:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
            if (0 > chmod(lock_ctx->lockfile, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP )) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:787:18:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        if (0 != chmod(mca_ptl_tcp_component.rendezvous_filename, S_IRUSR | S_IWUSR | S_IRGRP)) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:851:18:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        if (0 != chmod(mca_ptl_tcp_component.system_filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:915:18:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        if (0 != chmod(mca_ptl_tcp_component.pid_filename, S_IRUSR | S_IWUSR | S_IRGRP)) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:957:18:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        if (0 != chmod(mca_ptl_tcp_component.nspace_filename, S_IRUSR | S_IWUSR | S_IRGRP)) {
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:270:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        if (0 != chown(address->sun_path, lt->owner, -1)) {
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:277:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        if (0 != chown(address->sun_path, -1, lt->group)) {
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:284:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    if (0 != chmod(address->sun_path, lt->mode)) {
data/pmix-3.2.1/src/util/cmd_line.c:596:21:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                    strncat(line, "-", sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:597:21:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                    strncat(line, option->clo_single_dash_name, sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:602:25:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                        strncat(line, "|", sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:604:25:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                        strncat(line, " ", sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:606:21:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                    strncat(line, "--", sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:607:21:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                    strncat(line, option->clo_long_name, sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:609:17:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                strncat(line, " ", sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:613:21:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                    strncat(line, temp, sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:616:21:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                    strncat(line, " ", sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:672:25:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                        strncat(line, start, sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:685:29:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                            strncat(line, start, sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:705:33:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                                strncat(line, start, sizeof(line) - 1);
data/pmix-3.2.1/src/util/cmd_line.c:719:29:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
                            strncat(line, start, sizeof(line) - 1);
data/pmix-3.2.1/src/util/os_dirpath.c:67:25:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        if (0 == (ret = chmod(path, (buf.st_mode | mode)))) { /* successfully change mode */
data/pmix-3.2.1/src/util/os_dirpath.c:127:75:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        } else if (i == (len-1) && (mode != (mode & buf.st_mode)) && (0 > chmod(tmp, (buf.st_mode | mode)))) {
data/pmix-3.2.1/src/util/pmix_pty.c:251:5:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    chown(pts_name, getuid(), gid);
data/pmix-3.2.1/src/util/pmix_pty.c:252:5:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    chmod(pts_name, S_IRUSR | S_IWUSR | S_IWGRP);
data/pmix-3.2.1/examples/log.c:77:13:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
        if (syslog) {
data/pmix-3.2.1/examples/server.c:323:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        system(cleanup);
data/pmix-3.2.1/examples/server.c:336:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            system(cleanup);
data/pmix-3.2.1/examples/server.c:344:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            system(cleanup);
data/pmix-3.2.1/examples/server.c:355:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            system(cleanup);
data/pmix-3.2.1/examples/server.c:392:5:  [4] (shell) system:
  This causes a 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(cleanup);
data/pmix-3.2.1/src/include/pmix_config_bottom.h:428:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf pmix_snprintf
data/pmix-3.2.1/src/include/pmix_config_bottom.h:436:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define vsnprintf pmix_vsnprintf
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.c:187:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        return access (filename, F_OK) == 0;
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.c:195:11:  [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.
    ret = access (final, F_OK);
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:578:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (0 == access(pmix_mca_base_var_override_file, F_OK)) {
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:90: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(&result[idx], slen);
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:862:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(str, base);
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:874:13:  [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(str, suffix);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:751:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (0 == access(filename, R_OK)) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:782:26:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                if (0 == access(filename, R_OK)) {
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:173:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (0 != access(uri[2], R_OK)) {
data/pmix-3.2.1/src/util/context_fns.c:97:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (0 != access(app->cmd, X_OK)) {
data/pmix-3.2.1/src/util/few.c:50:7:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execvp(argv[0], argv);
data/pmix-3.2.1/src/util/keyval_parse.c:297:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(env_str, var);
data/pmix-3.2.1/src/util/keyval_parse.c:300:9:  [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(env_str, val);
data/pmix-3.2.1/src/util/os_dirpath.c:102:17:  [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(tmp, path_sep);
data/pmix-3.2.1/src/util/os_dirpath.c:104:13:  [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(tmp, parts[i]);
data/pmix-3.2.1/src/util/os_dirpath.c:112:17:  [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(tmp, path_sep);
data/pmix-3.2.1/src/util/os_dirpath.c:114:13:  [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(tmp, parts[i]);
data/pmix-3.2.1/src/util/os_path.c:62:13:  [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(path, path_sep);
data/pmix-3.2.1/src/util/os_path.c:64:13:  [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(path, path_sep);
data/pmix-3.2.1/src/util/os_path.c:93:13:  [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(path, path_sep);
data/pmix-3.2.1/src/util/os_path.c:95:9:  [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(path, element);
data/pmix-3.2.1/src/util/os_path.c:99:13:  [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(path, path_sep);
data/pmix-3.2.1/src/util/os_path.c:101:9:  [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(path, element);
data/pmix-3.2.1/src/util/output.c:696:13:  [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(filename, output_prefix);
data/pmix-3.2.1/src/util/output.c:699:13:  [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(filename, info[i].ldi_file_suffix);
data/pmix-3.2.1/src/util/path.c:152:21:  [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(pfix, env);
data/pmix-3.2.1/src/util/path.c:153:21:  [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(pfix, delimit);
data/pmix-3.2.1/src/util/pmix_pty.c:187: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(pts_name, ptr);      /* return name of slave */
data/pmix-3.2.1/src/util/printf.c:231:14:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    length = vsprintf(*ptr, fmt, ap2);
data/pmix-3.2.1/src/util/printf.c:273:13:  [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(str, buf);
data/pmix-3.2.1/src/util/show_help.c:111:9:  [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(*outstring, dash_line);
data/pmix-3.2.1/src/util/show_help.c:117:9:  [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(*outstring, lines[i]);
data/pmix-3.2.1/src/util/show_help.c:121:9:  [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(*outstring, dash_line);
data/pmix-3.2.1/src/util/timings.c:140:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(ev->descr, PMIX_TIMING_DESCR_MAX - 1, fmt, args);
data/pmix-3.2.1/src/util/timings.c:406:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf,"%s%s", buf, line);
data/pmix-3.2.1/src/util/timings.c:585:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf,"%s%s", buf, line);
data/pmix-3.2.1/test/pmi2_client.c:213:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(jobid, "%s", __func__);
data/pmix-3.2.1/test/pmi_client.c:223:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(jobid, "%s", __func__);
data/pmix-3.2.1/test/pmi_client.c:232:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(jobid, "%s", __func__);
data/pmix-3.2.1/test/pmi_client.c:241:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(jobid, "%s", __func__);
data/pmix-3.2.1/test/simple/simptest.c:442:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (0 != access(executable, X_OK)) {
data/pmix-3.2.1/test/simple/stability.c:340:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (0 != access(executable, X_OK)) {
data/pmix-3.2.1/test/test_common.c:35:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(output, OUTPUT_MAX - 1, fmt, args);
data/pmix-3.2.1/test/test_common.h:88:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fname, "%s.%d.%d", prefix, ns_id, rank); \
data/pmix-3.2.1/test/test_internal.c:45:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sval, "test_internal:%s:%d:%d", my_nspace, my_rank, idx);
data/pmix-3.2.1/test/test_internal.c:74:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sval, "test_internal:%s:%d:%d", my_nspace, my_rank, idx);
data/pmix-3.2.1/test/test_replace.c:54:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sval, "test_replace:%s:%d:%d", my_nspace, my_rank, key_idx);
data/pmix-3.2.1/test/test_replace.c:86:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sval, "test_replace:%s:%d:%d: replaced key", my_nspace, my_rank, item->key_idx);
data/pmix-3.2.1/test/test_replace.c:118:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(sval, "test_replace:%s:%d:%d: replaced key", my_nspace, my_rank, key_idx);
data/pmix-3.2.1/test/test_replace.c:120:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(sval, "test_replace:%s:%d:%d", my_nspace, my_rank, key_idx);
data/pmix-3.2.1/test/test_server.c:1034: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(nspace_item->name, proc.nspace);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:63:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        c = getopt_long(argc, argv, "hs:c:d0", long_options, NULL);
data/pmix-3.2.1/examples/server.c:228:25:  [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 (NULL == (tdir = getenv("TMPDIR"))) {
data/pmix-3.2.1/examples/server.c:229:29:  [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 (NULL == (tdir = getenv("TEMP"))) {
data/pmix-3.2.1/examples/server.c:230:33:  [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 (NULL == (tdir = getenv("TMP"))) {
data/pmix-3.2.1/src/client/pmix_client.c:612:25:  [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 (NULL == (evar = getenv("PMIX_NAMESPACE"))) {
data/pmix-3.2.1/src/client/pmix_client.c:633:29:  [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 (NULL == (evar = getenv("PMIX_RANK"))) {
data/pmix-3.2.1/src/client/pmix_client.c:659: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.
    evar = getenv("PMIX_SECURITY_MODE");
data/pmix-3.2.1/src/client/pmix_client.c:672: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.
    evar = getenv("PMIX_BFROP_BUFFER_TYPE");
data/pmix-3.2.1/src/client/pmix_client.c:688: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.
    evar = getenv("PMIX_GDS_MODULE");
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:335:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            value = getenv(tokens[i]);
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:442: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.
    if (NULL != getenv("PMIX_PARAM_FILE_PASSED")) {
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:1638: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.
    *source = getenv (source_env);
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:1639:14:  [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.
    *value = getenv (value_env);
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:585:24:  [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( NULL != (str = getenv(ESH_ENV_INITIAL_SEG_SIZE)) ) {
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:594:24:  [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( NULL != (str = getenv(ESH_ENV_NS_META_SEG_SIZE)) ) {
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:603:24:  [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( NULL != (str = getenv(ESH_ENV_NS_DATA_SEG_SIZE)) ) {
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:612:24:  [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 (NULL != (str = getenv(ESH_ENV_LINEAR))) {
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1660:41:  [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 (NULL == (dstor_tmpdir = getenv("TMPDIR"))) {
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1661:45:  [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 (NULL == (dstor_tmpdir = getenv("TEMP"))) {
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1662:49:  [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 (NULL == (dstor_tmpdir = getenv("TMP"))) {
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1710:24:  [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.
        dstor_tmpdir = getenv(env_name);
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1714:28:  [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.
            dstor_tmpdir = getenv(PMIX_DSTORE_ESH_BASE_PATH);
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1742:27:  [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 (NULL == (nspace = getenv("PMIX_NAMESPACE"))) {
data/pmix-3.2.1/src/mca/pinstalldirs/base/pinstalldirs_base_expand.c:112:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        destdir = getenv("PMIX_DESTDIR");
data/pmix-3.2.1/src/mca/pinstalldirs/env/pmix_pinstalldirs_env.c:51:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        char *tmp = getenv(envname);                                      \
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:156:29:  [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 (NULL != (evar = getenv("PMIX_SERVER_URI3"))) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:167:36:  [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.
        } else if (NULL != (evar = getenv("PMIX_SERVER_URI21"))) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:179:36:  [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.
        } else if (NULL != (evar = getenv("PMIX_SERVER_URI2"))) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:201:27:  [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 (NULL != (p2 = getenv("PMIX_VERSION"))) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:274:29:  [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 (NULL != (tdir = getenv("PMIX_SERVER_TMPDIR"))) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:285:29:  [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 (NULL != (tdir = getenv("PMIX_SYSTEM_TMPDIR"))) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:300:29:  [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 (NULL != (tdir = getenv("PMIX_LAUNCHER_RENDEZVOUS_FILE"))) {
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:120:25:  [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 (NULL != (evar = getenv("PMIX_SERVER_URI2USOCK"))) {
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:127:32:  [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.
    } else if (NULL != (evar = getenv("PMIX_SERVER_URI"))) {
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:118:25:  [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 (NULL == (tdir = getenv("PMIX_SYSTEM_TMPDIR"))) {
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:119:29:  [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 (NULL == (tdir = getenv("TMPDIR"))) {
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:120:33:  [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 (NULL == (tdir = getenv("TEMP"))) {
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:121:37:  [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 (NULL == (tdir = getenv("TMP"))) {
data/pmix-3.2.1/src/runtime/pmix_init.c:206:25:  [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 (NULL != (evar = getenv("PMIX_HOSTNAME"))) {
data/pmix-3.2.1/src/runtime/pmix_init.c:268:25:  [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 (NULL != (evar = getenv("PMIX_DEBUG"))) {
data/pmix-3.2.1/src/runtime/pmix_init.c:356:25:  [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 (NULL != (evar = getenv("PMIX_PTL_MODULE"))) {
data/pmix-3.2.1/src/runtime/pmix_init.c:375:25:  [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 (NULL != (evar = getenv("PMIX_SECURITY_MODE"))) {
data/pmix-3.2.1/src/runtime/pmix_init.c:391:32:  [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.
    } else if (NULL != (evar = getenv("PMIX_GDS_MODULE"))) {
data/pmix-3.2.1/src/server/pmix_server.c:220:29:  [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 (NULL == (evar = getenv("PMIX_SERVER_TMPDIR"))) {
data/pmix-3.2.1/src/server/pmix_server.c:227:29:  [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 (NULL == (evar = getenv("PMIX_SYSTEM_TMPDIR"))) {
data/pmix-3.2.1/src/server/pmix_server.c:333:29:  [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 (NULL == (evar = getenv("PMIX_SERVER_NAMESPACE"))) {
data/pmix-3.2.1/src/server/pmix_server.c:344:29:  [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 (NULL == (evar = getenv("PMIX_SERVER_RANK"))) {
data/pmix-3.2.1/src/tool/pmix_tool.c:421:29:  [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 (NULL == (evar = getenv("PMIX_SERVER_TMPDIR"))) {
data/pmix-3.2.1/src/tool/pmix_tool.c:428:29:  [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 (NULL == (evar = getenv("PMIX_SYSTEM_TMPDIR"))) {
data/pmix-3.2.1/src/tool/pmix_tool.c:454:29:  [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 (NULL != (evar = getenv("PMIX_NAMESPACE"))) {
data/pmix-3.2.1/src/tool/pmix_tool.c:463:29:  [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 (NULL != (evar = getenv("PMIX_RANK"))) {
data/pmix-3.2.1/src/tool/pmix_tool.c:589: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.
    evar = getenv("PMIX_SECURITY_MODE");
data/pmix-3.2.1/src/tool/pmix_tool.c:604: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.
    evar = getenv("PMIX_BFROP_BUFFER_TYPE");
data/pmix-3.2.1/src/tool/pmix_tool.c:633: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.
    evar = getenv("PMIX_GDS_MODULE");
data/pmix-3.2.1/src/util/output.c:135:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    str = getenv("PMIX_OUTPUT_STDERR_FD");
data/pmix-3.2.1/src/util/output.c:139:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    str = getenv("PMIX_OUTPUT_REDIRECT");
data/pmix-3.2.1/src/util/output.c:145:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    str = getenv("PMIX_OUTPUT_SYSLOG_PRI");
data/pmix-3.2.1/src/util/output.c:162:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    str = getenv("PMIX_OUTPUT_SYSLOG_IDENT");
data/pmix-3.2.1/src/util/output.c:261:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    str = getenv("PMIX_OUTPUT_STDERR_FD");
data/pmix-3.2.1/src/util/output.c:508:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    str = getenv("PMIX_OUTPUT_REDIRECT");
data/pmix-3.2.1/src/util/output.c:512:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    sfx = getenv("PMIX_OUTPUT_SUFFIX");
data/pmix-3.2.1/src/util/path.c:368: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(var);
data/pmix-3.2.1/src/util/path.c:404:21:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
        if (NULL == realpath( abs_app_name, resolved_path )) {
data/pmix-3.2.1/src/util/pmix_environ.c:270:24:  [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 (NULL == (str = getenv("TMPDIR")))
data/pmix-3.2.1/src/util/pmix_environ.c:271:28:  [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 (NULL == (str = getenv("TEMP")))
data/pmix-3.2.1/src/util/pmix_environ.c:272:32:  [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 (NULL == (str = getenv("TMP")))
data/pmix-3.2.1/src/util/pmix_environ.c:282:16:  [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.
        home = getenv("HOME");
data/pmix-3.2.1/test/pmi2_client.c:117:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(time(NULL));
data/pmix-3.2.1/test/pmi2_client.c:118:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    str = getenv("VERBOSE");
data/pmix-3.2.1/test/pmi2_client.c:130:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    str = getenv("PMIX_NAMESPACE");
data/pmix-3.2.1/test/pmi_client.c:112:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(time(NULL));
data/pmix-3.2.1/test/pmi_client.c:113:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    str = getenv("VERBOSE");
data/pmix-3.2.1/test/pmi_client.c:125:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    str = getenv("PMIX_NAMESPACE");
data/pmix-3.2.1/test/simple/simpdmodex.c:108: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.
    if (NULL != getenv("PMIX_SIMPDMODEX_ASYNC")) {
data/pmix-3.2.1/test/test_common.c:248:26:  [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 *ranklist = getenv("SLURM_GTIDS");
data/pmix-3.2.1/test/test_common.c:249:24:  [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 *rankno = getenv("SLURM_LOCALID");
data/pmix-3.2.1/test/test_common.c:267:24:  [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 *nspace = getenv("PMIX_NAMESPACE");
data/pmix-3.2.1/test/test_resolve_peers.c:112:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (NULL != getenv("PMIX_VERSION")) {
data/pmix-3.2.1/contrib/perf_tools/pmi1.c:129:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[128];
data/pmix-3.2.1/contrib/perf_tools/pmi1.c:132:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "%lf", val);
data/pmix-3.2.1/contrib/perf_tools/pmi2.c:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[128];
data/pmix-3.2.1/contrib/perf_tools/pmi2.c:107:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "%lf", val);
data/pmix-3.2.1/contrib/perf_tools/pmi2_pmap_parser.c:181: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).
        me = atoi(argv[1]);
data/pmix-3.2.1/contrib/perf_tools/pmi2_utils.c:59:60:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 inline void pmi_base64_encode_block (const unsigned char in[3], char out[4], int len) {
data/pmix-3.2.1/contrib/perf_tools/pmi2_utils.c:59:72:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 inline void pmi_base64_encode_block (const unsigned char in[3], char out[4], int len) {
data/pmix-3.2.1/contrib/perf_tools/pmi2_utils.c:67:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 inline int pmi_base64_decode_block (const char in[4], unsigned char out[3]) {
data/pmix-3.2.1/contrib/perf_tools/pmi2_utils.c:67:71:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 inline int pmi_base64_decode_block (const char in[4], unsigned char out[3]) {
data/pmix-3.2.1/contrib/perf_tools/pmi2_utils.c:68:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char in_dec[4];
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:69: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).
            key_size = atoi(optarg);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:76: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).
            key_count = atoi(optarg);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[128];
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:118:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf,"%lf",val);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char data[PATH_MAX];
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:136:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (NULL == (smaps = fopen(data, "r"))) {
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:327: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 key[128];
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:328: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(key, "PMIX_PERF_get_total_time.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:331: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(key, "PMIX_PERF_get_loc_time.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:334: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(key, "PMIX_PERF_get_rem_time.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:337: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(key, "PMIX_PERF_get_time.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:340: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(key, "PMIX_PERF_put_loc_time.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:343: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(key, "PMIX_PERF_put_rem_time.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:346: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(key, "PMIX_PERF_commit_time.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:349: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(key, "PMIX_PERF_fence_time.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:352: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(key, "PMIX_PERF_init_time.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:355: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(key, "PMIX_PERF_total_time.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:358: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(key, "PMIX_PERF_mem_pss.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:361: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(key, "PMIX_PERF_mem_rss.%d", rank);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:395:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char c_get_ltime[128], c_get_rtime[128], c_get_ttime[128];
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:396:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char c_put_ltime[128], c_put_rtime[128];
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:400:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "PMIX_PERF_get_total_time.%d", i);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:403:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "PMIX_PERF_get_loc_time.%d", i);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:415:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "PMIX_PERF_get_rem_time.%d", i);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:427:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "PMIX_PERF_get_time.%d", i);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:430:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "PMIX_PERF_put_loc_time.%d", i);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:433:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "PMIX_PERF_put_rem_time.%d", i);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:436:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "PMIX_PERF_commit_time.%d", i);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:439:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "PMIX_PERF_fence_time.%d", i);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:442:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "PMIX_PERF_init_time.%d", i);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:452:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "PMIX_PERF_total_time.%d", i);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:462:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "PMIX_PERF_mem_pss.%d", i);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:474:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(c_get_ltime,"%lf", cum_get_loc_time / nproc);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:476:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(c_get_ltime,"--------");
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:479:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(c_get_rtime,"%lf", cum_get_rem_time / nproc);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:481:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(c_get_rtime,"--------");
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:485:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(c_get_ttime,"%lf", cum_get_time / nproc);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:487:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(c_get_ttime,"--------");
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:491:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(c_put_ltime,"%lf", cum_put_loc_time / nproc);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:494:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(c_put_ltime,"--------");
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:497:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(c_put_rtime,"%lf", cum_put_rem_time / nproc);
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:500:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(c_put_rtime,"--------");
data/pmix-3.2.1/contrib/perf_tools/pmix.c:82:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         (*local_ranks)[i] = atoi(loc_rank);
data/pmix-3.2.1/contrib/perf_tools/pmix.c:146: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 maps_path[PATH_MAX] = "/proc/self/maps";
data/pmix-3.2.1/contrib/perf_tools/pmix.c:152:28:  [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 (NULL == (maps_fp = fopen(maps_path, "r"))) {
data/pmix-3.2.1/examples/bad_exit.c:95: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 hostname[1024];
data/pmix-3.2.1/examples/bad_exit.c:105: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).
        delay=atoi(argv[1]);
data/pmix-3.2.1/examples/debugger.c:196: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 cwd[1024];
data/pmix-3.2.1/examples/debugger.c:197: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 dspace[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/examples/debugger.c:236: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 appspace[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/examples/debugger.c:242: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 cwd[1024];
data/pmix-3.2.1/examples/dynamic.c:49: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 nsp2[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/examples/dynamic.c:51: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 hostname[1024], dir[1024];
data/pmix-3.2.1/examples/hello.c:95: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 hostname[1024];
data/pmix-3.2.1/examples/launcher.c:46:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&affected, info[n].value.data.proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/examples/server.c:422: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 hostname[PMIX_MAXHOSTNAMELEN];
data/pmix-3.2.1/examples/tool.c:77: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 hostname[1024];
data/pmix-3.2.1/src/atomics/sys/atomic.h:104: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 padding[sizeof(int)]; /**< Array for optional padding */
data/pmix-3.2.1/src/class/pmix_bitmap.h:185: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(dest->bitmap, src->bitmap, src->array_size * sizeof(uint64_t));
data/pmix-3.2.1/src/class/pmix_hash_table.c:645:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(key_local, key, key_size);
data/pmix-3.2.1/src/class/pmix_value_array.h:207: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(array->array_items + (item_index * array->array_item_sizeof), item, array->array_item_sizeof);
data/pmix-3.2.1/src/client/pmi1.c:85: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(&proc, &myproc, sizeof(myproc));
data/pmix-3.2.1/src/client/pmi1.c:458: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 *keys[2];
data/pmix-3.2.1/src/client/pmi2.c:731:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *keys[3];
data/pmix-3.2.1/src/client/pmix_client.c:105:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(cd->targets, chain->targets, cd->ntargets * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/client/pmix_client.c:114:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(cd->affected, chain->affected, cd->naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/client/pmix_client_spawn.c:239: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 nspace[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/src/common/pmix_iof.c:731:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char starttag[PMIX_IOF_BASE_TAG_MAX], endtag[PMIX_IOF_BASE_TAG_MAX], *suffix;
data/pmix-3.2.1/src/common/pmix_iof.c:736: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 qprint[10];
data/pmix-3.2.1/src/common/pmix_iof.c:778:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output->data, bo->bytes, bo->size);
data/pmix-3.2.1/src/common/pmix_iof.c:844:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(output->data, bo->bytes, bo->size);
data/pmix-3.2.1/src/common/pmix_iof.c:1139: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 data[PMIX_IOF_BASE_MSG_MAX];
data/pmix-3.2.1/src/common/pmix_iof.h:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char data[PMIX_IOF_BASE_TAGGED_OUT_MAX];
data/pmix-3.2.1/src/common/pmix_iof.h:207:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy((rev)->targets, (p), (np) * sizeof(pmix_proc_t));    \
data/pmix-3.2.1/src/common/pmix_strings.c:249: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 answer[300];
data/pmix-3.2.1/src/common/pmix_strings.c:256:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(&answer[cnt], "STDIN ");
data/pmix-3.2.1/src/common/pmix_strings.c:260:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(&answer[cnt], "STDOUT ");
data/pmix-3.2.1/src/common/pmix_strings.c:264:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(&answer[cnt], "STDERR ");
data/pmix-3.2.1/src/common/pmix_strings.c:268:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(&answer[cnt], "STDDIAG ");
data/pmix-3.2.1/src/common/pmix_strings.c:272:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(&answer[cnt], "NONE");
data/pmix-3.2.1/src/event/pmix_event_notification.c:253:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cd->targets, chain->targets, cd->ntargets * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_notification.c:263:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cd->affected, chain->affected, cd->naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_notification.c:938:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cd->targets, chain->targets, cd->ntargets * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_notification.c:978:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cd->affected, chain->affected, cd->naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_notification.c:1319:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(chain->targets, info[n].value.data.darray->array, chain->ntargets * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_notification.c:1323:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(chain->targets, info[n].value.data.proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_notification.c:1335:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(chain->affected, info[n].value.data.proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_notification.c:1343:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(chain->affected, info[n].value.data.darray->array, chain->naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_registration.c:430:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(chain->affected, ncd->info[n].value.data.proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_registration.c:439:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(chain->affected, ncd->info[n].value.data.darray->array, chain->naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_registration.c:602:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(evhdlr->rng.procs, parray, nprocs * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_registration.c:613:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(evhdlr->affected, cd->affected, cd->naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_registration.c:625:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(evhdlr->codes, cd->codes, cd->ncodes * sizeof(pmix_status_t));
data/pmix-3.2.1/src/event/pmix_event_registration.c:666:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(evhdlr->rng.procs, parray, nprocs * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_registration.c:677:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(evhdlr->affected, cd->affected, cd->naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/event/pmix_event_registration.c:692:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(evhdlr->codes, cd->codes, cd->ncodes * sizeof(pmix_status_t));
data/pmix-3.2.1/src/hwloc/hwloc.c:422:30:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (-1 == (shmemfd = open(shmemfile, O_CREAT | O_RDWR, 0600))) {
data/pmix-3.2.1/src/hwloc/hwloc.c:626: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 line[96];
data/pmix-3.2.1/src/hwloc/hwloc.c:628:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen("/proc/self/maps", "r");
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_find.c:342: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 h[PMIX_MAXHOSTNAMELEN] = {0};
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.c:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[PMIX_MCA_BASE_MAX_COMPONENT_NAME_LEN + 1];
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.c:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char type[PMIX_MCA_BASE_MAX_TYPE_NAME_LEN + 1];
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.h:49: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 ri_type[PMIX_MCA_BASE_MAX_TYPE_NAME_LEN + 1];
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.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 ri_name[PMIX_MCA_BASE_MAX_COMPONENT_NAME_LEN + 1];
data/pmix-3.2.1/src/mca/base/pmix_mca_base_open.c:71: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 hostname[PMIX_MAXHOSTNAMELEN] = {0};
data/pmix-3.2.1/src/mca/base/pmix_mca_base_open.c:268:42:  [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).
                lds->lds_verbose_level = atoi(ptr + 6);
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:1529:115:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if ((PMIX_MCA_BASE_VAR_TYPE_STRING == type || PMIX_MCA_BASE_VAR_TYPE_VERSION_STRING == type) && NULL != ((char **)storage)[0]) {
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:1530: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.
            ((char **)storage)[0] = strdup (((char **)storage)[0]);
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:1530:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            ((char **)storage)[0] = strdup (((char **)storage)[0]);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:75:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr,src->unpack_ptr, to_copy);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:192: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(val, src, datasize);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:341: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(*dest, src, sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:357:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((*dest)->bytes, src->bytes, src->size);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:389:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->proc, &src->proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:396:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->pid, &src->pid, sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:397:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->exit_code, &src->exit_code, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:398:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->state, &src->state, sizeof(pmix_proc_state_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:450:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:459:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(uint16_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:468:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(uint32_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:477:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(uint64_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:485:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(bool));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:493:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:501:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:524:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:532:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(float));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:540:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(double));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:548:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(struct timeval));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:556:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(time_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:564:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_status_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:588:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:596:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:684:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(pbo[n].bytes, sbo[n].bytes, pbo[n].size);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:724:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:740:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_scope_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:748:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_data_range_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:756:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_cmd_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:764:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_info_directives_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_copy.c:775:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&pi[n].proc, &si[n].proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:78:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.flag), data, 1);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:81:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.byte), data, 1);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:87:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.size), data, sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:90:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.pid), data, sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:93:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.integer), data, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:96:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int8), data, 1);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:99:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int16), data, 2);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:102:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int32), data, 4);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:105:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int64), data, 8);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:108:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint), data, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:111:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint8), data, 1);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:114:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint16), data, 2);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:117:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint32), data, 4);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:120:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint64), data, 8);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:123:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.fval), data, sizeof(float));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:126:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.dval), data, sizeof(double));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:129:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.tv), data, sizeof(struct timeval));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:132:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.time), data, sizeof(time_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:135:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.status), data, sizeof(pmix_status_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:138:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.rank), data, sizeof(pmix_rank_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:146:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(v->data.proc, data, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:155:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(v->data.bo.bytes, bo->bytes, bo->size);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:156:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.bo.size), &bo->size, sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:159:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.persist), data, sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:162:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.scope), data, sizeof(pmix_scope_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:165:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.range), data, sizeof(pmix_data_range_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:168:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.state), data, sizeof(pmix_proc_state_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:177:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.pinfo->proc), &pi->proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:184:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.pinfo->pid), &pi->pid, sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:185:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.pinfo->exit_code), &pi->exit_code, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:240:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.flag), 1);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:244:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.byte), 1);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:254:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.size), sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:258:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.pid), sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:262:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.integer), sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:266:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int8), 1);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:270:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int16), 2);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:274:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int32), 4);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:278:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int64), 8);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:282:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint), sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:286:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint8), 1);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:290:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint16), 2);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:294:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint32), 4);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:298:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint64), 8);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:302:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.fval), sizeof(float));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:306:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.dval), sizeof(double));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:310:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.tv), sizeof(struct timeval));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:314:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.time), sizeof(time_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:327:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.persist), sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:331:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.scope), sizeof(pmix_scope_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:335:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.range), sizeof(pmix_data_range_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:339:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.state), sizeof(pmix_proc_state_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:559:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.integer, &src->data.integer, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:566:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.int16, &src->data.int16, 2);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:570:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.int32, &src->data.int32, 4);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:574:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.int64, &src->data.int64, 8);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:578:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.uint, &src->data.uint, sizeof(unsigned int));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:585:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.uint16, &src->data.uint16, 2);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:589:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.uint32, &src->data.uint32, 4);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:593:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.uint64, &src->data.uint64, 8);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:602:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.tv, &src->data.tv, sizeof(struct timeval));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:605:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.time, &src->data.time, sizeof(time_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:608:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.status, &src->data.status, sizeof(pmix_status_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:615:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p->data.proc, src->data.proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:618:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.rank, &src->data.rank, sizeof(pmix_rank_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:626:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->data.bo.bytes, src->data.bo.bytes, src->data.bo.size);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:634:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.persist, &src->data.persist, sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:637:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.scope, &src->data.scope, sizeof(pmix_scope_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:640:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.range, &src->data.range, sizeof(pmix_data_range_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:643:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.state, &src->data.state, sizeof(pmix_proc_state_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_pack.c:224:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, src, num_vals);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_pack.c:260:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_pack.c:295:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_pack.c:331:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&tmp2, (char *)src+i*sizeof(uint64_t), sizeof(uint64_t));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_pack.c:333:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c:316: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(dest, buffer->unpack_ptr, *num_vals);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c:348:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &(tmp), buffer->unpack_ptr, sizeof(tmp) );
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c:350:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c:381:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &(tmp), buffer->unpack_ptr, sizeof(tmp) );
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c:383:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c:427:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &(tmp), buffer->unpack_ptr, sizeof(tmp) );
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c:429:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c:496:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c:529:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c:561:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tt, sizeof(tt));
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_unpack.c:594:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:531:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.flag), data, 1);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:534:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.byte), data, 1);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:540:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.size), data, sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:543:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.pid), data, sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:546:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.integer), data, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:549:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int8), data, 1);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:552:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int16), data, 2);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:555:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int32), data, 4);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:558:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int64), data, 8);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:561:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint), data, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:564:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint8), data, 1);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:567:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint16), data, 2);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:570:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint32), data, 4);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:573:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint64), data, 8);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:576:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.fval), data, sizeof(float));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:579:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.dval), data, sizeof(double));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:582:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.tv), data, sizeof(struct timeval));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:587:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.bo.size), &bo->size, sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:622:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.flag), 1);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:626:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.byte), 1);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:636:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.size), sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:640:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.pid), sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:644:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.integer), sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:648:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int8), 1);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:652:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int16), 2);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:656:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int32), 4);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:660:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int64), 8);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:664:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint), sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:668:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint8), 1);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:672:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint16), 2);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:676:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint32), 4);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:680:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint64), 8);
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:684:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.fval), sizeof(float));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:688:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.dval), sizeof(double));
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:692:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.tv), sizeof(struct timeval));
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:76:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr,src->unpack_ptr, to_copy);
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:151: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(val, src, datasize);
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:254:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.integer, &src->data.integer, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:261:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.int16, &src->data.int16, 2);
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:265:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.int32, &src->data.int32, 4);
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:269:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.int64, &src->data.int64, 8);
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:273:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.uint, &src->data.uint, sizeof(unsigned int));
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:280:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.uint16, &src->data.uint16, 2);
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:284:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.uint32, &src->data.uint32, 4);
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:288:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&p->data.uint64, &src->data.uint64, 8);
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:305:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->data.bo.bytes, src->data.bo.bytes, src->data.bo.size);
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:402: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(d1, s1, src->size * sizeof(pmix_info_t));
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:433:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((*dest)->blob, src->blob, src->size * sizeof(uint8_t));
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:447: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(*dest, src, sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/v12/copy.c:460: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((*dest)->bytes, src->bytes, src->size);
data/pmix-3.2.1/src/mca/bfrops/v12/internal.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 nspace[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/src/mca/bfrops/v12/pack.c:228:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, src, num_vals);
data/pmix-3.2.1/src/mca/bfrops/v12/pack.c:256:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v12/pack.c:284:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v12/pack.c:319:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&tmp2, (char *)src+i*sizeof(uint64_t), sizeof(uint64_t));
data/pmix-3.2.1/src/mca/bfrops/v12/pack.c:321:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c:307: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(dest, buffer->unpack_ptr, *num_vals);
data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c:330:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &(tmp), buffer->unpack_ptr, sizeof(tmp) );
data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c:332:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c:354:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &(tmp), buffer->unpack_ptr, sizeof(tmp) );
data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c:356:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c:386:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &(tmp), buffer->unpack_ptr, sizeof(tmp) );
data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c:388:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c:452:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c:486:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c:518:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tt, sizeof(tt));
data/pmix-3.2.1/src/mca/bfrops/v12/unpack.c:551:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:480:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.flag), data, 1);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:483:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.byte), data, 1);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:489:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.size), data, sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:492:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.pid), data, sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:495:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.integer), data, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:498:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int8), data, 1);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:501:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int16), data, 2);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:504:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int32), data, 4);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:507:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.int64), data, 8);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:510:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint), data, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:513:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint8), data, 1);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:516:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint16), data, 2);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:519:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint32), data, 4);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:522:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.uint64), data, 8);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:525:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.fval), data, sizeof(float));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:528:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.dval), data, sizeof(double));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:531:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.tv), data, sizeof(struct timeval));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:534:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.time), data, sizeof(time_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:537:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.status), data, sizeof(pmix_status_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:540:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.rank), data, sizeof(pmix_rank_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:548:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(v->data.proc, data, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:553:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.bo.size), &bo->size, sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:556:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.persist), data, sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:559:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.scope), data, sizeof(pmix_scope_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:562:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.range), data, sizeof(pmix_data_range_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:565:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.state), data, sizeof(pmix_proc_state_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:574:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.pinfo->proc), &pi->proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:581:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.pinfo->pid), &pi->pid, sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:582:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.pinfo->exit_code), &pi->exit_code, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:585:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&(v->data.ptr), data, sizeof(void*));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:614:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.flag), 1);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:618:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.byte), 1);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:628:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.size), sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:632:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.pid), sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:636:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.integer), sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:640:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int8), 1);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:644:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int16), 2);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:648:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int32), 4);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:652:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.int64), 8);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:656:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint), sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:660:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint8), 1);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:664:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint16), 2);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:668:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint32), 4);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:672:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.uint64), 8);
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:676:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.fval), sizeof(float));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:680:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.dval), sizeof(double));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:684:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.tv), sizeof(struct timeval));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:688:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.time), sizeof(time_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:692:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.status), sizeof(pmix_status_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:696:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.rank), sizeof(pmix_rank_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:706:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pc, kv->data.proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:720:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.persist), sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:724:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.scope), sizeof(pmix_scope_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:728:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.range), sizeof(pmix_data_range_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:732:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.state), sizeof(pmix_proc_state_t));
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:736:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*data, &(kv->data.ptr), sizeof(void*));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:76:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr,src->unpack_ptr, to_copy);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:191: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(val, src, datasize);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:382:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.integer, &src->data.integer, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:389:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.int16, &src->data.int16, 2);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:393:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.int32, &src->data.int32, 4);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:397:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.int64, &src->data.int64, 8);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:401:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.uint, &src->data.uint, sizeof(unsigned int));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:408:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.uint16, &src->data.uint16, 2);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:412:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.uint32, &src->data.uint32, 4);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:416:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.uint64, &src->data.uint64, 8);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:425:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.tv, &src->data.tv, sizeof(struct timeval));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:428:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.time, &src->data.time, sizeof(time_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:431:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.status, &src->data.status, sizeof(pmix_status_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:439:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->data.proc, src->data.proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:442:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.rank, &src->data.rank, sizeof(pmix_rank_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:449:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(p->data.bo.bytes, src->data.bo.bytes, src->data.bo.size);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:457:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.persist, &src->data.persist, sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:460:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.scope, &src->data.scope, sizeof(pmix_scope_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:463:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.range, &src->data.range, sizeof(pmix_data_range_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:466:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.state, &src->data.state, sizeof(pmix_proc_state_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:476:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.pinfo->pid, &src->data.pinfo->pid, sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:477:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.pinfo->exit_code, &src->data.pinfo->exit_code, sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:478:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.pinfo->state, &src->data.pinfo->state, sizeof(pmix_proc_state_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:498:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:506:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(uint16_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:514:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(uint32_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:522:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(uint64_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:529:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(bool));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:536:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:543:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:564:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:571:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(float));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:578:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(double));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:585:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(struct timeval));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:592:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(time_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:599:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(pmix_status_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:620:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:677:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(&pd[n].proc, &sd[n].proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:710:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy(pbo[n].bytes, sbo[n].bytes, pbo[n].size);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:748:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(&pm[n], &sm[n], sizeof(pmix_modex_data_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:754:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy(pm[n].blob, sm[n].blob, sm[n].size);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:767:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:785:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(pmix_scope_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:792:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(pmix_data_range_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:799:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(pmix_cmd_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:806:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(p->data.darray->array, src->data.darray->array, src->data.darray->size * sizeof(pmix_info_directives_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:816:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(&pi[n].proc, &si[n].proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:866:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&p->data.ptr, &src->data.ptr, sizeof(void*));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:981:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((*dest)->blob, src->blob, src->size * sizeof(uint8_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:994: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(*dest, src, sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1006: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((*dest)->bytes, src->bytes, src->size);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1082:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1091:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(uint16_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1100:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(uint32_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1109:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(uint64_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1117:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(bool));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1125:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(size_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1133:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pid_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1156:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(int));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1164:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(float));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1172:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(double));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1180:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(struct timeval));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1188:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(time_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1196:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_status_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1220:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1228:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1316:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(pbo[n].bytes, sbo[n].bytes, pbo[n].size);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1359:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&pm[n], &sm[n], sizeof(pmix_modex_data_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1367:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(pm[n].blob, sm[n].blob, sm[n].size);
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1381:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_persistence_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1397:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_scope_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1405:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_data_range_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1413:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_cmd_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1421:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->array, src->array, src->size * sizeof(pmix_info_directives_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1432:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&pi[n].proc, &si[n].proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/mca/bfrops/v20/copy.c:1521: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(d1, s1, src->size * sizeof(pmix_info_t));
data/pmix-3.2.1/src/mca/bfrops/v20/internal.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 nspace[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/src/mca/bfrops/v20/pack.c:218:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, src, num_vals);
data/pmix-3.2.1/src/mca/bfrops/v20/pack.c:247:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v20/pack.c:276:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v20/pack.c:315:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&tmp2, (char *)src+i*sizeof(uint64_t), sizeof(uint64_t));
data/pmix-3.2.1/src/mca/bfrops/v20/pack.c:317:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c:294: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(dest, buffer->unpack_ptr, *num_vals);
data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c:318:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &(tmp), buffer->unpack_ptr, sizeof(tmp) );
data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c:320:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c:343:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &(tmp), buffer->unpack_ptr, sizeof(tmp) );
data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c:345:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c:378:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &(tmp), buffer->unpack_ptr, sizeof(tmp) );
data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c:380:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c:443:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c:476:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c:508:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tt, sizeof(tt));
data/pmix-3.2.1/src/mca/bfrops/v20/unpack.c:536:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&desttmp[i], &tmp, sizeof(tmp));
data/pmix-3.2.1/src/mca/bfrops/v21/bfrop_pmix21.c:74: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 nspace[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/src/mca/bfrops/v21/bfrop_pmix21.c:622: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(d1, s1, src->size * sizeof(pmix_info_t));
data/pmix-3.2.1/src/mca/bfrops/v21/bfrop_pmix21.c:640:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((*dest)->blob, src->blob, src->size * sizeof(uint8_t));
data/pmix-3.2.1/src/mca/bfrops/v3/bfrop_pmix3.c:74: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 nspace[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/src/mca/bfrops/v3/bfrop_pmix3.c:638: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(d1, s1, src->size * sizeof(pmix_info_t));
data/pmix-3.2.1/src/mca/bfrops/v3/bfrop_pmix3.c:656:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((*dest)->blob, src->blob, src->size * sizeof(uint8_t));
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:202: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[PMIX_PATH_MAX];
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:700:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(seg->seg_info.seg_base_addr, &offs, sizeof(size_t));
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:746:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((uint8_t*)(_ESH_SESSION_sm_seg_last(ds_ctx->session_array, ns_map->tbl_idx)->seg_info.seg_base_addr +
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:757: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((uint8_t*)(_ESH_SESSION_sm_seg_last(ds_ctx->session_array, ns_map->tbl_idx)->seg_info.seg_base_addr) +
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:760: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((uint8_t*)(_ESH_SESSION_sm_seg_last(ds_ctx->session_array, ns_map->tbl_idx)->seg_info.seg_base_addr),
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:976:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cur_elem, rinfo, sizeof(rank_meta_info));
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:978:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tmp->seg_info.seg_base_addr, &num_elems, sizeof(size_t));
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1017:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cur_elem, rinfo, sizeof(rank_meta_info));
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1085: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, &data_ended, sizeof(size_t));
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1163: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, &data_ended, sizeof(size_t));
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1257:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&offset, PMIX_DS_DATA_PTR(ds_ctx, addr), sizeof(size_t));
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1299:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(PMIX_DS_DATA_PTR(ds_ctx, addr), buffer.base_ptr, size);
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1378:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(segstart, &new_offset, sizeof(size_t));
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1400:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(PMIX_DS_DATA_PTR(ds_ctx, addr), &offset, sizeof(size_t));
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:2162:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&offset, PMIX_DS_DATA_PTR(ds_ctx, addr), sizeof(size_t));
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.h:89: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[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/src/mca/common/dstore/dstore_segment.c:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char file_name[PMIX_PATH_MAX];
data/pmix-3.2.1/src/mca/common/dstore/dstore_segment.c:174:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char file_name[PMIX_PATH_MAX];
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_file.c:37: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(&sz, addr +                                      \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_file.c:69:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&data_size,                                      \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_file.c:80:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(addr + ESH_KNAME_LEN_V12(key), &sz,              \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_file.c:82:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(addr + ESH_KNAME_LEN_V12(key) + sizeof(size_t),  \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_file.c:90: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(&size, addr + ESH_KNAME_LEN_V12(ESH_KNAME_PTR_V12(addr)),
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_lock_fcntl.c:116:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        lock_ctx->lockfd = open(lock_ctx->lockfile, O_CREAT | O_RDWR | O_EXCL, 0600);
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_lock_fcntl.c:122:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            lock_ctx->lockfd = open(lock_ctx->lockfile, O_CREAT | O_RDWR, 0600);
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_lock_fcntl.c:143:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        lock_ctx->lockfd = open(lock_ctx->lockfile, O_RDONLY);
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds20_file.c:24: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(&sz, addr, sizeof(size_t));                      \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds20_file.c:68: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, &sz, sizeof(size_t));                      \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds20_file.c:73: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 + sizeof(size_t) + ESH_KNAME_LEN_V20(key),  \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds20_file.c:81: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(&size, key, sizeof(size_t));
data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c:35: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(&sz, addr, sizeof(size_t));                      \
data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c:75:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&sz, addr, sizeof(size_t));
data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c:82:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&sz, addr, sizeof(size_t));
data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c:84: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, &sz, sizeof(size_t));
data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c:90: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(&sz, addr, sizeof(size_t));
data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c:108: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(&hash, (char*)addr + sizeof(size_t), sizeof(size_t));
data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c:166: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_ch, &sz, sizeof(size_t));
data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c:168: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_ch + sizeof(size_t), &hash, sizeof(size_t));
data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c:170: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(ESH_DATA_PTR_V21(addr), buffer, size);
data/pmix-3.2.1/src/mca/mca.h:215: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 pmix_mca_project_name[PMIX_MCA_BASE_MAX_PROJECT_NAME_LEN + 1];
data/pmix-3.2.1/src/mca/mca.h:227: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 pmix_mca_type_name[PMIX_MCA_BASE_MAX_TYPE_NAME_LEN + 1];
data/pmix-3.2.1/src/mca/mca.h:239: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 pmix_mca_component_name[PMIX_MCA_BASE_MAX_COMPONENT_NAME_LEN + 1];
data/pmix-3.2.1/src/mca/mca.h:259: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 reserved[32];
data/pmix-3.2.1/src/mca/mca.h:284: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 reserved[32];
data/pmix-3.2.1/src/mca/pcompress/zlib/compress_zlib.c:111:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, &inlen, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/pcompress/zlib/compress_zlib.c:114:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, tmp, outlen-sizeof(uint32_t));
data/pmix-3.2.1/src/mca/pcompress/zlib/compress_zlib.c:134: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(&len2, inbytes, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/pdl/base/pdl_base_fns.c:33:47:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (NULL != pmix_pdl && NULL != pmix_pdl->open) {
data/pmix-3.2.1/src/mca/pdl/base/pdl_base_fns.c:34:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        return pmix_pdl->open(fname, use_ext, private_namespace,
data/pmix-3.2.1/src/mca/pdl/pdl.h:167:46:  [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).
    pmix_pdl_base_module_open_fn_t           open;
data/pmix-3.2.1/src/mca/pif/bsdx_ipv4/pif_bsdx.c:159:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&a4, &(sin_addr->sin_addr), sizeof(struct in_addr));
data/pmix-3.2.1/src/mca/pif/bsdx_ipv6/pif_bsdx_ipv6.c:176:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&a6, &(sin_addr->sin6_addr), sizeof(struct in6_addr));
data/pmix-3.2.1/src/mca/pif/linux_ipv6/pif_linux_ipv6.c:82:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((f = fopen("/proc/net/if_inet6", "r"))) {
data/pmix-3.2.1/src/mca/pif/linux_ipv6/pif_linux_ipv6.c:85: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 ifname[PMIX_IF_NAMESIZE];
data/pmix-3.2.1/src/mca/pif/pif.h:76: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                if_name[PMIX_IF_NAMESIZE+1];
data/pmix-3.2.1/src/mca/pif/posix_ipv4/pif_posix.c:292:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&intf->if_addr, &ifr->ifr_addr, sizeof(struct sockaddr_in));
data/pmix-3.2.1/src/mca/pif/posix_ipv4/pif_posix.c:309:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(intf->if_mac, ifr->ifr_hwaddr.sa_data, 6);
data/pmix-3.2.1/src/mca/pif/solaris_ipv6/pif_solaris_ipv6.c:195:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&intf->if_addr, my_addr, sizeof (*my_addr));
data/pmix-3.2.1/src/mca/plog/smtp/plog_smtp.c:292: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 em[256];
data/pmix-3.2.1/src/mca/plog/smtp/plog_smtp_component.c:66:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char version[256];
data/pmix-3.2.1/src/mca/plog/syslog/plog_syslog.c:174: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 tod[48], *datastr, *tmp, *tmp2;
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:84:5:  [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(result, "blob:");
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:86:5:  [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(&result[idx], "component=zlib:");
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:88:5:  [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(&result[idx], "size=");
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:94: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(&result[idx], tmp, len);
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:248: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(tmp, input, slen);
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:281:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, input, slen);
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:319: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(output, ptr, slen);
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:82: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 prefix[PMIX_MAX_NODE_PREFIX];
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:561:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, input, slen);
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:787:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *str, tmp[132];
data/pmix-3.2.1/src/mca/psec/native/psec_native.c:119:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tmp, &euid, sizeof(uid_t));
data/pmix-3.2.1/src/mca/psec/native/psec_native.c:122:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptr, &egid, sizeof(gid_t));
data/pmix-3.2.1/src/mca/psec/native/psec_native.c:217:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&euid, cred->bytes, sizeof(uid_t));
data/pmix-3.2.1/src/mca/psec/native/psec_native.c:224:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&egid, ptr, sizeof(gid_t));
data/pmix-3.2.1/src/mca/pshmem/mmap/pshmem_mmap.c:57:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (-1 == (sm_seg->seg_id = open(file_name, O_CREAT | O_RDWR, 0600))) {
data/pmix-3.2.1/src/mca/pshmem/mmap/pshmem_mmap.c:140:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (-1 == (sm_seg->seg_id = open(sm_seg->seg_name, mode))) {
data/pmix-3.2.1/src/mca/pshmem/pshmem.h:45: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 seg_name[PMIX_PATH_MAX];
data/pmix-3.2.1/src/mca/psquash/flex128/psquash_flex128.c:57: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(&__tbuf, (ptr), sizeof(type));                   \
data/pmix-3.2.1/src/mca/psquash/flex128/psquash_flex128.c:81: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(&__tbuf, (ptr), sizeof(type));                   \
data/pmix-3.2.1/src/mca/psquash/flex128/psquash_flex128.c:146:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, &__tbuf, sizeof(type));                         \
data/pmix-3.2.1/src/mca/psquash/flex128/psquash_flex128.c:162:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, &__tbuf, sizeof(type));                         \
data/pmix-3.2.1/src/mca/psquash/flex128/psquash_flex128.c:274:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, tmp_buf, *size);
data/pmix-3.2.1/src/mca/psquash/native/psquash_native.c:148:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&tmp, src, val_size);
data/pmix-3.2.1/src/mca/psquash/native/psquash_native.c:154:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, &tmp, val_size);
data/pmix-3.2.1/src/mca/psquash/native/psquash_native.c:178:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&tmp, src, val_size);
data/pmix-3.2.1/src/mca/psquash/native/psquash_native.c:184:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, &tmp, val_size);
data/pmix-3.2.1/src/mca/ptl/base/ptl_base_sendrecv.c:259:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        msg->sdptr = (char *)iov[iov_count-1].iov_base + iov[iov_count-1].iov_len;
data/pmix-3.2.1/src/mca/ptl/ptl_types.h:279: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 nspace[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/src/mca/ptl/ptl_types.h:329:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void)memcpy(&(c)->hdr, &(h), sizeof(pmix_ptl_hdr_t));          \
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:103: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 input[1024];
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:134: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 myhost[PMIX_MAXHOSTNAMELEN] = {0};
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:384:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[512];
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:389:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(tmp, "r");
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:792:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(filename, "r");
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:814:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(filename, "r");
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:929:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        in->sin_port = htons(atoi(p2));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:963:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        in6->sin6_port = htons(atoi(p2));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1143: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(msg, &hdr, sizeof(pmix_ptl_hdr_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1147: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(msg+csize, sec, strlen(sec));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1154: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(msg+csize, &u32, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1158:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(msg+csize, cred.bytes, cred.size);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1165: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(msg+csize, &flag, 1);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1170:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(msg+csize, pmix_globals.myid.nspace, strlen(pmix_globals.myid.nspace));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1174:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(msg+csize, &u32, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1180:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(msg+csize, &u32, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1184:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(msg+csize, &u32, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1190:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(msg+csize, &u32, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1194:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(msg+csize, &u32, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1197:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(msg+csize, pmix_globals.myid.nspace, strlen(pmix_globals.myid.nspace));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1201:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(msg+csize, &u32, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1210: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(msg+csize, PMIX_VERSION, strlen(PMIX_VERSION));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1214: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(msg+csize, bfrops, strlen(bfrops));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1218: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(msg+csize, &bftype, sizeof(bftype));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1222: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(msg+csize, gds, strlen(gds));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1226: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(msg+csize, buf.base_ptr, buf.bytes_used);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:406: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/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:413: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 *prefix, myhost[PMIX_MAXHOSTNAMELEN] = {0};
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:414: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 myconnhost[PMIX_MAXHOSTNAMELEN] = {0};
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:737:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            fp = fopen(mca_ptl_tcp_component.report_uri, "w");
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:771:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(mca_ptl_tcp_component.rendezvous_filename, "w");
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:828:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(mca_ptl_tcp_component.system_filename, "w");
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:892:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(mca_ptl_tcp_component.pid_filename, "w");
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:934:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(mca_ptl_tcp_component.nspace_filename, "w");
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1006: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 if_name[PMIX_IF_NAMESIZE];
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1038: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).
        argv_prefix = atoi(str + 1);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1185:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&len, mg, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1208:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pnd->cred, mg, pnd->len);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1215:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&pnd->flag, mg, 1);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1242:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u32, mg, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1257:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u32, mg, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1268:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u32, mg, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1283:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u32, mg, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1294:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u32, mg, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1313:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u32, mg, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1324:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u32, mg, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1345:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u32, mg, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1356:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u32, mg, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1380:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u32, mg, sizeof(uint32_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1581:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&pnd->proc_type, &proc_type, sizeof(pmix_proc_type_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1681: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(&peer->proc_type, &proc_type, sizeof(pmix_proc_type_t));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1958: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(&peer->proc_type, &pnd->proc_type, sizeof(pmix_proc_type_t));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:339: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(msg, &hdr, sizeof(pmix_usock_hdr_t));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:342: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(msg+csize, pmix_globals.myid.nspace, strlen(pmix_globals.myid.nspace));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:345:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(msg+csize, &pmix_globals.myid.rank, sizeof(int));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:349: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(msg+csize, PMIX_VERSION, strlen(PMIX_VERSION));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:353: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(msg+csize, &cred.size, sizeof(size_t));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:356:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(msg+csize, cred.bytes, cred.size);
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:362: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(msg+csize, sec, strlen(sec));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:366: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(msg+csize, bfrops, strlen(bfrops));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:370: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(msg+csize, &bftype, sizeof(bftype));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:374: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(msg+csize, gds, strlen(gds));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:421:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&rank, ptr, sizeof(int));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:478:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&cred.size, ptr, sizeof(size_t));
data/pmix-3.2.1/src/runtime/pmix_init.c:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hostname[PMIX_MAXHOSTNAMELEN] = {0};
data/pmix-3.2.1/src/server/pmix_server.c:821:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy(&tgs[p], &ncd->targets[n], sizeof(pmix_proc_t));
data/pmix-3.2.1/src/server/pmix_server.c:1397: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 rankstr[128];
data/pmix-3.2.1/src/server/pmix_server.c:1916:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&iof->source, cd->procs, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/server/pmix_server.c:1921:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(iof->bo->bytes, cd->bo->bytes, cd->bo->size);
data/pmix-3.2.1/src/server/pmix_server_get.c:170: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 nspace[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/src/server/pmix_server_ops.c:429: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(trk->pcs, procs, nprocs * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/server/pmix_server_ops.c:928:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&newprocs[n], &procs[idx], sizeof(pmix_proc_t));
data/pmix-3.2.1/src/server/pmix_server_ops.c:933:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&newprocs[n], &gcd->grp->members[gcd->rank], sizeof(pmix_proc_t));
data/pmix-3.2.1/src/server/pmix_server_ops.c:937:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&newprocs[n], gcd->grp->members, gcd->grp->nmbrs * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/server/pmix_server_ops.c:2276:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(affected, info[n].value.data.proc, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/server/pmix_server_ops.c:2285:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(affected, info[n].value.data.darray->array, naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/server/pmix_server_ops.c:2322:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(prev->affected, affected, naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/server/pmix_server_ops.c:2356:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(prev->affected, affected, naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/server/pmix_server_ops.c:2379:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(prev->affected, affected, naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/server/pmix_server_ops.c:3623:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(req->procs, cd->procs, req->nprocs * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/tool/pmix_tool.c:102:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(cd->targets, chain->targets, cd->ntargets * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/tool/pmix_tool.c:111:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(cd->affected, chain->affected, cd->naffected * sizeof(pmix_proc_t));
data/pmix-3.2.1/src/tool/pmix_tool.c:898: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 hostname[PMIX_MAXHOSTNAMELEN] = {0};
data/pmix-3.2.1/src/tool/pmix_tool.c:1493:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(proc, &pmix_globals.myid, sizeof(pmix_proc_t));
data/pmix-3.2.1/src/tools/pmix_info/support.c:1252: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 temp[BUFSIZ];
data/pmix-3.2.1/src/tools/pps/pps.c:706:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char dashes[9] = "--------";
data/pmix-3.2.1/src/util/argv.c:210: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 arg[ARGSIZE];
data/pmix-3.2.1/src/util/cmd_line.c:144:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static void fill(const pmix_cmd_line_option_t *a, char result[3][BUFSIZ]);
data/pmix-3.2.1/src/util/cmd_line.c:536: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 *ret, temp[MAX_WIDTH * 2 - 1], line[MAX_WIDTH * 2];
data/pmix-3.2.1/src/util/cmd_line.c:1087: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 fake_token[3];
data/pmix-3.2.1/src/util/cmd_line.c:1175:16:  [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).
    int ival = atol(sval);
data/pmix-3.2.1/src/util/cmd_line.c:1277:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static void fill(const pmix_cmd_line_option_t *a, char result[3][BUFSIZ])
data/pmix-3.2.1/src/util/cmd_line.c:1303: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 str1[3][BUFSIZ], str2[3][BUFSIZ];
data/pmix-3.2.1/src/util/crc.c:92:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:94:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength),
data/pmix-3.2.1/src/util/crc.c:105:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:112:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src, copylen);
data/pmix-3.2.1/src/util/crc.c:113:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength), copylen);
data/pmix-3.2.1/src/util/crc.c:141:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:143:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength),
data/pmix-3.2.1/src/util/crc.c:165:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:173:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(((char *)&temp + *lastPartialLength), src, copylen);
data/pmix-3.2.1/src/util/crc.c:174:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(dest, ((char *)&temp + *lastPartialLength), copylen);
data/pmix-3.2.1/src/util/crc.c:187:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:197:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:199:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength),
data/pmix-3.2.1/src/util/crc.c:210:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:221:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:229:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src, copylen);
data/pmix-3.2.1/src/util/crc.c:230:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength), copylen);
data/pmix-3.2.1/src/util/crc.c:253:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:255:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength),
data/pmix-3.2.1/src/util/crc.c:275:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:283:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src, copylen);
data/pmix-3.2.1/src/util/crc.c:284:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength), copylen);
data/pmix-3.2.1/src/util/crc.c:298:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:313:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&copytemp, src, copylen);
data/pmix-3.2.1/src/util/crc.c:314:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, &copytemp, copylen);
data/pmix-3.2.1/src/util/crc.c:316:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:328:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&temp, src, copylen);
data/pmix-3.2.1/src/util/crc.c:337:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&copytemp, src, copylen);
data/pmix-3.2.1/src/util/crc.c:338:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, &copytemp, copylen);
data/pmix-3.2.1/src/util/crc.c:340:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:352:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&temp, src, copylen);
data/pmix-3.2.1/src/util/crc.c:354:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(dest, &temp, copylen);
data/pmix-3.2.1/src/util/crc.c:363:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&temp, src, copylen);
data/pmix-3.2.1/src/util/crc.c:364:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(dest, &temp, copylen);
data/pmix-3.2.1/src/util/crc.c:368:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(((char *)&temp + *lastPartialLength), src, (copylen + csumlenresidue));
data/pmix-3.2.1/src/util/crc.c:381:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:406:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&temp, src, csumlenresidue);
data/pmix-3.2.1/src/util/crc.c:440:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:442:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength),
data/pmix-3.2.1/src/util/crc.c:453:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:460:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src, copylen);
data/pmix-3.2.1/src/util/crc.c:461:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength), copylen);
data/pmix-3.2.1/src/util/crc.c:489:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:491:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength),
data/pmix-3.2.1/src/util/crc.c:513:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:521:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src, copylen);
data/pmix-3.2.1/src/util/crc.c:522:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength), copylen);
data/pmix-3.2.1/src/util/crc.c:535:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:545:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:547:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength),
data/pmix-3.2.1/src/util/crc.c:558:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:569:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:577:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src, copylen);
data/pmix-3.2.1/src/util/crc.c:578:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength), copylen);
data/pmix-3.2.1/src/util/crc.c:601:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:603:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength),
data/pmix-3.2.1/src/util/crc.c:623:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:631:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src, copylen);
data/pmix-3.2.1/src/util/crc.c:632:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, ((char *)&temp + *lastPartialLength), copylen);
data/pmix-3.2.1/src/util/crc.c:646:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, &temp, sizeof(temp));
data/pmix-3.2.1/src/util/crc.c:661:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&copytemp, src, copylen);
data/pmix-3.2.1/src/util/crc.c:662:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, &copytemp, copylen);
data/pmix-3.2.1/src/util/crc.c:664:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:676:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&temp, src, copylen);
data/pmix-3.2.1/src/util/crc.c:685:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&copytemp, src, copylen);
data/pmix-3.2.1/src/util/crc.c:686:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest, &copytemp, copylen);
data/pmix-3.2.1/src/util/crc.c:688:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:700:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&temp, src, copylen);
data/pmix-3.2.1/src/util/crc.c:702:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(dest, &temp, copylen);
data/pmix-3.2.1/src/util/crc.c:711:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&temp, src, copylen);
data/pmix-3.2.1/src/util/crc.c:712:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(dest, &temp, copylen);
data/pmix-3.2.1/src/util/crc.c:716:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(((char *)&temp + *lastPartialLength), src, (copylen + csumlenresidue));
data/pmix-3.2.1/src/util/crc.c:731:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:757:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&temp, src, csumlenresidue);
data/pmix-3.2.1/src/util/crc.c:793:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:809:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src, csumlen);
data/pmix-3.2.1/src/util/crc.c:835:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:861:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src, csumlen);
data/pmix-3.2.1/src/util/crc.c:886:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:895:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&temp, src, csumlen);
data/pmix-3.2.1/src/util/crc.c:903:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:912:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&temp, src, csumlen);
data/pmix-3.2.1/src/util/crc.c:943:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:959:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src, csumlen);
data/pmix-3.2.1/src/util/crc.c:985:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:1011:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src, csumlen);
data/pmix-3.2.1/src/util/crc.c:1036:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:1045:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&temp, src, csumlen);
data/pmix-3.2.1/src/util/crc.c:1053:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(((char *)&temp + *lastPartialLength), src,
data/pmix-3.2.1/src/util/crc.c:1062:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&temp, src, csumlen);
data/pmix-3.2.1/src/util/keyval_parse.c:73:29:  [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).
    pmix_util_keyval_yyin = fopen(keyval_filename, "r");
data/pmix-3.2.1/src/util/name_fns.c:49: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 *buffers[PMIX_PRINT_NAME_ARG_NUM_BUFS];
data/pmix-3.2.1/src/util/output.c:128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hostname[PMIX_MAXHOSTNAMELEN] = {0};
data/pmix-3.2.1/src/util/output.c:137:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        default_stderr_fd = atoi(str);
data/pmix-3.2.1/src/util/output.c:259: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 hostname[PMIX_MAXHOSTNAMELEN] = {0};
data/pmix-3.2.1/src/util/output.c:263:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        default_stderr_fd = atoi(str);
data/pmix-3.2.1/src/util/output.c:395:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char out_buf[120];
data/pmix-3.2.1/src/util/output.c:405:19:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            ret = sprintf(out_buf + out_pos, "%06x: ", i);
data/pmix-3.2.1/src/util/output.c:411:23:  [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.
                ret = sprintf(out_buf + out_pos, "%02x ",
data/pmix-3.2.1/src/util/output.c:414:23:  [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.
                ret = sprintf(out_buf + out_pos, "   ");
data/pmix-3.2.1/src/util/output.c:425:23:  [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.
                ret = sprintf(out_buf + out_pos, "%c",
data/pmix-3.2.1/src/util/output.c:702:13:  [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(filename, "output.txt");
data/pmix-3.2.1/src/util/output.c:710:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        info[i].ldi_fd = open(filename, flags, 0644);
data/pmix-3.2.1/src/util/output.c:910:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char buffer[BUFSIZ];
data/pmix-3.2.1/src/util/parse_options.c: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 nstr[32];
data/pmix-3.2.1/src/util/path.c:384: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 cwd[PMIX_PATH_MAX], *pcwd;
data/pmix-3.2.1/src/util/pif.c:93:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(addr, &intf->if_addr, length);
data/pmix-3.2.1/src/util/pif.c:202:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (&ipv4, r->ai_addr, r->ai_addrlen);
data/pmix-3.2.1/src/util/pif.c:259:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&ipv4, r->ai_addr, len);
data/pmix-3.2.1/src/util/pif.c:261:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&intv4, &intf->if_addr, sizeof(struct sockaddr_in));
data/pmix-3.2.1/src/util/pif.c:271:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&ipv6, r->ai_addr, len);
data/pmix-3.2.1/src/util/pif.c:273:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&intv6, &intf->if_addr, sizeof(struct sockaddr_in6));
data/pmix-3.2.1/src/util/pif.c:357:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(if_addr, &intf->if_addr, MIN(length, sizeof (intf->if_addr)));
data/pmix-3.2.1/src/util/pif.c:377:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(if_addr, &intf->if_addr, MIN(length, sizeof (intf->if_addr)));
data/pmix-3.2.1/src/util/pif.c:398:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(if_mask, &intf->if_mask, length);
data/pmix-3.2.1/src/util/pif.c:418:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(mac, &intf->if_mac, 6);
data/pmix-3.2.1/src/util/pif.c:458:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(if_flags, &intf->if_flags, sizeof(uint32_t));
data/pmix-3.2.1/src/util/pif.c:513: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 addrname[NI_MAXHOST]; /* should be larger than ADDRLEN, but I think
data/pmix-3.2.1/src/util/pif.c:691: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 ipv4[INET_ADDRSTRLEN];
data/pmix-3.2.1/src/util/pif.c:693: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 ipv6[INET6_ADDRSTRLEN];
data/pmix-3.2.1/src/util/pmix_pty.c:129: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 line[20];
data/pmix-3.2.1/src/util/pmix_pty.c:166:5:  [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(pts_name, "/dev/ptc");
data/pmix-3.2.1/src/util/pmix_pty.c:168:5:  [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(pts_name, "/dev/ptmx");
data/pmix-3.2.1/src/util/pmix_pty.c:170:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fdm = open(pts_name, O_RDWR);
data/pmix-3.2.1/src/util/pmix_pty.c:192:5:  [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(pts_name, "/dev/ptyXY");
data/pmix-3.2.1/src/util/pmix_pty.c:199:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            fdm = open(pts_name, O_RDWR);
data/pmix-3.2.1/src/util/pmix_pty.c:221:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fds = open(pts_name, O_RDWR);
data/pmix-3.2.1/src/util/pmix_pty.c:253:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fds = open(pts_name, O_RDWR);
data/pmix-3.2.1/src/util/printf.c:216: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 (&ap2, &ap, sizeof(va_list));
data/pmix-3.2.1/src/util/printf.c:275:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, buf, size - 1);
data/pmix-3.2.1/src/util/printf.c:291:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char a[10];
data/pmix-3.2.1/src/util/printf.c:292: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 b[173];
data/pmix-3.2.1/src/util/show_help.c:153:35:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            pmix_show_help_yyin = fopen(filename, "r");
data/pmix-3.2.1/src/util/show_help.c:164:43:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                    pmix_show_help_yyin = fopen(filename, "r");
data/pmix-3.2.1/src/util/timings.c:336:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(fname,"a");
data/pmix-3.2.1/src/util/timings.c:450:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(fname,"a");
data/pmix-3.2.1/src/util/timings.h:42: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 descr[PMIX_TIMING_DESCR_MAX];
data/pmix-3.2.1/test/pmi2_client.c:107: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 jobid[100];
data/pmix-3.2.1/test/pmi2_client.c:115:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int ti = (argc > 1 ? atoi(argv[1]) : 0);
data/pmix-3.2.1/test/pmi2_client.c:119: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).
    _verbose = (str ? atoi(str) : _verbose);
data/pmix-3.2.1/test/pmi2_client.c:252: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[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:289: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[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:324:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:351: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[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:375: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[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:377: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 tkey[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:378: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 tval[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:380: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(tkey, "KEY-%d", rank);
data/pmix-3.2.1/test/pmi2_client.c:381: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(tval, "VALUE-%d", rank);
data/pmix-3.2.1/test/pmi2_client.c:411: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 tkey[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:412: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 tval[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:413: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[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:417:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tkey, "KEY-%d", i);
data/pmix-3.2.1/test/pmi2_client.c:418:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tval, "VALUE-%d", i);
data/pmix-3.2.1/test/pmi2_client.c:433:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tkey, "KEY-%d", i);
data/pmix-3.2.1/test/pmi2_client.c:434:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tval, "VALUE-%d", i);
data/pmix-3.2.1/test/pmi2_client.c:453: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 tkey[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:454: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 tval[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:455: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[PMI2_MAX_VALLEN];
data/pmix-3.2.1/test/pmi2_client.c:459:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tkey, "KEY-%d", i);
data/pmix-3.2.1/test/pmi2_client.c:460:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tval, "VALUE-%d", i);
data/pmix-3.2.1/test/pmi2_client.c:477:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tkey, "KEY-%d", i);
data/pmix-3.2.1/test/pmi2_client.c:478:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tval, "VALUE-%d", i);
data/pmix-3.2.1/test/pmi2_client.c:511: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 key[PMI2_MAX_KEYLEN];
data/pmix-3.2.1/test/pmi2_client.c:512: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 val[PMI2_MAX_VALLEN] = "";
data/pmix-3.2.1/test/pmi2_client.c:513:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(key, "RANK%d-key-%d", rank, i + keys_total);
data/pmix-3.2.1/test/pmi2_client.c:539: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.
                char key[PMI2_MAX_KEYLEN];
data/pmix-3.2.1/test/pmi2_client.c:540: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.
                char val[PMI2_MAX_VALLEN] = "";
data/pmix-3.2.1/test/pmi2_client.c:541:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(key, "RANK%d-key-%d", r, i);
data/pmix-3.2.1/test/pmi_client.c:28: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 jobid[255];
data/pmix-3.2.1/test/pmi_client.c:110:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int ti = (argc > 1 ? atoi(argv[1]) : 0);
data/pmix-3.2.1/test/pmi_client.c:114: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).
    _verbose = (str ? atoi(str) : _verbose);
data/pmix-3.2.1/test/pmi_client.c:373: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[100];
data/pmix-3.2.1/test/pmi_client.c:400: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 tkey[100];
data/pmix-3.2.1/test/pmi_client.c:401: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 tval[100];
data/pmix-3.2.1/test/pmi_client.c:402: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[100];
data/pmix-3.2.1/test/pmi_client.c:408:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tkey, "%d:KEY-%d", rank, i);
data/pmix-3.2.1/test/pmi_client.c:409:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tval, "VALUE-%d", i);
data/pmix-3.2.1/test/pmi_client.c:430:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tkey, "%d:KEY-%d", i, j);
data/pmix-3.2.1/test/pmi_client.c:431:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tval, "VALUE-%d", j);
data/pmix-3.2.1/test/simple/gwclient.c:82:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(seckey, info[n].value.data.bo.bytes, info[n].value.data.bo.size);
data/pmix-3.2.1/test/simple/gwtest.c:556: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 hostname[PMIX_MAXHOSTNAMELEN];
data/pmix-3.2.1/test/simple/pmitest.c:14:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char str[100];
data/pmix-3.2.1/test/simple/pmitest.c:38: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, "PMI_ERR_UNKNOWN: %d", error);
data/pmix-3.2.1/test/simple/pmitest.c:135: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(key, "test_key_%d", rank);
data/pmix-3.2.1/test/simple/pmitest.c:136: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(val, "test_value_%d", rank);
data/pmix-3.2.1/test/simple/pmitest.c:154: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(key, "test_key_%d", (rank + 1) % size);
data/pmix-3.2.1/test/simple/pmitest.c:166:8:  [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(key, "foo");
data/pmix-3.2.1/test/simple/pmitest.c:167:8:  [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(val, "foo=bar baz=bif name=\"Buzz Bee\" clink=~!@#$\\;':<>,. clank=a b c");
data/pmix-3.2.1/test/simple/pmitest.c:189:8:  [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(key, "foo");
data/pmix-3.2.1/test/simple/pmitest.c:227: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(key, "test_key");
data/pmix-3.2.1/test/simple/pmitest.c:228: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(val, "test_val");
data/pmix-3.2.1/test/simple/simpdyn.c:49: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 nsp2[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/test/simple/simpdyn.c:51: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 hostname[PMIX_MAXHOSTNAMELEN];
data/pmix-3.2.1/test/simple/simplegacy.c:43:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char value[1024];
data/pmix-3.2.1/test/simple/simptest.c:727: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 **map[3] = {NULL, NULL, NULL};
data/pmix-3.2.1/test/simple/simptest.c:728: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 *peers[3] = {NULL, NULL, NULL};
data/pmix-3.2.1/test/simple/simptest.c:729:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[50] , **agg = NULL;
data/pmix-3.2.1/test/test_common.c:31: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 output[OUTPUT_MAX];
data/pmix-3.2.1/test/test_common.c:94:36:  [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).
                params->nservers = atoi(argv[i]);
data/pmix-3.2.1/test/test_common.c:106:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                params->timeout = atoi(argv[i]);
data/pmix-3.2.1/test/test_common.c:547:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp_str[32];
data/pmix-3.2.1/test/test_common.c:559:11:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    cnt = atol(tmp_str);
data/pmix-3.2.1/test/test_common.c:574:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            if ((0 == is_digit(tmp_str)) || ((atoi(tmp_str) + 1) > cnt)) {
data/pmix-3.2.1/test/test_common.c:581:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                item->key_idx = atoi(tmp_str);
data/pmix-3.2.1/test/test_common.h:89:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen(fname, "w"); \
data/pmix-3.2.1/test/test_common.h:242: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 key[50];                                                                                                   \
data/pmix-3.2.1/test/test_common.h:255: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 key[50];                                                                                                   \
data/pmix-3.2.1/test/test_fence.c:66:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sval[500];
data/pmix-3.2.1/test/test_fence.c:81: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 tmp[256] = {0};
data/pmix-3.2.1/test/test_fence.c:82:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        len = sprintf(tmp, "fence %d: block = %d de = %d ", fence_num, desc->blocking, desc->data_exchange);
data/pmix-3.2.1/test/test_fence.c:91:24:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                len += sprintf(tmp+len, "all; ");
data/pmix-3.2.1/test/test_fence.c:93:24:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                len += sprintf(tmp+len, "%d,", p->proc.rank);
data/pmix-3.2.1/test/test_fence.c:325: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 sval[50];
data/pmix-3.2.1/test/test_internal.c:33: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 sval[PMIX_MAX_NSLEN];
data/pmix-3.2.1/test/test_internal.c:34:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char key[PMIX_MAX_KEYLEN];
data/pmix-3.2.1/test/test_publish.c: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 data[512];
data/pmix-3.2.1/test/test_publish.c:80:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char data[512];
data/pmix-3.2.1/test/test_publish.c:81:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *keys[2];
data/pmix-3.2.1/test/test_publish.c:128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *keys[2];
data/pmix-3.2.1/test/test_replace.c:44: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 sval[PMIX_MAX_NSLEN];
data/pmix-3.2.1/test/test_resolve_peers.c: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 nspace[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/test/test_server.c:175: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[PMIX_MAXHOSTNAMELEN];
data/pmix-3.2.1/test/test_server.c:251:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (&ns_count, ptr, sizeof(size_t));
data/pmix-3.2.1/test/test_server.c:259:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (&server_id, ptr, sizeof(int));
data/pmix-3.2.1/test/test_server.c:265:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (&ntasks, ptr, sizeof(size_t));
data/pmix-3.2.1/test/test_server.c:268:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (&ltasks, ptr, sizeof(size_t));
data/pmix-3.2.1/test/test_server.c:279:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(ns_item->name, nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_server.c:291:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (&rank, ptr, sizeof(int));
data/pmix-3.2.1/test/test_server.c:323:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, &ns_count, sizeof(size_t));
data/pmix-3.2.1/test/test_server.c:331:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptr, &server_id, sizeof(int));
data/pmix-3.2.1/test/test_server.c:334:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptr, tmp->name, PMIX_MAX_NSLEN+1);
data/pmix-3.2.1/test/test_server.c:337:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptr, &tmp->ntasks, sizeof(size_t));
data/pmix-3.2.1/test/test_server.c:340:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptr, &tmp->ltasks, sizeof(size_t));
data/pmix-3.2.1/test/test_server.c:346:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(ptr, &rank, sizeof(int));
data/pmix-3.2.1/test/test_server.c:594:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(fence_buf + fence_buf_offset, msg_buf, msg_hdr.size);
data/pmix-3.2.1/test/test_server.c:688:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, &sender_id, sizeof(int));
data/pmix-3.2.1/test/test_server.c:691:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, nspace, PMIX_MAX_NSLEN+1);
data/pmix-3.2.1/test/test_server.c:694:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, &rank, sizeof(int));
data/pmix-3.2.1/test/test_server.c:707: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(proc->nspace, ptr, PMIX_MAX_NSLEN +1);
data/pmix-3.2.1/test/test_server.c:1008: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 digit[MAX_DIGIT_LEN];
data/pmix-3.2.1/test/test_server.c:1077:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(digit, "%d", proc.rank);
data/pmix-3.2.1/test/test_server.c:1084:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(digit, "%d", univ_size);
data/pmix-3.2.1/test/test_server.c:1088:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(digit, "%d", num_ns);
data/pmix-3.2.1/test/test_server.c:1092:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(digit, "%d", 0);
data/pmix-3.2.1/test/test_server.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 name[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/test/test_spawn.c:18: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 nspace[PMIX_MAX_NSLEN];
data/pmix-3.2.1/test/test_spawn.c:35:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nspace[PMIX_MAX_NSLEN+1];
data/pmix-3.2.1/test/utils.c:87: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 tmp[32];
data/pmix-3.2.1/contrib/perf_tools/pmi2_utils.c:112:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t input_len = strlen(data) / 4;
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:141:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (0 == strncmp(line, "Pss", strlen("Pss"))) {
data/pmix-3.2.1/contrib/perf_tools/pmi_intra_perf.c:145:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (0 == strncmp(line, "Rss", strlen("Pss"))) {
data/pmix-3.2.1/contrib/perf_tools/pmix.c:238:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info->key, PMIX_COLLECT_DATA, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/contrib/perf_tools/pmix.c:245:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, this_proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/contrib/perf_tools/pmix.c:265:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, this_proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/contrib/perf_tools/pmix.c:301:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, this_proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/examples/alloc.c:228:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(10);
data/pmix-3.2.1/examples/debugger.c:481:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(info[0].key, PMIX_QUERY_PROC_TABLE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/debugger.c:482:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(info[0].qualifier, nspace, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/debuggerd.c:155:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(10);
data/pmix-3.2.1/examples/debuggerd.c:162:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/examples/debuggerd.c:194:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(10);
data/pmix-3.2.1/examples/debuggerd.c:203:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, val->data.string, PMIX_MAX_NSLEN);
data/pmix-3.2.1/examples/debuggerd.c:218:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(1000);
data/pmix-3.2.1/examples/jctrl.c:151:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(info[1].key, PMIX_JOB_CTRL_CHECKPOINT_METHOD, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/pub.c:73:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        (void)strncpy(info[0].key, "FOOBAR", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/pub.c:76:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        (void)strncpy(info[1].key, "PANDA", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/pub.c:98:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        (void)strncpy(pdata[0].key, "FOOBAR", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/pubi.c:68:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        (void)strncpy(info[0].key, "FOOBAR", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/pubi.c:71:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        (void)strncpy(info[1].key, "PANDA", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/pubi.c:86:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        (void)strncpy(pdata[0].key, "FOOBAR", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/pubi.c:87:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        (void)strncpy(pdata[1].key, "PANDA", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:138:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
            usleep(10);                         \
data/pmix-3.2.1/examples/server.c:330:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(proc.nspace, "foobar", PMIX_MAX_NSLEN);
data/pmix-3.2.1/examples/server.c:449:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[i].key, PMIX_UNIV_SIZE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:454:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[i].key, PMIX_SPAWNED, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:459:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[i].key, PMIX_LOCAL_SIZE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:464:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[i].key, PMIX_LOCAL_PEERS, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:470:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[i].key, PMIX_NODE_MAP, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:476:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[i].key, PMIX_PROC_MAP, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:481:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[i].key, PMIX_JOB_SIZE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:561:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->caller.nspace, proc->nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/examples/server.c:565:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(x->info[0].key, "DARTH", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:568:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(x->info[1].key, "VADER", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:625:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(p->pdata.proc.nspace, proc->nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/examples/server.c:627:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(p->pdata.key, info[n].key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:656:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(p2->pdata.proc.nspace, p->pdata.proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/examples/server.c:658:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(p2->pdata.key, p->pdata.key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:671:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(pd[i].proc.nspace, p->pdata.proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/examples/server.c:673:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(pd[i].key, p->pdata.key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:827:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[n].key, queries[n].keys[0], PMIX_MAX_KEYLEN);
data/pmix-3.2.1/examples/server.c:846:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(proc.nspace, "TOOL", PMIX_MAX_NSLEN);
data/pmix-3.2.1/include/pmi2.h:98:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int (*read)( void *buf, int maxlen, void *ctx );
data/pmix-3.2.1/include/pmix_extend.h:132:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define PMIX_VAL_cmp_ptr(_val1, _val2)      strncmp(_val1, _val2, strlen(_val1)+1)
data/pmix-3.2.1/src/client/pmi1.c:170:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((kvsname == NULL) || (strlen(kvsname) > PMI_MAX_KVSNAME_LEN)) {
data/pmix-3.2.1/src/client/pmi1.c:173:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((key == NULL) || (strlen(key) >PMI_MAX_KEY_LEN)) {
data/pmix-3.2.1/src/client/pmi1.c:176: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 ((value == NULL) || (strlen(value) > PMI_MAX_VAL_LEN)) {
data/pmix-3.2.1/src/client/pmi1.c:199:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((kvsname == NULL) || (strlen(kvsname) > PMI_MAX_KVSNAME_LEN)) {
data/pmix-3.2.1/src/client/pmi1.c:221:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((kvsname == NULL) || (strlen(kvsname) > PMI_MAX_KVSNAME_LEN)) {
data/pmix-3.2.1/src/client/pmi1.c:224:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((key == NULL) || (strlen(key) > PMI_MAX_KEY_LEN)) {
data/pmix-3.2.1/src/client/pmi2.c:470:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            *vallen = strlen(val->data.string);
data/pmix-3.2.1/src/client/pmix_client.c:1425:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (NULL == nspace || 0 == strlen(nspace)) {
data/pmix-3.2.1/src/client/pmix_client.c:1577:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (NULL == nspace || 0 == strlen(nspace)) {
data/pmix-3.2.1/src/client/pmix_client_get.c:183:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (NULL == proc || 0 == strlen(proc->nspace)) {
data/pmix-3.2.1/src/common/pmix_iof.c:813:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        cptr[strlen(cptr)-1] = '\0';  /* remove trailing newline */
data/pmix-3.2.1/src/common/pmix_iof.c:850:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    starttaglen = strlen(starttag);
data/pmix-3.2.1/src/common/pmix_iof.c:851: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).
    endtaglen = strlen(endtag);
data/pmix-3.2.1/src/common/pmix_iof.c:868: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).
                for (j=0; j < (int)strlen(qprint) && k < PMIX_IOF_BASE_TAGGED_OUT_MAX; j++) {
data/pmix-3.2.1/src/common/pmix_iof.c:877: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).
                for (j=0; j < (int)strlen(qprint) && k < PMIX_IOF_BASE_TAGGED_OUT_MAX; j++) {
data/pmix-3.2.1/src/common/pmix_iof.c:886: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).
                for (j=0; j < (int)strlen(qprint) && k < PMIX_IOF_BASE_TAGGED_OUT_MAX; j++) {
data/pmix-3.2.1/src/common/pmix_iof.c:896: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).
                for (j=0; j < (int)strlen(qprint) && k < PMIX_IOF_BASE_TAGGED_OUT_MAX; j++) {
data/pmix-3.2.1/src/common/pmix_iof.c:1156:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    numbytes = read(fd, data, sizeof(data));
data/pmix-3.2.1/src/common/pmix_query.c:244: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).
                0 == strlen(proc.nspace)) {
data/pmix-3.2.1/src/common/pmix_query.c:248: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 (0 == strlen(proc.nspace)) {
data/pmix-3.2.1/src/common/pmix_strings.c:257:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        cnt += strlen("STDIN ");
data/pmix-3.2.1/src/common/pmix_strings.c:261:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        cnt += strlen("STDOUT ");
data/pmix-3.2.1/src/common/pmix_strings.c:265:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        cnt += strlen("STDERR ");
data/pmix-3.2.1/src/common/pmix_strings.c:269:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        cnt += strlen("STDDIAG ");
data/pmix-3.2.1/src/event/pmix_event_notification.c:339:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (0 < strlen(chain->results[n].key)) {
data/pmix-3.2.1/src/event/pmix_event_notification.c:354:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (0 < strlen(chain->results[n].key)) {
data/pmix-3.2.1/src/hwloc/hwloc.c:171:55:  [1] (buffer) strlen:
  Does not handle 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(info[n].value.data.string))) {
data/pmix-3.2.1/src/hwloc/hwloc.c:221:55:  [1] (buffer) strlen:
  Does not handle 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(info[n].value.data.string))) {
data/pmix-3.2.1/src/mca/base/pmix_mca_base_cmd_line.c:164:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ('\"' == value[0] && '\"' == value[strlen(value)-1]) {
data/pmix-3.2.1/src/mca/base/pmix_mca_base_cmd_line.c:166: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).
        p1[strlen(p1)-1] = '\0';
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_find.c:363:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (NULL == requested || 0 == strlen (requested)) {
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.c:128: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).
                                        strlen (type), (void **) &component_list);
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.c:138:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                            strlen (type), (void *) component_list);
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.c:291:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                          strlen (framework->framework_name), (void **) framework_components);
data/pmix-3.2.1/src/mca/base/pmix_mca_base_component_repository.c:322:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                         strlen (type), (void **) &component_list);
data/pmix-3.2.1/src/mca/base/pmix_mca_base_open.c:208: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).
    while (NULL != ptr && strlen(ptr) > 0) {
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:184: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).
            len += strlen (names[i]) + 1;
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:198:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
            strncat (name, names[i], len - (size_t)(uintptr_t)(tmp - name));
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:199: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).
            tmp += strlen (names[i]);
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:372: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).
        if (1 == strlen(pmix_mca_base_env_list_sep)) {
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:633:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (NULL == value || 0 == strlen (value)) {
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:684: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 (NULL == src || 0 == strlen (src)) {
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:946:83:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    rc = pmix_hash_table_get_value_ptr (&pmix_mca_base_var_index_hash, full_name, strlen (full_name),
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var.c:1468:91:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        pmix_hash_table_set_value_ptr (&pmix_mca_base_var_index_hash, var->mbv_full_name, strlen (var->mbv_full_name),
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var_group.c:128: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).
                                        strlen (full_name), &tmp);
data/pmix-3.2.1/src/mca/base/pmix_mca_base_var_group.c:293: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).
                                   strlen (group->group_full_name), (void *)(uintptr_t) group_id);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_fns.c:250:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                *sz = strlen(kv->data.string);
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_pack.c:367: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).
            len = (int32_t)strlen(ssrc[i]) + 1;  // retain the NULL terminator
data/pmix-3.2.1/src/mca/bfrops/base/bfrop_base_print.c:826: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).
    t[strlen(t)-1] = '\0';  // remove trailing newline
data/pmix-3.2.1/src/mca/bfrops/v12/bfrop_v12.c:632:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                *sz = strlen(kv->data.string);
data/pmix-3.2.1/src/mca/bfrops/v12/pack.c:348: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).
            len = (int32_t)strlen(ssrc[i]) + 1;
data/pmix-3.2.1/src/mca/bfrops/v12/print.c:672: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).
    t[strlen(t)-1] = '\0';  // remove trailing newline
data/pmix-3.2.1/src/mca/bfrops/v20/bfrop_pmix20.c:624:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                *sz = strlen(kv->data.string);
data/pmix-3.2.1/src/mca/bfrops/v20/pack.c:344:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = (int32_t)strlen(ssrc[i]) + 1;
data/pmix-3.2.1/src/mca/bfrops/v20/print.c:674: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).
    t[strlen(t)-1] = '\0';  // remove trailing newline
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:808:73:  [1] (buffer) strlen:
  Does not handle 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 (0 == (rc = strncmp(cur_elem->ns_map.name, ns_map->name, strlen(ns_map->name)+1))) {
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:1118:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    (unsigned long)(sizeof(size_t) + strlen(key) + 1 + sizeof(size_t) +
data/pmix-3.2.1/src/mca/common/dstore/dstore_base.c:2379: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 ((NULL == ds_ctx->base_path) || (strlen(ds_ctx->base_path) == 0)){
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_file.c:23: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).
    size_t len = strlen((char*)key) + 1 + sizeof(size_t) + size;   \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_file.c:53: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).
    size_t len = strlen((char*)key) + 1;                    \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_file.c:79:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy((char *)addr, key, ESH_KNAME_LEN_V12(key));     \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds12_file.c:141:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ESH_KNAME_PTR_V12(addr), ESH_REGION_INVALIDATED,
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds20_file.c:33:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t kname_len = strlen(key) + 1;                     \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds20_file.c:71:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy((char *)addr + sizeof(size_t),                  \
data/pmix-3.2.1/src/mca/gds/ds12/gds_ds20_file.c:130:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ESH_KNAME_PTR_V20(addr), ESH_REGION_INVALIDATED,
data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c:44:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (strlen(key) + 1)
data/pmix-3.2.1/src/mca/gds/ds21/gds_ds21_file.c:169:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(addr_ch + 2 * sizeof(size_t), key, ESH_KNAME_LEN_V21(key));
data/pmix-3.2.1/src/mca/pcompress/base/base.h:33:98:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (PMIX_STRING == (s)->type && NULL != (s)->data.string && pmix_compress_base.compress_limit < strlen((s)->data.string))
data/pmix-3.2.1/src/mca/pcompress/zlib/compress_zlib.c:66: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).
    inlen = strlen(instring);
data/pmix-3.2.1/src/mca/pcompress/zlib/compress_zlib.c:84:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strm.avail_in = strlen(instring);
data/pmix-3.2.1/src/mca/pcompress/zlib/compress_zlib.c:163:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        "\tFINAL LEN: %lu CODE: %d", strlen(*outstring), rc);
data/pmix-3.2.1/src/mca/pif/linux_ipv6/pif_linux_ipv6.c:95:16:  [1] (buffer) fscanf:
  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.
        while (fscanf(f, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x %x %x %x %x %20s\n",
data/pmix-3.2.1/src/mca/pinstalldirs/base/pinstalldirs_base_expand.c:35:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            end_pos = start_pos + strlen("${" #fieldname "}");                      \
data/pmix-3.2.1/src/mca/pinstalldirs/base/pinstalldirs_base_expand.c:46:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            end_pos = start_pos + strlen("@{" #fieldname "}");                      \
data/pmix-3.2.1/src/mca/pinstalldirs/base/pinstalldirs_base_expand.c:113:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (NULL != destdir && strlen(destdir) > 0) {
data/pmix-3.2.1/src/mca/pinstalldirs/base/pinstalldirs_base_expand.c:114:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            destdir_offset = strlen(destdir);
data/pmix-3.2.1/src/mca/pinstalldirs/base/pinstalldirs_base_expand.c:118:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(input);
data/pmix-3.2.1/src/mca/pinstalldirs/env/pmix_pinstalldirs_env.c:52:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         if (NULL != tmp && 0 == strlen(tmp)) {                           \
data/pmix-3.2.1/src/mca/plog/base/plog_base_select.c:121:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len = strlen(pmix_plog_globals.channels[n]);
data/pmix-3.2.1/src/mca/plog/base/plog_base_select.c:129: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).
                len = len - strlen(ptr);
data/pmix-3.2.1/src/mca/plog/smtp/plog_smtp.c:84:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    count = max = strlen(orig);
data/pmix-3.2.1/src/mca/plog/smtp/plog_smtp.c:136: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).
            *len = strlen(ms->prev_string);
data/pmix-3.2.1/src/mca/plog/smtp/plog_smtp.c:143:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        *len = strlen(ms->prev_string);
data/pmix-3.2.1/src/mca/plog/smtp/plog_smtp.c:150: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).
            *len = strlen(ms->prev_string);
data/pmix-3.2.1/src/mca/plog/stdfd/plog_stdfd.c:109:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            bo.size = strlen(bo.bytes);
data/pmix-3.2.1/src/mca/plog/stdfd/plog_stdfd.c:116:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            bo.size = strlen(bo.bytes);
data/pmix-3.2.1/src/mca/plog/syslog/plog_syslog.c:185: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).
        tod[strlen(tod)] = '\0';
data/pmix-3.2.1/src/mca/preg/base/preg_base_stubs.c:120: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).
    *len = strlen(input)+1;
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:82: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).
    result = calloc(len + strlen(PREG_COMPRESS_PREFIX) + strlen(slen) + strlen(":") + 1, sizeof(char));
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:82:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    result = calloc(len + strlen(PREG_COMPRESS_PREFIX) + strlen(slen) + strlen(":") + 1, sizeof(char));
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:82:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    result = calloc(len + strlen(PREG_COMPRESS_PREFIX) + strlen(slen) + strlen(":") + 1, sizeof(char));
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:85: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).
    idx += strlen("blob:") + 1;  // step over NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:87: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).
    idx += strlen("component=zlib:") + 1;   // step over NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:89: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).
    idx += strlen("size=");
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:91: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).
    idx += strlen(slen);
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:92:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(&result[idx], ":");
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:93: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).
    idx += strlen(":") + 1;    // step over NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:155: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).
    idx = strlen(regexp) + 1;  // step over the NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:158:55:  [1] (buffer) strlen:
  Does not handle 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 (0 != strncmp(&regexp[idx], "component=zlib:", strlen("component=zlib:"))) {
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:161: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).
    idx += strlen("component=zlib:") + 1;  // step over the NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:192: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).
    idx = strlen(regexp) + 1;  // step over the NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:195:55:  [1] (buffer) strlen:
  Does not handle 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 (0 != strncmp(&regexp[idx], "component=zlib:", strlen("component=zlib:"))) {
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:198: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).
    idx += strlen("component=zlib:") + 1;  // step over the NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:230: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).
    idx = strlen(input) + 1;  // step over the NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:233:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (0 != strncmp(&input[idx], "component=zlib:", strlen("component=zlib:"))) {
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:236: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).
    idx += strlen("component=zlib:") + 1;  // step over the NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:239:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    slen = strtoul(&input[idx], NULL, 10) + strlen(PREG_COMPRESS_PREFIX) + strlen(&input[idx]) + 1;
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:239:76:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    slen = strtoul(&input[idx], NULL, 10) + strlen(PREG_COMPRESS_PREFIX) + strlen(&input[idx]) + 1;
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:263: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).
    idx = strlen(input) + 1;  // step over the NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:266:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (0 != strncmp(&input[idx], "component=zlib:", strlen("component=zlib:"))) {
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:269: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).
    idx += strlen("component=zlib:") + 1;  // step over the NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:272:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    slen = strtoul(&input[idx], NULL, 10) + strlen(PREG_COMPRESS_PREFIX) + strlen(&input[idx]) + 1;
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:272:76:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    slen = strtoul(&input[idx], NULL, 10) + strlen(PREG_COMPRESS_PREFIX) + strlen(&input[idx]) + 1;
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:300: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).
    idx = strlen(ptr) + 1;  // step over the NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:303:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (0 != strncmp(&ptr[idx], "component=zlib:", strlen("component=zlib:"))) {
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:306: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).
    idx += strlen("component=zlib:") + 1;  // step over the NULL terminator
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:309:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    slen = strtoul(&ptr[idx], NULL, 10) + strlen(PREG_COMPRESS_PREFIX) + strlen(&ptr[idx]) + 1;
data/pmix-3.2.1/src/mca/preg/compress/preg_compress.c:309:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    slen = strtoul(&ptr[idx], NULL, 10) + strlen(PREG_COMPRESS_PREFIX) + strlen(&ptr[idx]) + 1;
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:103:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    while (NULL != (cptr = strchr(vptr, ',')) || 0 < strlen(vptr)) {
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:109:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen(vptr);
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:154:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            numdigits = (int)strlen(&vptr[startnum]);
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:172:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (0 < strlen(prefix) && NULL == vreg->prefix) {
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:175: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).
            if (0 == strlen(prefix) && NULL != vreg->prefix) {
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:178:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (0 < strlen(prefix) && NULL != vreg->prefix
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:228:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (0 < strlen(prefix)) {
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:291: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).
        tmp[strlen(tmp)-1] = ']';
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:429: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).
        tmp[strlen(tmp)-1] = ';';
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:433: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).
    tmp[strlen(tmp)-1] = ']';
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:436:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(tmp) > strlen(input)) {
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:436:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(tmp) > strlen(input)) {
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:466: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).
    tmp[strlen(tmp)-1] = '\0';
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:507: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).
    tmp[strlen(tmp)-1] = '\0';
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:538: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).
    *len = strlen(input) + 1;
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:552: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).
    slen = strlen(input) + 1;  // retain the NULL terminator
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:579: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).
    buffer->unpack_ptr += strlen(ptr) + 1;
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:615:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen(base);
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:743:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(ranges);
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:797:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(range);
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:798:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    base_len = strlen(base);
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:853:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len += strlen(suffix);
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:869:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for (k=0; k < strlen(tmp); k++) {
data/pmix-3.2.1/src/mca/preg/native/preg_native.c:870:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            str[base_len + num_digits - k - 1] = tmp[strlen(tmp)-k-1];
data/pmix-3.2.1/src/mca/psec/dummy_handshake/psec_dummy_handshake.c:82: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).
    cred->size = strlen(mycred) + 1;
data/pmix-3.2.1/src/mca/psec/dummy_handshake/psec_dummy_handshake.c:97: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).
    size = strlen(hndshk_msg);
data/pmix-3.2.1/src/mca/psec/dummy_handshake/psec_dummy_handshake.c:148:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (size != strlen(PMIX_PSEC_DUMMY_HNDSHK_STR)) {
data/pmix-3.2.1/src/mca/psec/munge/psec_munge.c:144: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).
            cred->size = strlen(mycred) + 1;
data/pmix-3.2.1/src/mca/psec/munge/psec_munge.c:159: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).
            cred->size = strlen(mycred) + 1;
data/pmix-3.2.1/src/mca/ptl/base/ptl_base_sendrecv.c:318:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        rc = read(sd, ptr, *remain);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:107:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       input[strlen(input)-1] = '\0';  /* remove newline */
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:358: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).
    cp += strlen(cp);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:946: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).
        if (']' == p[strlen(p)-1]) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:947:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            p[strlen(p)-1] = '\0';
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1063:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            sdsize += strlen(pmix_globals.myid.nspace) + 1 + sizeof(uint32_t);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1068:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (0 < strlen(pmix_globals.myid.nspace) &&
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1071: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).
                sdsize += strlen(pmix_globals.myid.nspace) + 1 + sizeof(uint32_t);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1082:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        sdsize += strlen(pmix_globals.myid.nspace) + 1 + sizeof(uint32_t);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1092:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            sdsize += strlen(pmix_globals.myid.nspace) + 1 + sizeof(uint32_t);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1093:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        } else if (0 < strlen(pmix_globals.myid.nspace) &&
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1096:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            sdsize += strlen(pmix_globals.myid.nspace) + 1 + sizeof(uint32_t);
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1126: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).
    hdr.nbytes = sdsize + strlen(PMIX_VERSION) + 1 + strlen(sec) + 1 \
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1126:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    hdr.nbytes = sdsize + strlen(PMIX_VERSION) + 1 + strlen(sec) + 1 \
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1127:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                + strlen(bfrops) + 1 + sizeof(bftype) \
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1128:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                + strlen(gds) + 1 + sizeof(uint32_t) + cred.size \
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1147: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).
    memcpy(msg+csize, sec, strlen(sec));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1148:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    csize += strlen(sec)+1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1170:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        memcpy(msg+csize, pmix_globals.myid.nspace, strlen(pmix_globals.myid.nspace));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1171: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).
        csize += strlen(pmix_globals.myid.nspace)+1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1197:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        memcpy(msg+csize, pmix_globals.myid.nspace, strlen(pmix_globals.myid.nspace));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1198: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).
        csize += strlen(pmix_globals.myid.nspace)+1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1210: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).
    memcpy(msg+csize, PMIX_VERSION, strlen(PMIX_VERSION));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1211:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    csize += strlen(PMIX_VERSION)+1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1214:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(msg+csize, bfrops, strlen(bfrops));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1215:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    csize += strlen(bfrops)+1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1222: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).
    memcpy(msg+csize, gds, strlen(gds));
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1223:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    csize += strlen(gds)+1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp.c:1470:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (0 == strncmp(dir_entry->d_name, prefix, strlen(prefix))) {
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1172:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        mg += strlen(sec) + 1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1173:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        cnt -= strlen(sec) + 1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1231:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            mg += strlen(nspace) + 1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1232: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).
            cnt -= strlen(nspace) + 1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1369:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            mg += strlen(nspace) + 1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1370: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).
            cnt -= strlen(nspace) + 1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1402:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        mg += strlen(version) + 1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1403:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        cnt -= strlen(version) + 1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1430:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            mg += strlen(bfrops) + 1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1431: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).
            cnt -= strlen(bfrops) + 1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1457:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            mg += strlen(gds) + 1;
data/pmix-3.2.1/src/mca/ptl/tcp/ptl_tcp_component.c:1458: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).
            cnt -= strlen(gds) + 1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:299:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    sdsize = strlen(pmix_globals.myid.nspace) + 1 + sizeof(int);
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:323: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).
    hdr.nbytes = sdsize + (strlen(PMIX_VERSION) + 1) + \
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:325: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).
                (strlen(sec) + 1) + \
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:326: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).
                (strlen(bfrops) + 1) + sizeof(bftype) + \
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:327: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).
                (strlen(gds) + 1);  // must NULL terminate the strings!
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:342:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(msg+csize, pmix_globals.myid.nspace, strlen(pmix_globals.myid.nspace));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:343:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    csize += strlen(pmix_globals.myid.nspace)+1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:349: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).
    memcpy(msg+csize, PMIX_VERSION, strlen(PMIX_VERSION));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:350:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    csize += strlen(PMIX_VERSION)+1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:362:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(msg+csize, sec, strlen(sec));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:363:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    csize += strlen(sec)+1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:366:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(msg+csize, bfrops, strlen(bfrops));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:367:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    csize += strlen(bfrops)+1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:374: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).
    memcpy(msg+csize, gds, strlen(gds));
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock.c:508:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        rc = read(sd, ptr, *remain);
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:226: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).
    if ((strlen(pmix_pid) + 1) > sizeof(address->sun_path)-1) {
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:409:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ptr += strlen(nspace) + 1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:410:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len -= strlen(nspace) + 1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:435:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ptr += strlen(version) + 1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:436:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len -= strlen(version) + 1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:466:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            cred.size = strlen(ptr);
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:502:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ptr += strlen(sec) + 1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:503:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len -= strlen(sec) + 1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:515:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ptr += strlen(bfrops) + 1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:516:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len -= strlen(bfrops) + 1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:540:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ptr += strlen(gds) + 1;
data/pmix-3.2.1/src/mca/ptl/usock/ptl_usock_component.c:541:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len -= strlen(gds) + 1;
data/pmix-3.2.1/src/server/pmix_server_ops.c:447: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).
        if (0 == strlen(first)) {
data/pmix-3.2.1/src/server/pmix_server_ops.c:2763: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).
            0 == strlen(proc.nspace)) {
data/pmix-3.2.1/src/server/pmix_server_ops.c:2767: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).
            if (0 == strlen(proc.nspace)) {
data/pmix-3.2.1/src/tools/pmix_info/support.c:780:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    quoted_value = calloc(1, strlen(value) + num_quotes + 1);
data/pmix-3.2.1/src/tools/pmix_info/support.c:841:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(v);
data/pmix-3.2.1/src/tools/pmix_info/support.c:849:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (centerpoint > (int)strlen(pretty_message)) {
data/pmix-3.2.1/src/tools/pmix_info/support.c:851:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                             (int)strlen(pretty_message), " ")) {
data/pmix-3.2.1/src/tools/pmix_info/support.c:860: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).
            if (centerpoint < (int)strlen(pretty_message)) {
data/pmix-3.2.1/src/tools/pmix_info/support.c:867:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        max_value_width = screen_width - strlen(spaces) - strlen(pretty_message) - 2;
data/pmix-3.2.1/src/tools/pmix_info/support.c:867:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        max_value_width = screen_width - strlen(spaces) - strlen(pretty_message) - 2;
data/pmix-3.2.1/src/tools/pmix_info/support.c:868:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (0 < strlen(pretty_message)) {
data/pmix-3.2.1/src/tools/pmix_info/support.c:887:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(v) < max_value_width) {
data/pmix-3.2.1/src/tools/pmix_info/support.c:942:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (NULL != plain_message && 0 < strlen(plain_message)) {
data/pmix-3.2.1/src/tools/pps/pps.c:424:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len_name    = (int) strlen("Node Name");
data/pmix-3.2.1/src/tools/pps/pps.c:425:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len_state   = (int) strlen("State");
data/pmix-3.2.1/src/tools/pps/pps.c:426:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len_slots   = (int) strlen("Slots");
data/pmix-3.2.1/src/tools/pps/pps.c:427:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len_slots_i = (int) strlen("Slots In Use");
data/pmix-3.2.1/src/tools/pps/pps.c:428:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len_slots_m = (int) strlen("Slots Max");
data/pmix-3.2.1/src/tools/pps/pps.c:434: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).
            (int)strlen(node->name) > len_name)
data/pmix-3.2.1/src/tools/pps/pps.c:435:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len_name = (int) strlen(node->name);
data/pmix-3.2.1/src/tools/pps/pps.c:437: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).
        if( (int)strlen(pretty_node_state(node->state)) > len_state )
data/pmix-3.2.1/src/tools/pps/pps.c:438:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len_state = (int)strlen(pretty_node_state(node->state));
data/pmix-3.2.1/src/tools/pps/pps.c:505: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).
        len_jobid  = strlen(jobstr);;
data/pmix-3.2.1/src/tools/pps/pps.c:506: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).
        len_state  = (int) (strlen(pmix_job_state_to_str(job->state)) < strlen("State") ?
data/pmix-3.2.1/src/tools/pps/pps.c:506:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len_state  = (int) (strlen(pmix_job_state_to_str(job->state)) < strlen("State") ?
data/pmix-3.2.1/src/tools/pps/pps.c:507: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).
                            strlen("State") :
data/pmix-3.2.1/src/tools/pps/pps.c:508: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).
                            strlen(pmix_job_state_to_str(job->state)));
data/pmix-3.2.1/src/tools/pps/pps.c:510: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).
        len_vpid_r = (int) strlen("Num Procs");
data/pmix-3.2.1/src/tools/pps/pps.c:577: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).
    len_o_proc_name = (int)strlen("PMIX Name");
data/pmix-3.2.1/src/tools/pps/pps.c:578: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).
    len_proc_name   = (int)strlen("Process Name");
data/pmix-3.2.1/src/tools/pps/pps.c:579: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).
    len_rank        = (int)strlen("Local Rank");
data/pmix-3.2.1/src/tools/pps/pps.c:597: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( (int)strlen("pmixrun") > len_proc_name)
data/pmix-3.2.1/src/tools/pps/pps.c:598: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).
                    len_proc_name = strlen("pmixrun");
data/pmix-3.2.1/src/tools/pps/pps.c:601: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( (int)strlen("pmixd") > len_proc_name)
data/pmix-3.2.1/src/tools/pps/pps.c:602: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).
                    len_proc_name = strlen("pmixd");
data/pmix-3.2.1/src/tools/pps/pps.c:608: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( (int)strlen(app->app) > len_proc_name)
data/pmix-3.2.1/src/tools/pps/pps.c:609: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).
                    len_proc_name = strlen(app->app);
data/pmix-3.2.1/src/tools/pps/pps.c:615: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).
        if ((int)strlen(o_proc_name) > len_o_proc_name)
data/pmix-3.2.1/src/tools/pps/pps.c:616:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len_o_proc_name = strlen(o_proc_name);
data/pmix-3.2.1/src/tools/pps/pps.c:619: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).
        if ((int)strlen(rankstr) > len_rank)
data/pmix-3.2.1/src/tools/pps/pps.c:620:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len_rank = strlen(rankstr);
data/pmix-3.2.1/src/tools/pps/pps.c:625: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).
            (int)strlen(nodename[v]) > len_node) {
data/pmix-3.2.1/src/tools/pps/pps.c:626:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len_node = strlen(nodename[v]);
data/pmix-3.2.1/src/tools/pps/pps.c:627:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        } else if ((int)strlen("Unknown") > len_node) {
data/pmix-3.2.1/src/tools/pps/pps.c:628:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len_node = strlen("Unknown");
data/pmix-3.2.1/src/tools/pps/pps.c:631: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).
        if( (int)strlen(pmix_proc_state_to_str(vpid->state)) > len_state)
data/pmix-3.2.1/src/tools/pps/pps.c:632:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len_state = strlen(pmix_proc_state_to_str(vpid->state));
data/pmix-3.2.1/src/util/argv.c:331:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    str_len += strlen(*p) + 1;
data/pmix-3.2.1/src/util/argv.c:387: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).
        str_len += strlen(*p) + 1;
data/pmix-3.2.1/src/util/argv.c:435:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length += strlen(*p) + 1 + sizeof(char *);
data/pmix-3.2.1/src/util/basename.c:72:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (0 == strlen(filename)) {
data/pmix-3.2.1/src/util/basename.c:81:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (i = strlen(tmp) - 1; i > 0; --i) {
data/pmix-3.2.1/src/util/basename.c:94:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ret = pmix_find_last_path_separator( tmp, strlen(tmp) );
data/pmix-3.2.1/src/util/basename.c:111:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const char* p = pmix_find_last_path_separator(filename, strlen(filename));
data/pmix-3.2.1/src/util/cmd_line.c:623:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if (strlen(line) > PARAM_WIDTH) {
data/pmix-3.2.1/src/util/cmd_line.c:637:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    for (i = strlen(line); i < PARAM_WIDTH; ++i) {
data/pmix-3.2.1/src/util/cmd_line.c:657:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                len = strlen(desc);
data/pmix-3.2.1/src/util/cmd_line.c:671:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if (strlen(start) < (MAX_WIDTH - PARAM_WIDTH)) {
data/pmix-3.2.1/src/util/cmd_line.c:1100:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = (int)strlen(token);
data/pmix-3.2.1/src/util/cmd_line.c:1161:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (strlen(option_name) == 1 &&
data/pmix-3.2.1/src/util/cmd_line.c:1213: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).
            for (i=0; i < strlen(sval); i++) {
data/pmix-3.2.1/src/util/cmd_line.c:1239: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).
            for (i=0; i < strlen(sval); i++) {
data/pmix-3.2.1/src/util/context_fns.c:85:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(tmp) == strlen(app->cmd)) {
data/pmix-3.2.1/src/util/context_fns.c:85:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(tmp) == strlen(app->cmd)) {
data/pmix-3.2.1/src/util/fd.c:43:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        rc = read(fd, b, len);
data/pmix-3.2.1/src/util/keyval_parse.c:126: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 (key_buffer_len < strlen(pmix_util_keyval_yytext) + 1) {
data/pmix-3.2.1/src/util/keyval_parse.c:128: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).
        key_buffer_len = strlen(pmix_util_keyval_yytext) + 1;
data/pmix-3.2.1/src/util/keyval_parse.c:188:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (NULL != env_str && 0 < strlen(env_str)) {
data/pmix-3.2.1/src/util/keyval_parse.c:205: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).
    buffer_len = strlen (buffer);
data/pmix-3.2.1/src/util/keyval_parse.c:209:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t prefix_len = strlen (prefix);
data/pmix-3.2.1/src/util/keyval_parse.c:228:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (NULL != suffix && (uintptr_t) (echr - buffer) > strlen (suffix)) {
data/pmix-3.2.1/src/util/keyval_parse.c:229:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t suffix_len = strlen (suffix);
data/pmix-3.2.1/src/util/keyval_parse.c:233: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 (0 == strncmp (echr, suffix, strlen(suffix))) {
data/pmix-3.2.1/src/util/keyval_parse.c:243:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        memmove (buffer, pchr, strlen (pchr) + 1);
data/pmix-3.2.1/src/util/keyval_parse.c:249: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 (key_buffer_len < strlen(pmix_util_keyval_yytext) + 1) {
data/pmix-3.2.1/src/util/keyval_parse.c:251: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).
        key_buffer_len = strlen(pmix_util_keyval_yytext) + 1;
data/pmix-3.2.1/src/util/keyval_parse.c:277: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).
        varsz = strlen(var);
data/pmix-3.2.1/src/util/keyval_parse.c:278:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        valsz = (NULL != val) ? strlen(val) : 0;
data/pmix-3.2.1/src/util/keyval_parse.c:279:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        sz = strlen(env_str)+varsz+valsz+2;
data/pmix-3.2.1/src/util/keyval_parse.c:289:9:  [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(env_str, ";");
data/pmix-3.2.1/src/util/keyval_parse.c:299:9:  [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(env_str, "=");
data/pmix-3.2.1/src/util/os_dirpath.c:88:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    tmp = (char*)malloc(strlen(path) + 1);
data/pmix-3.2.1/src/util/os_dirpath.c:111: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).
            if (path_sep[0] != tmp[strlen(tmp) - 1]) {
data/pmix-3.2.1/src/util/os_path.c:52:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        total_length = total_length + strlen(element);
data/pmix-3.2.1/src/util/os_path.c:61:13:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
            strcpy(path, ".");
data/pmix-3.2.1/src/util/os_path.c:71:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    total_length = total_length + num_elements * strlen(path_sep) + 1;
data/pmix-3.2.1/src/util/os_path.c:87:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy(path, ".");
data/pmix-3.2.1/src/util/output.c:419:19:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
            ret = sprintf(out_buf + out_pos, " ");
data/pmix-3.2.1/src/util/output.c:433:19:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
            ret = sprintf(out_buf + out_pos, "\n");
data/pmix-3.2.1/src/util/output.c:591:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        info[i].ldi_prefix_len = (int)strlen(lds->lds_prefix);
data/pmix-3.2.1/src/util/output.c:599:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        info[i].ldi_suffix_len = (int)strlen(lds->lds_suffix);
data/pmix-3.2.1/src/util/output.c:694:9:  [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(filename, "/");
data/pmix-3.2.1/src/util/output.c:785:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    total_len = len = strlen(*no_newline_string);
data/pmix-3.2.1/src/util/output.c:800: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).
        total_len += strlen(ldi->ldi_prefix);
data/pmix-3.2.1/src/util/output.c:803: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).
        total_len += strlen(ldi->ldi_suffix);
data/pmix-3.2.1/src/util/output.c:882:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (0 > write(fileno(stdout), out, (int)strlen(out))) {
data/pmix-3.2.1/src/util/output.c:893: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).
                          out, (int)strlen(out))) {
data/pmix-3.2.1/src/util/output.c:916:61:  [1] (buffer) strlen:
  Does not handle 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 (0 > write(ldi->ldi_fd, buffer, (int)strlen(buffer))) {
data/pmix-3.2.1/src/util/output.c:927:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if (0 > write(ldi->ldi_fd, out, (int)strlen(out))) {
data/pmix-3.2.1/src/util/path.c:148:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    pfix = (char*) malloc(strlen(env) + strlen(delimit) + 1);
data/pmix-3.2.1/src/util/path.c:148:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    pfix = (char*) malloc(strlen(env) + strlen(delimit) + 1);
data/pmix-3.2.1/src/util/path.c:359: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).
        n = strlen(var);
data/pmix-3.2.1/src/util/path.c:580:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (NULL == last_sep || (1 == strlen(last_sep) &&
data/pmix-3.2.1/src/util/pif.c:661:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for (j=0; j < strlen(nets[i]); j++) {
data/pmix-3.2.1/src/util/pmix_environ.c:186:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(compare);
data/pmix-3.2.1/src/util/pmix_environ.c:241:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(compare);
data/pmix-3.2.1/src/util/pmix_environ.c:303:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen(incvars[j]);
data/pmix-3.2.1/src/util/pmix_environ.c:358:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len = strlen(excvars[j]);
data/pmix-3.2.1/src/util/printf.c:55:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = (int)strlen(fmt) + 128;
data/pmix-3.2.1/src/util/printf.c:56:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (i = 0; i < strlen(fmt); ++i) {
data/pmix-3.2.1/src/util/printf.c:57:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ('%' == fmt[i] && i + 1 < strlen(fmt)
data/pmix-3.2.1/src/util/printf.c:73:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    len += (int)strlen(sarg);
data/pmix-3.2.1/src/util/printf.c:139: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 (i + 1 < strlen(fmt)) {
data/pmix-3.2.1/src/util/printf.c:304:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    printf("strlen = %d\n", (int) strlen(a));
data/pmix-3.2.1/src/util/printf.c:310:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    printf("strlen = %d\n", (int) strlen(b));
data/pmix-3.2.1/src/util/printf.c:316:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    printf("strlen = %d\n", (int) strlen(s));
data/pmix-3.2.1/src/util/show_help.c:91:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = want_error_header ? 2 * strlen(dash_line) : 0;
data/pmix-3.2.1/src/util/show_help.c:97:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len += strlen(lines[i]) + 1;
data/pmix-3.2.1/src/util/show_help.c:118:9:  [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(*outstring, "\n");
data/pmix-3.2.1/src/util/show_help.c:158: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).
                base_len = strlen(base);
data/pmix-3.2.1/src/util/show_help.c:214: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).
            tmp[strlen(tmp) - 1] = '\0';
data/pmix-3.2.1/src/util/timings.c:392: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).
        assert( strlen(line) <= PMIX_TIMING_OUTBUF_SIZE );
data/pmix-3.2.1/src/util/timings.c:395:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if( buf_size + strlen(line) > PMIX_TIMING_OUTBUF_SIZE ){
data/pmix-3.2.1/src/util/timings.c:407:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        buf_size += strlen(line);
data/pmix-3.2.1/src/util/timings.c:559:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        line_size = strlen(line);
data/pmix-3.2.1/src/util/timings.c:566:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if( buf_used + strlen(line) > buf_size ){
data/pmix-3.2.1/test/pmi2_client.c:342:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    log_assert(strlen(tval) == strlen(val), "value does not meet expectation");
data/pmix-3.2.1/test/pmi2_client.c:342:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    log_assert(strlen(tval) == strlen(val), "value does not meet expectation");
data/pmix-3.2.1/test/pmi2_client.c:401:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    log_assert((int)strlen(tval) == len, "value does not meet expectation");
data/pmix-3.2.1/test/pmi2_client.c:442:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        log_assert((int)strlen(tval) == len, "value does not meet expectation");
data/pmix-3.2.1/test/pmi2_client.c:487:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        log_assert((int)strlen(tval) == len, "value does not meet expectation");
data/pmix-3.2.1/test/pmix_client.c:67:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[0].key, PMIX_GDS_MODULE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/pmix_client.c:82:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/server_callbacks.c:176:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(new_info->data.key, info[i].key, strlen(info[i].key)+1);
data/pmix-3.2.1/test/server_callbacks.c:176:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            strncpy(new_info->data.key, info[i].key, strlen(info[i].key)+1);
data/pmix-3.2.1/test/server_callbacks.c:206:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(pdata[i].proc.nspace, tinfo->namespace_published, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/server_callbacks.c:209:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(pdata[i].key, keys[i], PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwclient.c:60:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/gwtest.c:464:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(proc.nspace, "foobar", PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/gwtest.c:567:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[0].key, PMIX_UNIV_SIZE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:571:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[1].key, PMIX_SPAWNED, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:575:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[2].key, PMIX_LOCAL_SIZE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:579:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[3].key, PMIX_LOCAL_PEERS, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:584:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[4].key, PMIX_NODE_MAP, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:589:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[5].key, PMIX_PROC_MAP, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:593:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[6].key, PMIX_JOB_SIZE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:598:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(x->info[7+n].key, PMIX_PROC_DATA, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:691:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->caller.nspace, proc->nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/gwtest.c:695:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(x->info[0].key, "DARTH", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:698:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(x->info[1].key, "VADER", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:760:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(p->pdata.proc.nspace, proc->nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/gwtest.c:762:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(p->pdata.key, info[n].key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:791:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(p2->pdata.proc.nspace, p->pdata.proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/gwtest.c:793:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(p2->pdata.key, p->pdata.key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:806:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(pd[i].proc.nspace, p->pdata.proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/gwtest.c:808:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(pd[i].key, p->pdata.key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:980:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[n].key, queries[n].keys[0], PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/gwtest.c:999:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(proc.nspace, "TOOL", PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/quietclient.c:140:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/quietclient.c:158:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(10);
data/pmix-3.2.1/test/simple/quietclient.c:167:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(10);
data/pmix-3.2.1/test/simple/quietclient.c:171:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/quietclient.c:239:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/quietclient.c:248:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpclient.c:247:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpclient.c:256:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpclient.c:380:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
            usleep(10);
data/pmix-3.2.1/test/simple/simpclient.c:391:17:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
                usleep(10);
data/pmix-3.2.1/test/simple/simpdie.c:101:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpdie.c:119:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpdie.c:133:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
            usleep(500000);
data/pmix-3.2.1/test/simple/simpdmodex.c:45:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
            usleep(10);                         \
data/pmix-3.2.1/test/simple/simpdmodex.c:120:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpdmodex.c:172:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpdyn.c:66:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpdyn.c:79:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpdyn.c:104:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(proc.nspace, nsp2, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpdyn.c:168:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpft.c:87:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpft.c:105:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpjctrl.c:133:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpjctrl.c:137:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simpjctrl.c:154:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(info[1].key, PMIX_JOB_CTRL_CHECKPOINT_METHOD, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simppub.c:58:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simppub.c:71:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simppub.c:81:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        (void)strncpy(info[0].key, "FOOBAR", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simppub.c:84:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        (void)strncpy(info[1].key, "PANDA", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simppub.c:104:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        (void)strncpy(pdata[0].key, "FOOBAR", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:585:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(proc.nspace, "foobar", PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simptest.c:784:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_JOB_INFO_ARRAY, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:845:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(x->info[n].key, PMIX_NODE_INFO_ARRAY, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:861:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(x->info[n].key, PMIX_PROC_DATA, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:867:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[k].key, PMIX_RANK, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:871:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[k].key, PMIX_GLOBAL_RANK, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:875:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[k].key, PMIX_LOCAL_RANK, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:880:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[k].key, PMIX_NODE_RANK, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:885:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[k].key, PMIX_NODEID, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:890:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[k].key, PMIX_HOSTNAME, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:976:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->caller.nspace, proc->nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simptest.c:980:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(x->info[0].key, "DARTH", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:983:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(x->info[1].key, "VADER", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:1057:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(p->pdata.proc.nspace, proc->nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simptest.c:1059:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(p->pdata.key, info[n].key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:1101:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(p2->pdata.proc.nspace, p->pdata.proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simptest.c:1103:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(p2->pdata.key, p->pdata.key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:1116:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(pd[i].proc.nspace, p->pdata.proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simptest.c:1118:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(pd[i].key, p->pdata.key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:1278:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[n].key, queries[n].keys[0], PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/simptest.c:1299:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(proc.nspace, "TOOL", PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simptimeout.c:89:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simptimeout.c:103:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(10);
data/pmix-3.2.1/test/simple/simptimeout.c:107:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simptimeout.c:124:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(proc.nspace, myproc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/simptool.c:105:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(10);
data/pmix-3.2.1/test/simple/stability.c:441:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(proc.nspace, nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/stability.c:586:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(x->info[n].key, PMIX_JOB_INFO_ARRAY, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:590:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(iptr[0].key, PMIX_NODE_MAP, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:593:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(iptr[1].key, PMIX_PROC_MAP, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:598:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(x->info[n].key, PMIX_NODE_MAP, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:604:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(x->info[n].key, PMIX_PROC_MAP, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:643:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_UNIV_SIZE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:648:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_SPAWNED, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:653:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_LOCAL_SIZE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:658:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_LOCAL_PEERS, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:663:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_JOB_SIZE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:668:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_JOBID, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:673:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_NPROC_OFFSET, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:678:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_NODEID, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:683:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_NODE_SIZE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:688:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_NUM_NODES, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:693:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_UNIV_SIZE, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:698:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_MAX_PROCS, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:703:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_JOB_NUM_APPS, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:708:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->info[n].key, PMIX_LOCALLDR, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:715:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(x->info[n].key, PMIX_PROC_DATA, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:721:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[k].key, PMIX_RANK, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:725:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[k].key, PMIX_GLOBAL_RANK, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:729:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[k].key, PMIX_LOCAL_RANK, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:734:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[k].key, PMIX_NODE_RANK, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:739:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[k].key, PMIX_NODEID, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:815:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(x->caller.nspace, proc->nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/stability.c:819:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(x->info[0].key, "DARTH", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:822:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(x->info[1].key, "VADER", PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:879:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(p->pdata.proc.nspace, proc->nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/stability.c:881:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(p->pdata.key, info[n].key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:908:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(p2->pdata.proc.nspace, p->pdata.proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/stability.c:910:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(p2->pdata.key, p->pdata.key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:923:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(pd[i].proc.nspace, p->pdata.proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/simple/stability.c:925:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(pd[i].key, p->pdata.key, PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:1074:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(info[n].key, queries[n].keys[0], PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/simple/stability.c:1091:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy(proc.nspace, "TOOL", PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_cd.c:42:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, my_nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_common.c:568: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).
        if (strlen(pch) > 0) {
data/pmix-3.2.1/test/test_common.c:572:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                snprintf(tmp_str, strlen(pch) + 1, "%s", pch);
data/pmix-3.2.1/test/test_common.c:620:19:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            (void)strncpy((*ranks)[j].nspace, nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_common.c:626:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int ns_id = (int)strtol(nspace + strlen(TEST_NAMESPACE) + 1, NULL, 10);
data/pmix-3.2.1/test/test_common.c:639:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy((*ranks)[j].nspace, nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_common.h:39:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
            usleep(10);             \
data/pmix-3.2.1/test/test_common.h:87: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).
    char *fname = malloc( strlen(prefix) + MAX_DIGIT_LEN + 2 ); \
data/pmix-3.2.1/test/test_common.h:261:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(foobar.nspace, ns, PMIX_MAX_NSLEN); \
data/pmix-3.2.1/test/test_common.h:323:19:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            (void)strncpy(info->key, PMIX_COLLECT_DATA, PMIX_MAX_KEYLEN);       \
data/pmix-3.2.1/test/test_error.c:88:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(source.nspace, my_nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_fence.c:35:57:  [1] (buffer) strlen:
  Does not handle 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 (0 == strncmp(my_nspace, p->proc.nspace, strlen(my_nspace)) &&
data/pmix-3.2.1/test/test_fence.c:86:57:  [1] (buffer) strlen:
  Does not handle 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 (0 == strncmp(my_nspace, p->proc.nspace, strlen(my_nspace)) &&
data/pmix-3.2.1/test/test_fence.c:149:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(pcs[i].nspace, p->proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_fence.c:178:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(prt->proc.nspace, ranks[i].nspace, strlen(ranks[i].nspace)+1);
data/pmix-3.2.1/test/test_fence.c:178:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strncpy(prt->proc.nspace, ranks[i].nspace, strlen(ranks[i].nspace)+1);
data/pmix-3.2.1/test/test_fence.c:247:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, my_nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_fence.c:331:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, my_nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_internal.c:40:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, my_nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_publish.c:42:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                (void)strncpy(tgt[j].proc.nspace, pdata[i].proc.nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_publish.c:102:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void)strncpy(pdata.key, keys[0], PMIX_MAX_KEYLEN);
data/pmix-3.2.1/test/test_publish.c:117:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(data, pdata.value.data.string, strlen(data))) {
data/pmix-3.2.1/test/test_replace.c:65:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy(proc.nspace, my_nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_resolve_peers.c:84:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (0 == strncmp(my_nspace, nspace, strlen(nspace)+1)) {
data/pmix-3.2.1/test/test_resolve_peers.c:91:19:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            (void)strncpy(procs[0].nspace, nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_resolve_peers.c:92:19:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            (void)strncpy(procs[1].nspace, my_nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_resolve_peers.c:94:19:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            (void)strncpy(procs[1].nspace, nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_resolve_peers.c:95:19:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            (void)strncpy(procs[0].nspace, my_nspace, PMIX_MAX_NSLEN);
data/pmix-3.2.1/test/test_server.c:549:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    rc = read(server->rd_fd, &msg_hdr, sizeof(msg_hdr_t));
data/pmix-3.2.1/test/test_server.c:555:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        rc += read(server->rd_fd, msg_buf, msg_hdr.size);
data/pmix-3.2.1/test/test_spawn.c:26:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(cb->nspace, nspace, strlen(nspace)+1);
data/pmix-3.2.1/test/test_spawn.c:26:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strncpy(cb->nspace, nspace, strlen(nspace)+1);
data/pmix-3.2.1/test/test_spawn.c:54:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(nspace, cbdata.nspace, strlen(cbdata.nspace)+1);
data/pmix-3.2.1/test/test_spawn.c:54:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        strncpy(nspace, cbdata.nspace, strlen(cbdata.nspace)+1);
data/pmix-3.2.1/test/test_spawn.c:57:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(nspace, "foobar", strlen(nspace)+1)) {

ANALYSIS SUMMARY:

Hits = 1606
Lines analyzed = 143888 in approximately 3.70 seconds (38837 lines/second)
Physical Source Lines of Code (SLOC) = 97623
Hits@level = [0] 899 [1] 546 [2] 889 [3]  78 [4]  59 [5]  34
Hits@level+ = [0+] 2505 [1+] 1606 [2+] 1060 [3+] 171 [4+]  93 [5+]  34
Hits/KSLOC@level+ = [0+] 25.6599 [1+] 16.451 [2+] 10.8581 [3+] 1.75164 [4+] 0.952644 [5+] 0.348279
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.