Files
device_google_redfin/usb
pumahsu bdf4ac7894 Prevent null vector accessing in USB HAL
If getPortStatusHelper() failed to allocate currentPortStatus_1_2 size,
it should not access this vector, otherwise it would cause crash.

Bug: 142366879
Bug: 174635444
Test: try to adb root and re-connect USB
Change-Id: I0d0d9cd1dccd646ce270b562f2922da15338bfc1
Signed-off-by: pumahsu <pumahsu@google.com>
Signed-off-by: Ricky Niu <rickyniu@google.com>
2020-12-04 10:10:58 +00:00
..
2019-08-19 12:39:55 +08:00
2019-08-19 12:39:55 +08:00