Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information