54ca3310ea
Several fixes to string handling: 1. strncpy() -> opal_string_copy() (because opal_string_copy() guarantees to NULL-terminate, and strncpy() does not) 2. Simplify a few places, such as: * Since opal_string_copy() guarantees to NULL terminate, eliminate some memsets(), etc. * Use opal_asprintf() to eliminate multi-step string creation There's more work that could be done; e.g., this commit doesn't attempt to clean up any strcpy() usage. Signed-off-by: Jeff Squyres <jsquyres@cisco.com> |
||
---|---|---|
.. | ||
Makefile.am | ||
ompi_datatype_args.c | ||
ompi_datatype_create_contiguous.c | ||
ompi_datatype_create_darray.c | ||
ompi_datatype_create_indexed.c | ||
ompi_datatype_create_struct.c | ||
ompi_datatype_create_subarray.c | ||
ompi_datatype_create_vector.c | ||
ompi_datatype_create.c | ||
ompi_datatype_external32.c | ||
ompi_datatype_external.c | ||
ompi_datatype_get_elements.c | ||
ompi_datatype_internal.h | ||
ompi_datatype_match_size.c | ||
ompi_datatype_module.c | ||
ompi_datatype_sndrcv.c | ||
ompi_datatype.h |