diff options
author | Haoxiang Li <haoxiang_li2024@163.com> | 2025-02-17 10:20:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-27 15:34:21 +0300 |
commit | 554736b583f529ee159aa95af9a0cbc12b5ffc96 (patch) | |
tree | b3221330b262dc39a851155909e64ac485fca6d2 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 37dda79899975cf8c62ab8f03625ed51a72e1c6b (diff) | |
download | linux-554736b583f529ee159aa95af9a0cbc12b5ffc96.tar.xz |
smb: client: Add check for next_buffer in receive_encrypted_standard()
commit 860ca5e50f73c2a1cef7eefc9d39d04e275417f7 upstream.
Add check for the return value of cifs_buf_get() and cifs_small_buf_get()
in receive_encrypted_standard() to prevent null pointer dereference.
Fixes: eec04ea11969 ("smb: client: fix OOB in receive_encrypted_standard()")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions