[PATCH 0/2] Fix Dereference after null check Coverity issues

Ryan Long ryan.long at oarcorp.com
Fri Mar 12 14:55:31 UTC 2021


Hi,

For these issues, I needed to make sure that a value that could be NULL
would not be dereferenced. For objectextendinformation.c, an assert was
added, and in main_rtrace.c a return was added to the check.

Thanks,
Ryan

Ryan Long (2):
  objectextendinformation.c: Fix Dereference after null check (CID
    #26033)
  main_rtrace.c: Fix Dereference after null check (CID #1399709)

 cpukit/libmisc/shell/main_rtrace.c         |  1 +
 cpukit/score/src/objectextendinformation.c | 11 +++++++++++
 2 files changed, 12 insertions(+)

-- 
1.8.3.1



More information about the devel mailing list