[RTEMS Project] #4241: rtems-debugger-threads.c: Three Dereference before null check errors spotted by Coverity

RTEMS trac trac at rtems.org
Fri Feb 12 23:13:57 UTC 2021


#4241: rtems-debugger-threads.c: Three Dereference before null check errors
spotted by Coverity
--------------------------+--------------------------
 Reporter:  Ryan Long     |       Owner:  Chris Johns
     Type:  defect        |      Status:  closed
 Priority:  normal        |   Milestone:  6.1
Component:  lib/debugger  |     Version:  6
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |  Blocked By:
 Blocking:                |
--------------------------+--------------------------
Changes (by Ryan Long <ryan.long@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"f65d3384dd923c9ead9bcf264592bd879054f6dc/rtems"
 f65d3384/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="f65d3384dd923c9ead9bcf264592bd879054f6dc"
 rtems-debugger-threads.c: Fix three Dereference before null check errors

 CID 1468681: Dereference before null check in
 rtems_debugger_thread_continue().
 CID 1468690: Dereference before null check in
 rtems_debugger_thread_system_resume().
 CID 1468694: Dereference before null check in
 rtems_debugger_thread_find_index().

 Closes #4241.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4241#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list