aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPaulo Alcantara <[email protected]>2022-10-06 13:04:05 -0300
committerSteve French <[email protected]>2022-10-13 09:36:39 -0500
commit9ee2afe5207b63b20426ee081f486d831bae871d (patch)
tree026ea3477fbfa06af3f8136bdb7aecc1f21dfed4 /lib/test_fortify/write_overflow-strncpy-src.c
parent69ccafdd35cdffd72504bfed58dcaee5e73a88a7 (diff)
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) <[email protected]> Reviewed-by: Ronnie Sahlberg <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions