summaryrefslogtreecommitdiff
path: root/lib/notifier-error-inject.c
diff options
context:
space:
mode:
authorWill Deacon <willdeacon@google.com>2020-12-15 17:11:11 +0000
committerGiuliano Procida <gprocida@google.com>2021-01-05 15:58:52 +0000
commit73251a2c8ca2bc680a69c0e50446d17b7e1ba416 (patch)
tree573ecb6d39421dfcad1856bba9660cc388de6cb4 /lib/notifier-error-inject.c
parentb5b38b010efc2330816691b98bb6cb9ec7e80d68 (diff)
ANDROID: usb: f_accessory: Cancel any pending work before teardown
Tearing down and freeing the 'acc_dev' structure when there is potentially asynchronous work queued involving its member fields is likely to lead to use-after-free issues. Cancel any pending work before freeing the structure. Bug: 173789633 Signed-off-by: Will Deacon <willdeacon@google.com> Change-Id: I68a91274aea18034637b738d558d043ac74fadf4 Signed-off-by: Giuliano Procida <gprocida@google.com>
Diffstat (limited to 'lib/notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions