mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-20 02:53:03 -05:00
It was possible to configure hostapd in a way that could try to initialize a TLS-based EAP method even when TLS library context was not initialized (e.g., due to not configuring server or CA certificate). Such a case could potentially result in NULL pointer dereference in the TLS library, so check for this condition and reject EAP method initialization. Signed-hostap: Jouni Malinen <j@w1.fi>