[RTEMS Project] #4326: objectextendinformation.c: Dereference after null check error spotted by Coverity

RTEMS trac trac at rtems.org
Thu Apr 29 15:27:08 UTC 2021


#4326: objectextendinformation.c: Dereference after null check error spotted by
Coverity
-----------------------+--------------------------------------
 Reporter:  Ryan Long  |       Owner:  Ryan Long <ryan.long@…>
     Type:  defect     |      Status:  closed
 Priority:  normal     |   Milestone:  6.1
Component:  score      |     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:"cdf66529fd2dcbedc27f0ac9ac2f3e4737ea4d0b/rtems"
 cdf66529/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="cdf66529fd2dcbedc27f0ac9ac2f3e4737ea4d0b"
 objectextendinformation.c: Ensure information->object_blocks is not NULL

 CID 26033: Dereference after null check in _Objects_Extend_information().

 Closes #4326
 }}}

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


More information about the bugs mailing list