[RTEMS Project] #4142: Sparse disk destroys data when it grows

RTEMS trac trac at rtems.org
Mon Oct 12 06:23:11 UTC 2020


#4142: Sparse disk destroys data when it grows
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:  6.1
Component:  lib/block        |     Version:  4.11
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------
Changes (by Sebastian Huber <sebastian.huber@…>):

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


Comment:

 In [changeset:"b434dc1874b928eb879f77ac0fb2541659cd4d0b/rtems"
 b434dc1/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="b434dc1874b928eb879f77ac0fb2541659cd4d0b"
 libblock: Fix sparse disk

 The qsort() in sparse_disk_get_new_block() may move the appended key
 which invalidates the pointer.

 Close #4142.
 }}}

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


More information about the bugs mailing list