diff options
author | David Disseldorp <ddiss@suse.de> | 2017-05-03 18:39:09 +0300 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-05-03 17:54:12 +0300 |
commit | 0e5c795592930d51fd30d53a2e7b73cba022a29b (patch) | |
tree | 6921ebd2ac89689da36f02e119fad820cb7af9b8 /samples | |
parent | 26c9cb668c7fbf9830516b75d8bee70b699ed449 (diff) | |
download | linux-0e5c795592930d51fd30d53a2e7b73cba022a29b.tar.xz |
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 'samples')
0 files changed, 0 insertions, 0 deletions