[RTEMS Project] #4240: rtems-debugger-target.c: Dereference before null check spotted by Coverity

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


#4240: rtems-debugger-target.c: Dereference before null check 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:"3f4cdd858923fc999ac7d815149af4c62b8e9c6e/rtems"
 3f4cdd8/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="3f4cdd858923fc999ac7d815149af4c62b8e9c6e"
 rtems-debugger-target.c: Fix Dereference before null check (CID #1468682)

 CID 1468682: swbreaks is assigned a value dereferenced from target before
 it has been verified that target is not null.

 Closes #4240.
 }}}

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


More information about the bugs mailing list