HomeFreeBSD

On error, bread(9) zeroes buffer pointer, do not dereference it.

Description

On error, bread(9) zeroes buffer pointer, do not dereference it.
See r294954 for the bread(9) change and r297401 for similar cd9660 fix.

Reported and tested by: Joshua Kinard <kumba@gentoo.org>
PR: 214705
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS308994: Add key_lft_zone UMA zone to keep PCPU current lifetime counters.
Branches
Unknown
Tags
Unknown