Skip to content
Commit 3469adb3 authored by Michal Nazarewicz's avatar Michal Nazarewicz Committed by John W. Linville
Browse files

net: wireless: wcn36xx: fix potential NULL pointer dereference



If kmalloc fails wcn36xx_smd_rsp_process will attempt to dereference
a NULL pointer.  There might be a better error recovery then just
printing an error, but printing an error message is better then the
current behaviour.

Signed-off-by: default avatarMichal Nazarewicz <mina86@mina86.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent beae416b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment