Staging: rtl8192u: Check kmalloc return value before use the buffer in ieee80211_soft...
authorwzt.wzt@gmail.com <wzt.wzt@gmail.com>
Wed, 5 May 2010 06:56:52 +0000 (14:56 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:11 +0000 (11:36 -0700)
commitdde27e03cc964526531fdf2bd58c1e4ee4525074
treee6aae901655605fffeb41595d2713ea86cfa4db3
parent318a5b2a505fe7a99f0d89889e7a84d57ec49b15
Staging: rtl8192u: Check kmalloc return value before use the buffer in ieee80211_softmac.c

Check kmalloc return value before use the buffer.

Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c