commit | a959a9782fa87669feeed095ced5d78181a7c02d | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Jan 11 18:19:26 2021 +0100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Jan 15 22:51:42 2021 -0500 |
tree | 99f8eb6dede1e8eaf467e4513e22a837ae673995 | |
parent | a0a6df9afcaf439a6b4c88a3b522e3d05fdef46f [diff] |
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: 89cd35c58bc2 ("iov_iter: transparently handle compat iovecs in import_iovec") Reported-by: David Laight <David.Laight@ACULAB.COM> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>