1
1
openmpi/opal/mca/rcache/udreg
Jeff Squyres 28e51ad4d4 opal: convert from strncpy() -> opal_string_copy()
In many cases, this was a simple string replace.  In a few places, it
entailed:

1. Updating some comments and removing now-redundant foo[size-1]='\0'
   statements.
2. Updating passing (size-1) to (size) (because opal_string_copy()
   wants the entire destination buffer length).

This commit actually fixes a bunch of potential (yet quite unlikely)
bugs where we could have ended up with non-null-terminated strings.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2018-09-27 11:56:18 -07:00
..
configure.m4 opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
Makefile.am mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
owner.txt opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
rcache_udreg_component.c opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
rcache_udreg_module.c opal: convert from strncpy() -> opal_string_copy() 2018-09-27 11:56:18 -07:00
rcache_udreg.h opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00