HomeFreeBSD

loader: vdev_read() can corrupt memory

Description

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.

MFC after: 2 days

Details

Provenance
tsoomeAuthored on
Parents
rS360835: MFC of 356666
Branches
Unknown
Tags
Unknown