linux/fs/smb
Steve French 45be0882c5 smb3: add missing null server pointer check
Address static checker warning in cifs_ses_get_chan_index():
    warn: variable dereferenced before check 'server'
To be consistent, and reduce risk, we should add another check
for null server pointer.

Fixes: 88675b22d3 ("cifs: do not search for channel if server is terminating")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2024-02-08 10:50:40 -06:00
..
client smb3: add missing null server pointer check 2024-02-08 10:50:40 -06:00
common ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE 2023-12-08 10:11:33 -06:00
server ksmbd: fix global oob in ksmbd_nl_policy 2024-01-25 00:16:54 -06:00
Kconfig
Makefile