[RTEMS Project] #4462: CID 1437638: Logically dead code

RTEMS trac trac at rtems.org
Mon Oct 3 18:13:45 UTC 2022


#4462: CID 1437638: Logically dead code
-----------------------------+---------------------------
 Reporter:  Harrison Gerber  |       Owner:  Gedare Bloom
     Type:  defect           |      Status:  assigned
 Priority:  normal           |   Milestone:  6.1
Component:  admin            |     Version:  6
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+---------------------------

Comment (by Kinsey Moore <kinsey.moore@…>):

 In [changeset:"cab00c703525648cb8cd77c0b29aaf80d3f56276/rtems"
 cab00c70/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="cab00c703525648cb8cd77c0b29aaf80d3f56276"
 cpukit/fdt: Check correct allocation

 The second allocation check was mistakenly rechecking the first
 allocation. It now checks the correct allocation and ensures that names
 is not NULL.

 Updates #4462
 }}}

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


More information about the bugs mailing list