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 Jun 21 2019, 11:29 PM
Parents
rGaef22f2d75ca: fusefs: correctly handle short reads
Branches
Unknown
Tags
Unknown

Event Timeline