Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iov_iter: fix the uaccess area in copy_compat_iovec_from_user
sizeof needs to be called on the compat pointer, not the native one. Fixes: 89cd35c ("iov_iter: transparently handle compat iovecs in import_iovec") Reported-by: David Laight <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Al Viro <[email protected]>
- Loading branch information