1
1
openmpi/opal/mca/btl
Brian Barrett e9e4d2a4bc Handle asprintf errors with opal_asprintf wrapper
The Open MPI code base assumed that asprintf always behaved like
the FreeBSD variant, where ptr is set to NULL on error.  However,
the C standard (and Linux) only guarantee that the return code will
be -1 on error and leave ptr undefined.  Rather than fix all the
usage in the code, we use opal_asprintf() wrapper instead, which
guarantees the BSD-like behavior of ptr always being set to NULL.
In addition to being correct, this will fix many, many warnings
in the Open MPI code base.

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2018-10-08 16:43:53 -07:00
..
base Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
ofi Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
openib Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
portals4 opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
self mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
sm btl/sm: fix CID 1415105 2018-03-26 14:21:21 -07:00
smcuda Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
tcp Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
template mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
uct Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
ugni Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
usnic Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
vader Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
btl.h btl/vader: add support for atomics and emulated rdma 2018-07-02 13:57:11 -06:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00