hostapd_allowed_address() is called from hostapd_config_reload_sta() with
authorChris Zimmermann <cbzimmermann@mac.com>
Wed, 12 Mar 2008 09:39:56 +0000 (11:39 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 12 Mar 2008 09:39:56 +0000 (11:39 +0200)
commitb6745143e8bfcb5065572de0e1bd46de777f8b31
tree3d68e368875ab8fe195d8c2452bee2a842d7c933
parent658d166297ffff1ebcd8a408456b1a9c645adaee
hostapd_allowed_address() is called from hostapd_config_reload_sta() with
session_timeout and acct_interim_interval set to NULL.  Without checking
these before accessing, we'd cause a NULL pointer access in this case.  In
ieee802_11.c calls hostapd_allowed_address() with valid pointers.
hostapd/ieee802_11_auth.c