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

RTEMS trac trac at rtems.org
Mon Oct 3 18:14:04 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:"584f5bc9afa6ae293cfed58d02aab4ba3c23caa5/rtems"
 584f5bc9/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="584f5bc9afa6ae293cfed58d02aab4ba3c23caa5"
 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:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list