diff options
| author | ChenXiaoSong <[email protected]> | 2024-08-22 08:20:51 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2024-08-22 09:52:00 -0500 |
| commit | 4e8771a3666c8f216eefd6bd2fd50121c6c437db (patch) | |
| tree | 2109f0f7167fdb75f395bb79dfb2bf347df9d918 /tools/perf/scripts/python/Perf-Trace-Util/Build | |
| parent | 2186a116538a715b20e15f84fdd3545e5fe0a39b (diff) | |
smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()
null-ptr-deref will occur when (req_op_level == SMB2_OPLOCK_LEVEL_LEASE)
and parse_lease_state() return NULL.
Fix this by check if 'lease_ctx_info' is NULL.
Additionally, remove the redundant parentheses in
parse_durable_handle_context().
Signed-off-by: ChenXiaoSong <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Build')
0 files changed, 0 insertions, 0 deletions