commit | d8e918fc9d479388661e74638d950592af16c001 | [log] [tgz] |
---|---|---|
author | Khoa Hong <khoahong@google.com> | Fri Sep 23 17:05:39 2022 +0800 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Nov 15 01:48:42 2022 +0000 |
tree | 191512de6a794345f5e537af8a3b52a69de0b44e | |
parent | c224467912010cce927d206366d772f511c98728 [diff] |
Add protections against queueing a UsbRequest when the underlying UsbDeviceConnection is closed. Bug: 204584366 Test: CTS Verifier: USB Accessory Test & USB Device Test Test: No HWASan use-after-free reports with a test app Change-Id: Ia3a9b10349efc0236b1539c81465f479cb32e02b (cherry picked from commit 1691b54b1fda4239249a3871d2c17ed1ec753061) Merged-In: Ia3a9b10349efc0236b1539c81465f479cb32e02b