This repository has been archived by the owner on Sep 24, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 834170c ("Enable previous version support") Signed-off-by: David Disseldorp <[email protected]> CC: Stable <[email protected]> Signed-off-by: Steve French <[email protected]>
- Loading branch information