Skip to content

Conversation

@hjelmn
Copy link
Member

@hjelmn hjelmn commented Sep 24, 2015

Fixes CID 1324870: Memory - illegal accesses (USE_AFTER_FREE)

Free osc module after calling destruct on the lock.

Fixes CID 1324868: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
Fixes CID 1324867: Integer handling issues (OVERFLOW_BEFORE_WIDEN)

Explicitly cast to uint64_t to ensure the widen happens before an overflow
can occur.

Signed-off-by: Nathan Hjelm hjelmn@lanl.gov

Fixes CID 1324870: Memory - illegal accesses (USE_AFTER_FREE)

Free osc module after calling destruct on the lock.

Fixes CID 1324868: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
Fixes CID 1324867: Integer handling issues (OVERFLOW_BEFORE_WIDEN)

Explicitly cast to uint64_t to ensure the widen happens before an overflow
can occur.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
hjelmn added a commit that referenced this pull request Sep 25, 2015
osc/sm: fix remaining coverity issues
@hjelmn hjelmn merged commit fdc1ba5 into open-mpi:master Sep 25, 2015
@hjelmn hjelmn deleted the osc_coverity branch August 3, 2016 18:16
jsquyres added a commit to jsquyres/ompi that referenced this pull request Aug 23, 2016
…rbs-usnic-by-default

v2.x: verbs_usnic: do not build by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant