diff options
author | Dudemanguy <random342@airmail.cc> | 2020-07-29 10:05:07 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2020-07-29 17:45:42 +0000 |
commit | 36951ab6a7f71627b67646a1114d01bf685903e2 (patch) | |
tree | 0a1039795d6d212d9fd08af82afe2ab9aecf0b73 /audio | |
parent | 6e3d4aa94b170fa6de1bdda32d799cef8648167d (diff) | |
download | mpv-36951ab6a7f71627b67646a1114d01bf685903e2.tar.bz2 mpv-36951ab6a7f71627b67646a1114d01bf685903e2.tar.xz |
wayland: fix a potential race in wait_events
The read of the wayland display fd in vo_wayland_wait_events was
incorrect and technically vulnerable to race conditions. The correct
usage as per the client api is to use wl_display_prepare_read as well as
wl_display_read_events.
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions