aboutsummaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-08-01 23:14:03 +0000
committerNamjae Jeon <[email protected]>2021-08-01 23:17:25 +0000
commit8b99f3504b688e3b55380521b6bf68c3d0c485d6 (patch)
treeb5298038003f1db833ddf59e474c3f65d40b56d9 /lib/netdev-notifier-error-inject.c
parentksmbd: add ipv6_addr_v4mapped check to know if connection from client is ipv4 (diff)
downloadkernel-8b99f3504b688e3b55380521b6bf68c3d0c485d6.tar.gz
kernel-8b99f3504b688e3b55380521b6bf68c3d0c485d6.zip
ksmbd: fix an oops in error handling in smb2_open()
If smb2_get_name() then name is an error pointer. In the clean up code, we try to kfree() it and that will lead to an Oops. Set it to NULL instead. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions