1
1
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
..
2018-10-18 00:29:23 -04:00
2018-12-11 14:23:53 +09:00
2018-12-01 17:14:03 +02:00
2018-10-17 10:29:00 -06:00
2015-06-23 20:59:57 -07:00
2018-09-15 06:04:13 -07:00
2018-11-27 11:07:58 -08:00
2017-07-12 17:31:25 -03:00
2015-06-23 20:59:57 -07:00
2018-09-05 08:42:00 -07:00