staging: rtl8192e: Fix potential null dereference
authorHema Prathaban <hemaklnce@gmail.com>
Tue, 14 May 2013 15:29:19 +0000 (20:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 May 2013 18:23:40 +0000 (14:23 -0400)
commitae053253a7971b6c97ad570e0f373974ca6d7e06
treee18b50f96abf98ea8a4dc5d6a74357950d4a3319
parent95d8ee5403b195aea7c18520ef635ff14717ed1e
staging: rtl8192e: Fix potential null dereference

check memory is allocated in '*challenge' before using it.

Signed-off-by: Hema Prathaban <hemaklnce@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac.c