diff options
author | 2022-10-06 13:04:05 -0300 | |
---|---|---|
committer | 2022-10-13 09:36:39 -0500 | |
commit | 9ee2afe5207b63b20426ee081f486d831bae871d (patch) | |
tree | 026ea3477fbfa06af3f8136bdb7aecc1f21dfed4 /scripts/generate_rust_analyzer.py | |
parent | cifs: fix uninitialised var in smb2_compound_op() (diff) | |
download | wireguard-linux-9ee2afe5207b63b20426ee081f486d831bae871d.tar.xz wireguard-linux-9ee2afe5207b63b20426ee081f486d831bae871d.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions