Skip to content
Commit b9a74cde authored by Ross Lagerwall's avatar Ross Lagerwall Committed by Steve French
Browse files

cifs: Fix potential OOB access of lock element array



If maxBuf is small but non-zero, it could result in a zero sized lock
element array which we would then try and access OOB.

Signed-off-by: default avatarRoss Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org>
parent 92a8109e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment