Files
linux/drivers/net/wireless/ath/ath9k
Johan Hovold fab4402325 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 15:46:14 +02:00
..
2016-12-01 13:17:45 +02:00
2015-03-03 14:55:24 +02:00
2015-03-13 15:19:36 +02:00
2016-04-12 15:56:15 +02:00
2015-10-28 20:57:13 +02:00
2016-04-12 15:56:15 +02:00
2016-09-02 19:06:05 +03:00
2017-05-25 15:46:14 +02:00
2016-04-26 14:13:59 +03:00
2015-06-15 12:44:34 +03:00
2015-03-20 08:27:17 +02:00
2015-03-03 14:55:24 +02:00
2015-03-03 14:55:27 +02:00
2015-02-26 14:58:43 +02:00
2016-05-28 11:24:25 +03:00