Re: [PATCH] ksmbd: Fix an error handling path in 'smb2_sess_setup()'

From: Namjae Jeon
Date: Sun Nov 07 2021 - 15:33:40 EST


2021-11-08 0:22 GMT+09:00, Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>:
> All the error handling paths of 'smb2_sess_setup()' end to 'out_err'.
>
> All but the new error handling path added by the commit given in the Fixes
> tag below.
>
> Fix this error handling path and branch to 'out_err' as well.
>
> Fixes: 0d994cd482ee ("ksmbd: add buffer validation in session setup")
Cc: stable@xxxxxxxxxxxxxxx # v5.15
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx>

Thanks!