HomeFreeBSD

It turns out r344226 narrowed the overrun bug but did not eliminate it entirely

Description

It turns out r344226 narrowed the overrun bug but did not eliminate it entirely

This commit fixes a remaining output buffer overrun in the
single-sector case when there is a non-zero tail.

Reviewed by: allanjude, tsoome
MFC after: 3 months
MFC with: r344226
Differential Revision: https://reviews.freebsd.org/D19220

Details

Committed
pkelseyFeb 17 2019, 5:47 PM
Reviewer
allanjude
Differential Revision
D19220: Still a memory corruption bug in vdev_read in loader ZFS support
Parents
rS344233: Remove a write-only variable orphaned by r340677.
Branches
Unknown
Tags
Unknown