diff options
author | Christoph Hellwig <hch@lst.de> | 2021-01-11 18:19:26 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-16 04:51:42 +0100 |
commit | a959a9782fa87669feeed095ced5d78181a7c02d (patch) | |
tree | 99f8eb6dede1e8eaf467e4513e22a837ae673995 /lib/crc64.c | |
parent | umount(2): move the flag validity checks first (diff) | |
download | linux-a959a9782fa87669feeed095ced5d78181a7c02d.tar.xz linux-a959a9782fa87669feeed095ced5d78181a7c02d.zip |
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>
Diffstat (limited to 'lib/crc64.c')
0 files changed, 0 insertions, 0 deletions