platform_system_core/libusbhost
Jacob Abrams 43d246c5c2 Prevent infinite loop on zero length USB descriptors
If a USB device descriptor has zero length it is invalid and iteration
should stop otherwise the code iterating will go into an infinite loop.

Bug: 149986186
Test: attach bad USB device with invalid descriptor length 0 then attach
a good USB device and ensure it is recognized properly

Change-Id: I7571a6357bdc13af221cf8be01eba16f5bc976a3
2020-02-21 11:11:02 -08:00
..
include/usbhost usblib: usb_device_get_string decoding fixes. 2017-12-19 22:20:51 +00:00
Android.bp Revert "Mark libs as double_loadable" 2019-03-11 14:10:34 +00:00
usbhost.c Prevent infinite loop on zero length USB descriptors 2020-02-21 11:11:02 -08:00