Files
linux/drivers/net
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
..
2016-09-30 10:18:36 +02:00
2015-08-13 21:12:17 -07:00
2015-11-15 17:09:23 -05:00
2015-11-17 14:39:29 -05:00
2015-10-21 19:36:10 -07:00
2015-07-08 16:00:09 -07:00
2015-10-13 04:55:07 -07:00
2017-02-18 16:39:27 +01:00
2016-04-12 09:08:58 -07:00
2017-02-18 16:39:27 +01:00
2017-03-22 12:04:16 +01:00