radius: Fix NULL dereference issue on allocation failure
authorManeesh Jain <maneesh.jain@samsung.com>
Mon, 22 Jun 2015 03:32:15 +0000 (09:02 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 26 Jun 2015 19:44:41 +0000 (22:44 +0300)
commit4457f41b545087065680d1755f6ca4e6753e3459
tree0cc52e90ad5a55d450990d07d491ca34646d0b11
parentf826fb1de15ccb33899a2a316904c010c0b1ca00
radius: Fix NULL dereference issue on allocation failure

In case memory allocation fails, data->pac_opaque_encr_key may be NULL
and lead to possible crash.

Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
src/radius/radius_server.c