diff options
author | Nikias Bassen | 2019-10-07 21:19:48 +0200 |
---|---|---|
committer | Nikias Bassen | 2019-10-07 21:19:48 +0200 |
commit | 7a1110f5c13e7249062da952e1ac4de1b56d4a4e (patch) | |
tree | 7913b0d145b33268d084b3301d01035eab032b1a /AUTHORS | |
parent | 135ab5253879c197edae416b523e01aad4e13d98 (diff) | |
download | usbmuxd-7a1110f5c13e7249062da952e1ac4de1b56d4a4e.tar.gz usbmuxd-7a1110f5c13e7249062da952e1ac4de1b56d4a4e.tar.bz2 |
preflight: Prevent possible UaF if usb device is removed while preflight is in progress
The device serial number is only used by reference, however since the preflight helper
runs in a separate thread the usb device might be invalidated before the preflight operation
is complete, leading to a use-after-free when passing on the device info, followed by accessing
the device serial number. By copying the serial number this can be avoided.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions