aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net_utils.c
diff options
context:
space:
mode:
authorHaoxiang Li <[email protected]>2025-02-17 07:20:38 +0000
committerSteve French <[email protected]>2025-02-20 18:10:39 +0000
commit860ca5e50f73c2a1cef7eefc9d39d04e275417f7 (patch)
tree215088b8f37ec0065d81d85357ae5df77816a8b6 /lib/net_utils.c
parentMerge tag 'v6.14-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 (diff)
downloadkernel-860ca5e50f73c2a1cef7eefc9d39d04e275417f7.tar.gz
kernel-860ca5e50f73c2a1cef7eefc9d39d04e275417f7.zip
smb: client: Add check for next_buffer in receive_encrypted_standard()
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: [email protected] Signed-off-by: Haoxiang Li <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions