loader: fix memory corruption bug in vdev_read
The bug occurred when a bounce buffer was used and the requested read size was greater than the size of the bounce buffer. This commit also rewrites the read logic so that it is easier to systematically verify all alignment and size cases.
Updated by Electric Monk 10 months ago
- % Done changed from 90 to 100
- Status changed from In Progress to Closed
commit cb09bd3c63580aef9fe1999ae4e48a8a5b9cf55c Author: Toomas Soome <email@example.com> Date: 2019-11-14T18:47:04.000Z 11935 loader: fix memory corruption bug in vdev_read Reviewed by: Matthias Scheler <firstname.lastname@example.org> Reviewed by: Andy Fiddaman <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>