Files
linux/drivers/net/wireless
Johan Hovold 670a7c5db2 ath9k_htc: fix NULL-deref at probe
commit ebeb36670e upstream.

Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer or accessing memory beyond the endpoint array should a
malicious device lack the expected endpoints.

Fixes: 36bcce4306 ("ath9k_htc: Handle storage devices")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-25 14:30:09 +02:00
..
2017-05-25 14:30:09 +02:00
2014-08-11 12:19:53 -07:00
2015-10-21 10:53:29 +03:00
2014-08-28 14:41:56 -04:00
2014-08-28 14:41:56 -04:00