[PATCH] cifs: add check for returning value of SMB2_set_info_init
Paulo Alcantara
pc at cjr.nz
Fri Nov 18 14:51:15 UTC 2022
Anastasia Belova <abelova at astralinux.ru> 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 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