summaryrefslogtreecommitdiffstats
path: root/block/bounce.c
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2017-05-03 17:39:09 +0200
committerSteve French <smfrench@gmail.com>2017-05-03 16:54:12 +0200
commit0e5c795592930d51fd30d53a2e7b73cba022a29b (patch)
tree6921ebd2ac89689da36f02e119fad820cb7af9b8 /block/bounce.c
parentSet unicode flag on cifs echo request to avoid Mac error (diff)
downloadlinux-0e5c795592930d51fd30d53a2e7b73cba022a29b.tar.xz
linux-0e5c795592930d51fd30d53a2e7b73cba022a29b.zip
cifs: fix leak in FSCTL_ENUM_SNAPS response handling
The server may respond with success, and an output buffer less than sizeof(struct smb_snapshot_array) in length. Do not leak the output buffer in this case. Fixes: 834170c85978 ("Enable previous version support") Signed-off-by: David Disseldorp <ddiss@suse.de> CC: Stable <stable@vger.kernel.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions