1
1
openmpi/opal/mca/mpool/base
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.h opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
help-mpool-base.txt opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
Makefile.am opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
mpool_base_alloc.c mpool/base: plug a memory leak 2017-12-07 09:06:25 +09:00
mpool_base_default.c Update mca_mpool_base_alloc to use malloc instead of posix_memalign for alignment requests of <= sizeof(void *). This works around issue #4564. 2017-12-05 09:51:31 +11:00
mpool_base_frame.c mpool/base: plug a memory leak on finalize 2017-01-06 11:35:58 +09:00
mpool_base_lookup.c opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
mpool_base_tree.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
mpool_base_tree.h opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
owner.txt add owner files to opa/ompi/orte mca directories 2015-02-22 15:10:23 -07:00