diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-06-22 13:59:55 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-06-23 13:04:36 -0500 |
commit | 1689b0b554defd5a7863bbd434ae911b8869504a (patch) | |
tree | eca597e9d62614365c4bd55c032372d928e709be /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 0555b221528e9cb11f5766dcdee19c809187e42e (diff) |
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 <dan.carpenter@oracle.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions