Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be79af5f authored by Pavel Shilovsky's avatar Pavel Shilovsky Committed by Sasha Levin
Browse files

CIFS: Fix a possible memory corruption in push locks



[ Upstream commit e3d240e9d505fc67f8f8735836df97a794bbd946 ]

If maxBuf is not 0 but less than a size of SMB2 lock structure
we can end up with a memory corruption.

Cc: Stable <stable@vger.kernel.org>
Signed-off-by: default avatarPavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
parent 6ec5ca62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment