mirror of
https://github.com/Evolution-X-Devices/device_google_redfin
synced 2026-01-28 13:46:14 +00:00
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>