1
1
openmpi/opal
Nathan Hjelm b038eb6434 btl/openib: more coverity fixes
CID 1301390 Dereference before null check (REVERSE_INULL)

endpoint can not be NULL here. Remove NULL check.

CID 1269836 Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN)
CID 1301388 Bad bit shift operation (BAD_SHIFT)

Add ull to integer constants to ensure the math is done in 64-bits not
32.

CID 715749 Explicit null dereferenced (FORWARD_NULL)

As far as I can tell this parser function does not accept a line that
does match key = value. If that is the case then value should never be
NULL. If it is it is a parse error. Updated the code to reflect
this. Also modified the intify function to do something more sane
(strtol vs atoi with hex detection).

CID 1269820 Dereference null return value (NULL_RETURNS)

This is a false positive as strchr will never return NULL here. It
makes sense, though, to quiet the warning by changing the do {} while
() loop to a while () loop.

CID 1269780 Dereference after null check (FORWARD_NULL)

Just return an error if the endpoint's cpc data is NULL.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-05-28 11:58:17 -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: add copy functions for complex types 2015-05-26 16:59:36 +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 btl/openib: more coverity fixes 2015-05-28 11:58:17 -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