loader: vdev_read() can corrupt memory
When reading less than sector size but from sector boundary, the vdev_read() will read full sector into the provided buffer and therefore corrupting memory past buffer end.
Tested by user affected by this issue. Also build/install/boot on illumos.
Updated by Electric Monk about 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit cee39f3ff96ecf06e603339642e5393b7c1738e8 Author: Toomas Soome <firstname.lastname@example.org> Date: 2020-05-11T05:07:15.000Z 12710 loader: vdev_read() can corrupt memory Reviewed by: Andrew Stormont <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>