diff options
author | Paulo Alcantara <pc@cjr.nz> | 2022-10-06 19:04:05 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-10-13 17:36:39 +0300 |
commit | 9ee2afe5207b63b20426ee081f486d831bae871d (patch) | |
tree | 026ea3477fbfa06af3f8136bdb7aecc1f21dfed4 /fs/xfs/xfs_ioctl32.c | |
parent | 69ccafdd35cdffd72504bfed58dcaee5e73a88a7 (diff) | |
download | linux-9ee2afe5207b63b20426ee081f486d831bae871d.tar.xz |
cifs: prevent copying past input buffer boundaries
Prevent copying past @data buffer in smb2_validate_and_copy_iov() as
the output buffer in @iov might be potentially bigger and thus copying
more bytes than requested in @minbufsize.
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/xfs/xfs_ioctl32.c')
0 files changed, 0 insertions, 0 deletions