#4142 closed defect (fixed)

Sparse disk destroys data when it grows

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 6.1
Component: lib/block Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

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

Change History (1)

comment:1 Changed on 10/12/20 at 06:23:10 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In b434dc1/rtems:

libblock: Fix sparse disk

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

Close #4142.

Note: See TracTickets for help on using tickets.