Skip to content
Commit 88e07de2 authored by Markus Elfring's avatar Markus Elfring Committed by Greg Kroah-Hartman
Browse files

smb3: Improve exception handling in allocate_mr_list()



[ Upstream commit 96d566b6 ]

The kfree() function was called in one case by
the allocate_mr_list() function during error handling
even if the passed variable contained a null pointer.
This issue was detected by using the Coccinelle software.

Thus use another label.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d53fcb48
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