linux/fs/cifs
Anastasia Belova 5fc19c8313 cifs: add check for returning value of SMB2_set_info_init
[ Upstream commit a51e5d293d ]

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: 0967e54579 ("cifs: use a compound for setting an xattr")

Signed-off-by: Anastasia Belova <abelova@astralinux.ru>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-25 17:45:48 +01:00
..
asn1.c
cache.c
cifs_debug.c
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_unicode.c
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c cifs: Fix xid leak in cifs_copy_file_range() 2022-10-30 09:41:16 +01:00
cifsfs.h
cifsglob.h
cifspdu.h
cifsproto.h cifs: use discard iterator to discard unneeded network data more efficiently 2022-09-28 11:10:38 +02:00
cifsroot.c
cifssmb.c cifs: use discard iterator to discard unneeded network data more efficiently 2022-09-28 11:10:38 +02:00
connect.c cifs: always initialize struct msghdr smb_msg completely 2022-09-28 11:10:39 +02:00
dfs_cache.c
dfs_cache.h
dir.c
dns_resolve.c
dns_resolve.h
export.c
file.c cifs: Fix xid leak in cifs_flock() 2022-10-30 09:41:16 +01:00
fs_context.c
fs_context.h
fscache.c
fscache.h
inode.c
ioctl.c cifs: Fix wrong return value checking when GETFLAGS 2022-11-25 17:45:48 +01:00
Kconfig
link.c
Makefile
misc.c
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c cifs: Fix xid leak in cifs_ses_add_channel() 2022-10-30 09:41:17 +01:00
smb1ops.c
smb2file.c
smb2glob.h
smb2inode.c
smb2maperror.c
smb2misc.c
smb2ops.c cifs: add check for returning value of SMB2_set_info_init 2022-11-25 17:45:48 +01:00
smb2pdu.c smb3: must initialize two ACL struct fields to zero 2022-10-26 13:25:17 +02:00
smb2pdu.h
smb2proto.h
smb2status.h
smb2transport.c
smbdirect.c
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h
trace.c
trace.h
transport.c cifs: always initialize struct msghdr smb_msg completely 2022-09-28 11:10:39 +02:00
winucase.c
xattr.c