[PATCH] wpa_supplicant: fix 2 memory leaks in ieee802_1x_create_preshared_mka()

Jouni Malinen j at w1.fi
Mon Mar 12 16:49:08 PDT 2018


On Thu, Mar 08, 2018 at 05:15:02PM +0100, Davide Caratti wrote:
> in case MKA is initialized successfully, local copies of CAK and CKN are
> allocated, but never freed: ensure that such memory is released also when
> ieee802_1x_kay_create_mka() returns a valid pointer.

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list