package/hostapd: fix crash in atheros driver (#8143)
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 29 Oct 2010 21:25:39 +0000 (21:25 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 29 Oct 2010 21:25:39 +0000 (21:25 +0000)
commit43c26858668c606fe6d2d0013c2fd08d0e2a7180
tree10f78575ea8f4a8290326881f6accd27633a31a1
parenta2f1c6949cbda9e3f926d47bab50de1527de834c
package/hostapd: fix crash in atheros driver (#8143)
hapd->driver->set_operstate may happen when the drv_priv data is not initialized yet,
this leads to a null pointer deref in the atheros driver. Protect the operstate call with a
check for hapd->drv_priv.

SVN-Revision: 23715
package/hostapd/patches/460-oper_state_fix.patch