HomeFreeBSD

fusefs: fix corruption on short reads caused by r349279

Description

fusefs: fix corruption on short reads caused by r349279

Even if a short read is caused by EOF, it's still necessary to bzero the
remaining buffer, because that buffer could become valid as a result of a
future ftruncate or pwrite operation.

Reported by: fsx
Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on
Parents
rS349281: Fix individual_element_index when some type has 0 elements.
Branches
Unknown
Tags
Unknown