[RTEMS Project] #4252: grtc.c: Dereference before null check error spotted by Coverity

RTEMS trac trac at rtems.org
Fri Feb 19 20:06:20 UTC 2021


#4252: grtc.c: Dereference before null check error spotted by Coverity
-----------------------+--------------------------------------
 Reporter:  Ryan Long  |       Owner:  Ryan Long <ryan.long@…>
     Type:  defect     |      Status:  closed
 Priority:  normal     |   Milestone:  6.1
Component:  bsps       |     Version:  6
 Severity:  normal     |  Resolution:  fixed
 Keywords:             |  Blocked By:
 Blocking:             |
-----------------------+--------------------------------------
Changes (by Ryan Long <ryan.long@…>):

 * owner:  (none) => Ryan Long <ryan.long@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"1fd56a96fcfb90ceae5eff2598a5ca375ff85109/rtems"
 1fd56a96/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="1fd56a96fcfb90ceae5eff2598a5ca375ff85109"
 grtc.c: Fix Dereference before null check (CID #1399840)

 CID 1399840: Dereference before null check in grtc_ioctl().

 Closes #4252
 }}}

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


More information about the bugs mailing list