[RTEMS Project] #4350: Infinite loop in rtems-fdt.c

RTEMS trac trac at rtems.org
Sun Mar 21 11:40:25 UTC 2021

#4350: Infinite loop in rtems-fdt.c
 Reporter:  niteesh  |       Owner:  niteesh
     Type:  defect   |      Status:  closed
 Priority:  normal   |   Milestone:
Component:  lib      |     Version:  5
 Severity:  normal   |  Resolution:  fixed
 Keywords:           |  Blocked By:
 Blocking:           |
Changes (by G S Niteesh Babu <niteesh.gs@…>):

 * status:  accepted => closed
 * resolution:   => fixed


 In [changeset:"08f807e64a2bf34a716a27cdfde022664979b46a/rtems"
 #!CommitTicketReference repository="rtems"
 rtems-fdt/rtems-fdt.c: Fix bug in loop termination

 The while loop, loops infinitely in case of raw FDT data.
 The loop condition (size) is not modified during iterations.

 Fixes #4350

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

More information about the bugs mailing list