diff options
author | Ayush Sawal <ayush.sawal@chelsio.com> | 2021-01-06 07:29:11 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-08 04:06:02 +0300 |
commit | eade1e0a4fb31d48eeb1589d9bb859ae4dd6181d (patch) | |
tree | 93b01c5cf2261ebe22f652ae2e554b0e9afb6c5c /scripts/gdb/linux/utils.py | |
parent | a84b2c0d5fa23da6d6c8c0d5f5c93184a2744d3e (diff) | |
download | linux-eade1e0a4fb31d48eeb1589d9bb859ae4dd6181d.tar.xz |
chtls: Added a check to avoid NULL pointer dereference
In case of server removal lookup_stid() may return NULL pointer, which
is used as listen_ctx. So added a check before accessing this pointer.
Fixes: cc35c88ae4db ("crypto : chtls - CPL handler definition")
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions