Re: [PATCH] cifs: add check for returning value of SMB2_set_info_init
From: Paulo Alcantara
Date: Fri Nov 18 2022 - 09:50:08 EST
Anastasia Belova <abelova@xxxxxxxxxxxxx> writes:
> If the returning value of SMB2_set_info_init is an error-value,
> exit the function.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Fixes: 0967e5457954 ("cifs: use a compound for setting an xattr")
>
> Signed-off-by: Anastasia Belova <abelova@xxxxxxxxxxxxx>
> ---
> fs/cifs/smb2ops.c | 2 ++
> 1 file changed, 2 insertions(+)
Reviewed-by: Paulo Alcantara (SUSE) <pc@xxxxxx>