[PATCH 3.2 17/59] [media] gspca: konica: add missing endpoint sanity check

2017-08-18 Thread Ben Hutchings
3.2.92-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit aa58fedb8c7b6cf2f05941d238495f9e2f29655c upstream. Make sure to check the number of endpoints to avoid accessing memory beyond the endpoint array should a

[PATCH 3.2 17/59] [media] gspca: konica: add missing endpoint sanity check

2017-08-18 Thread Ben Hutchings
3.2.92-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit aa58fedb8c7b6cf2f05941d238495f9e2f29655c upstream. Make sure to check the number of endpoints to avoid accessing memory beyond the endpoint array should a device lack the