[PATCH] cifs: add check for returning value of SMB2_close_init
Paulo Alcantara
pc at cjr.nz
Fri Nov 18 14:51:31 UTC 2022
Anastasia Belova <abelova at astralinux.ru> writes:
> If the returning value of SMB2_close_init is an error-value,
> exit the function.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Fixes: 352d96f3acc6 ("cifs: multichannel: move channel selection above transport layer")
>
> Signed-off-by: Anastasia Belova <abelova at astralinux.ru>
> ---
> fs/cifs/smb2ops.c | 2 ++
> 1 file changed, 2 insertions(+)
Reviewed-by: Paulo Alcantara (SUSE) <pc at cjr.nz>
More information about the samba-technical
mailing list