EAPOL: Fix static analyzer warnings for pac_opaque_encr_key
authorAdriana Reus <adriana.reus@intel.com>
Sun, 3 Nov 2013 13:21:30 +0000 (15:21 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Nov 2013 08:28:57 +0000 (10:28 +0200)
commit72c12c1d300a446e9c7696abdda8378eb66487a7
tree9822e48c9ae37b96e942298f360343444400d335
parent3139270903af6f0fc4e2d26ab4125071eae45af9
EAPOL: Fix static analyzer warnings for pac_opaque_encr_key

The allocation was not verified to complete successfully and the
allocated memory was not freed on error paths.

Signed-hostap: Adriana Reus <adriana.reus@intel.com>
src/eapol_auth/eapol_auth_sm.c