summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-10-07 21:19:48 +0200
committerGravatar Nikias Bassen2019-10-07 21:19:48 +0200
commit7a1110f5c13e7249062da952e1ac4de1b56d4a4e (patch)
tree7913b0d145b33268d084b3301d01035eab032b1a /m4
parent135ab5253879c197edae416b523e01aad4e13d98 (diff)
downloadusbmuxd-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 'm4')
0 files changed, 0 insertions, 0 deletions