diff options
author | 2013-12-02 14:09:34 +0100 | |
---|---|---|
committer | 2013-12-02 13:11:52 -0500 | |
commit | 3469adb36c41a1fc0217802fa734d4220712e9c2 (patch) | |
tree | 5adfcf3c533778723fed5c415ca2e2024f7026c8 /net/wireless/core.c | |
parent | net: wireless: ath9k: avoid possible NULL pointer dereference (diff) | |
download | linux-3469adb36c41a1fc0217802fa734d4220712e9c2.tar.gz linux-3469adb36c41a1fc0217802fa734d4220712e9c2.tar.bz2 linux-3469adb36c41a1fc0217802fa734d4220712e9c2.zip |
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: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/core.c')
0 files changed, 0 insertions, 0 deletions