[PATCH] hostapd: Fix crash when scan fails.

Jouni Malinen j
Sun Feb 3 03:52:54 PST 2013


On Tue, Jan 29, 2013 at 09:02:50PM -0800, greearb at candelatech.com wrote:
> When scan failed, the wpa_driver_nl80211_scan method tried
> to recursively call itself, but it passed in the wrong argument
> for the void*, and so then it crashed accessing bad memory.
> 
> With this fix, hostapd still will not retry the scan later, but
> at least it will exit cleanly and won't polute the file system
> with core files.

Thanks! Applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list