Page MenuHomeFreeBSD

Still a memory corruption bug in vdev_read in loader ZFS support
ClosedPublic

Authored by pkelsey on Feb 17 2019, 4:16 AM.

Details

Summary

D19140 didn't quite expunge the memory corruption bug in vdev_read() in zfs.c. In that fix, the single-sector case with non-zero tail would overrun the output buffer by the tail size.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pkelsey created this revision.Feb 17 2019, 4:16 AM
tsoome accepted this revision.Feb 17 2019, 7:02 AM
This revision is now accepted and ready to land.Feb 17 2019, 7:02 AM
pkelsey retitled this revision from Still a memory corruption bug in vdev_readin loader ZFS support to Still a memory corruption bug in vdev_read in loader ZFS support.Feb 17 2019, 4:27 PM
allanjude accepted this revision.Feb 17 2019, 5:32 PM
This revision was automatically updated to reflect the committed changes.