summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorFabio Scaccabarozzi <[email protected]>2020-04-01 18:48:54 +0200
committerGitHub <[email protected]>2020-04-01 09:48:54 -0700
commitc9e3efdb3a6111b9795becc6594b3c52ba004522 (patch)
tree2f30f12152f56253f8299d911eab3d7536cd2038 /configure.ac
parent0929c4de398606f8305057ca540cf577e6771c30 (diff)
Bugfix/fix uio partial copies
In zfs_write(), the loop continues to the next iteration without accounting for partial copies occurring in uiomove_iov when copy_from_user/__copy_from_user_inatomic return a non-zero status. This results in "zfs: accessing past end of object..." in the kernel log, and the write failing. Account for partial copies and update uio struct before returning EFAULT, leave a comment explaining the reason why this is done. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: ilbsmart <[email protected]> Signed-off-by: Fabio Scaccabarozzi <[email protected]> Closes #8673 Closes #10148
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions