Commit 5f43a0e3 authored by Puma Hsu's avatar Puma Hsu
Browse files

aoc: usb: prevent a dereference in free_transfer_ring



The pointer 'ctrl_ctx' returned from call to function
'xhci_get_input_control_ctx' may be NULL and will be
dereferenced at the following using.

Bug: 206921381
Test: build pass and headset workable
Signed-off-by: default avatarPuma Hsu <pumahsu@google.com>
Change-Id: I56e6a4e08995ba3efd0dd98a616e01082ea92162
parent 95618f35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment