From: Matteo Semenzato Date: Wed, 11 Mar 2015 13:31:14 +0000 (+0100) Subject: Staging: rtl8712: fix potential null pointer dereference X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~418 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66faa441a6f5753dd3e7add3e1640819ba9ec1c2;p=pandora-kernel.git Staging: rtl8712: fix potential null pointer dereference Check if kmalloc succeded before using the pointer in memcpy. Signed-off-by: Matteo Semenzato Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed