1
1
openmpi/opal/mca
Mark Allen 30d60994d2 opal_hwloc_base_cset2str() off-by-1 in its strncat()
I think the strncat() calls here need to be of the form
    strncat(str, new_str_to_add, len - strlen(new_str_to_addstr) - 1);
since in the OMPI calls len is being used as total number of bytes
in str.

strncat(dest,src,n) on the other hand is documented as writing up to
n chars from the incoming string plus 1 for the null, for n+1 total
bytes it can write.

Signed-off-by: Mark Allen <markalle@us.ibm.com>
2019-03-11 14:35:53 -04:00
..
allocator mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
backtrace stacktrace: Add flexibility in stacktrace ouptut 2017-01-26 11:55:32 -06:00
base Fix the PML monitoring. 2018-10-18 00:29:23 -04:00
btl btl/uct: fix a typo in configure.m4 2018-12-11 14:23:53 +09:00
common ucx: add owner.txt for components 2018-12-01 17:14:03 +02:00
compress Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
crs remove some dead crs components 2018-10-17 10:29:00 -06:00
dl Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
event event/external: fix version requirement 2018-10-29 10:12:56 +09:00
hwloc opal_hwloc_base_cset2str() off-by-1 in its strncat() 2019-03-11 14:35:53 -04:00
if Merge pull request #5786 from jsquyres/pr/string-madness 2018-10-04 16:12:46 -05:00
installdirs Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
memchecker mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
memcpy Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
memory opal: Disable memory patcher component on MacOS 2018-10-02 13:35:15 -04:00
mpool Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
patcher misc: compiler warning fixes 2018-09-15 06:04:13 -07:00
pmix Implement process set name support 2018-11-27 11:07:58 -08:00
pstat opal: convert from strncpy() -> opal_string_copy() 2018-09-27 11:56:18 -07:00
rcache opal: convert from strncpy() -> opal_string_copy() 2018-09-27 11:56:18 -07:00
reachable opal: convert from strncpy() -> opal_string_copy() 2018-09-27 11:56:18 -07:00
shmem opal: convert from strncpy() -> opal_string_copy() 2018-09-27 11:56:18 -07:00
timer Get x86 TSC frequency from bogomips 2017-07-12 17:31:25 -03:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
mca.h mca/base: enforce max string lengths 2018-09-05 08:42:00 -07:00