1
1
openmpi/opal
Nathan Hjelm f72b6d45c7 crs/none: fix coverity issues
CID 1301389 Resource leak (RESOURCE_LEAK)

There is no conceivable reason to strdup cr_argv[0] in either
location. Removed the calls to strdup.

CID 741357 Resource leak (RESOURCE_LEAK)

cr_argv was created by opal_argv_split (tmp_argv[0], ' '). Why should
we call opal_argv_join (' ') on this array. Leak fixed by printing out
tmp_argv[0] instead of calling opal_argv_join.

CID 741358 Resource leak (RESOURCE_LEAK)

The code does not handle exec failure correctly. The error should be
communicated to the parent process but the function in question is
only called by the parent. This calls into question some of the
structure of the function in general (like what is the point of
returning the child process id). That said, I will go ahead and add
the opal_argv_free to quiet this error.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-06-01 16:00:51 -06:00
..
asm Per-RFC: remove the --disable-smp-locks configure option 2015-03-04 11:31:43 -07:00
class Consolidate all the QOS changes into one clean commit 2015-05-06 19:48:42 -07:00
datatype opal/ddt: fix opal_dt_swap_bytes 2015-05-28 16:00:03 +09:00
dss opal/dss: silence coverity issues 2015-05-28 08:38:09 -06:00
etc Backing out the Open SHMEM project 2013-02-12 17:45:27 +00:00
include Merge pull request #379 from hjelmn/remove_enable_smp_locks 2015-04-15 10:02:23 -06:00
mca crs/none: fix coverity issues 2015-06-01 16:00:51 -06:00
memoryhooks configury: new OPAL_SET_LIB_PREFIX/ORTE_SET_LIB_PREFIX macros 2014-10-22 10:32:19 -07:00
runtime Fix cuda support MCA variables 2015-05-12 09:52:51 -06:00
threads cleanup dead code caused by the removal of the --with-threads configure option 2015-01-16 19:13:59 +09:00
tools wrappers: *_EXTRA_INCLUDES does not exist any more 2015-02-20 08:43:25 -08:00
util opal/sys_limits: fix coverity issue 2015-05-28 08:38:10 -06:00
win32 windows: effectively revert r32449 2014-08-08 11:36:45 +00:00
Makefile.am Modify destructor function configury 2015-04-20 09:51:06 -06:00
win_makefile George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00