1
1
openmpi/opal/mca/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_info: Add ability to report load failures 2017-04-12 16:06:21 -05:00
help-mca-base.txt mca help: fix typo found by user 2017-01-28 09:37:43 -07:00
help-mca-var.txt Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
mca_base_close.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
mca_base_cmd_line.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
mca_base_component_compare.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
mca_base_component_find.c opal: standardize on max hostname length 2016-04-24 08:19:47 +02:00
mca_base_component_repository.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
mca_base_component_repository.h opal_info: Add ability to report load failures 2017-04-12 16:06:21 -05:00
mca_base_components_close.c mca/base: use standard verbosity levels 2015-08-17 11:48:06 -06:00
mca_base_components_open.c mca/base: use standard verbosity levels 2015-08-17 11:48:06 -06:00
mca_base_components_register.c mca/base: use standard verbosity levels 2015-08-17 11:48:06 -06:00
mca_base_components_select.c mca/base: add priority output to mca_base_select 2015-10-19 12:32:41 -06:00
mca_base_framework.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
mca_base_framework.h opal_info: Add ability to report load failures 2017-04-12 16:06:21 -05:00
mca_base_list.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
mca_base_open.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
mca_base_parse_paramfile.c Move the registration of MCA params out of the init of the var system - put them in with the rest of the OPAL MCA param registrations 2016-05-20 09:59:50 -07:00
mca_base_pvar.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
mca_base_pvar.h Added Software-based Performance Counters driver code along with several counters. 2018-06-11 22:48:16 -04:00
mca_base_var_enum.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
mca_base_var_enum.h mca/base: add new base enumerator (auto_bool) 2017-02-14 10:21:45 -07:00
mca_base_var_group.c mca/registry: fix problem group_component_register 2017-08-08 19:50:27 -06:00
mca_base_var_group.h mca/base: plug a memory leak 2017-01-06 13:46:36 +09:00
mca_base_var.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
mca_base_var.h mca/base: add support for additional variable types 2018-03-01 20:42:27 -07:00
mca_base_vari.h scripted symbol name change (ompi_ prefix) 2017-07-11 02:13:23 -04:00