diff options
author | Matteo Semenzato <mattew8898@gmail.com> | 2015-03-11 14:31:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-16 15:48:20 +0100 |
commit | 66faa441a6f5753dd3e7add3e1640819ba9ec1c2 (patch) | |
tree | 403e4df6cb43ef4c84227f1232260e553a64d4f8 /drivers/staging/rtl8712/wifi.h | |
parent | 819ef638151f89199c6c3ce42418f40be90ff23a (diff) |
Staging: rtl8712: fix potential null pointer dereference
Check if kmalloc succeded before using the pointer in memcpy.
Signed-off-by: Matteo Semenzato <mattew8898@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/wifi.h')
0 files changed, 0 insertions, 0 deletions