Files
linux/drivers/net/wireless
Laura Abbott 4a2fbab9e8 rtlwifi: Fix potential overflow on P2P code
commit 8c55dedb79 upstream.

Nicolas Waisman noticed that even though noa_len is checked for
a compatible length it's still possible to overrun the buffers
of p2pinfo since there's no check on the upper bound of noa_num.
Bound noa_num against P2P_MAX_NOA_NUM.

Reported-by: Nicolas Waisman <nico@semmle.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-06 12:18:22 +01:00
..
2018-03-22 09:17:41 +01:00
2015-11-18 14:28:31 +02:00
2014-08-28 14:41:56 -04:00
2014-08-28 14:41:56 -04:00