Search Linux Wireless

Re: [PATCH] nl80211: check matches array length before acessing it

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

 



On Mon, 2014-12-01 at 11:32 +0200, Luca Coelho wrote:
> From: Luciano Coelho <luciano.coelho@xxxxxxxxx>
> 
> If the userspace passes a malformed sched scan request (or a net
> detect wowlan configuration) by adding a NL80211_ATTR_SCHED_SCAN_MATCH
> attribute without any nested matchsets, a NULL pointer dereference
> will occur.  Fix this by checking that we do have matchsets in our
> array before trying to access it.

Applied, thanks.

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