[PATCH] hostapd: Fix crash when scan fails.

Jouni Malinen j at w1.fi
Sun Feb 3 06:52:54 EST 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