]> git.enpas.org Git - openwrt.git/commit
package/hostapd: fix crash in atheros driver (#8143)
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 29 Oct 2010 21:25:39 +0000 (21:25 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 29 Oct 2010 21:25:39 +0000 (21:25 +0000)
commit7438476abb398deacd0e0dd17a176ce27f7f9ae2
tree10f78575ea8f4a8290326881f6accd27633a31a1
parent7f14e127691864dc8e5ad615b14cf61421eefb7a
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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23715 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/hostapd/patches/460-oper_state_fix.patch