diff options
| author | Christoph Hellwig <[email protected]> | 2021-01-11 17:19:26 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2021-01-16 03:51:42 +0000 |
| commit | a959a9782fa87669feeed095ced5d78181a7c02d (patch) | |
| tree | 99f8eb6dede1e8eaf467e4513e22a837ae673995 /net/unix/af_unix.c | |
| parent | umount(2): move the flag validity checks first (diff) | |
| download | kernel-a959a9782fa87669feeed095ced5d78181a7c02d.tar.gz kernel-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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
