Search Linux Wireless

Re: [PATCH] mac80211: fix invalid kfree on sched scan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2012-11-16 at 10:46 +0200, Eliad Peller wrote:
> Commit 30dd3ed ("mac80211: don't hang on to sched_scan_ies")
> converted sched_scan_ies to a local variable.
> However, since it wasn't initialized, in a case of
> unsupported band, sched_scan_ies.ie[] was uninitialized,
> and freeing it could corrupt the memory.
> 
> Fix it by simply initializing sched_scan_ies to 0.

Yep, already have that in the tree :-)

commit bca1e29fb54c51856dda6772d488d41b10ed91da
Author: David Spinadel <david.spinadel@xxxxxxxxx>
Date:   Mon Oct 29 14:49:41 2012 +0200

    mac80211: init sched_scan_ies


johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux