diff options
| author | Dan Carpenter <[email protected]> | 2021-06-22 10:59:55 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-06-23 18:04:36 +0000 |
| commit | 1689b0b554defd5a7863bbd434ae911b8869504a (patch) | |
| tree | eca597e9d62614365c4bd55c032372d928e709be /net/switchdev/switchdev.c | |
| parent | smbdirect: missing rc checks while waiting for rdma events (diff) | |
| download | kernel-1689b0b554defd5a7863bbd434ae911b8869504a.tar.gz kernel-1689b0b554defd5a7863bbd434ae911b8869504a.zip | |
cifs: fix NULL dereference in smb2_check_message()
This code sets "ses" to NULL which will lead to a NULL dereference on
the second iteration through the loop.
Fixes: 85346c17e425 ("cifs: convert list_for_each to entry variant in smb2misc.c")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Aurelien Aptel <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
