Skip to content
Commit 66faa441 authored by Matteo Semenzato's avatar Matteo Semenzato Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8712: fix potential null pointer dereference



Check if kmalloc succeded before using the pointer in memcpy.

Signed-off-by: default avatarMatteo Semenzato <mattew8898@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 819ef638
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment