aboutsummaryrefslogtreecommitdiff
path: root/backend/headless
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2023-06-05 11:51:06 +0200
committerKenny Levinsen <kl@kl.wtf>2023-06-05 11:55:59 +0200
commit15f2f6642fb5020c1b69e5424a8463569ea6a3e9 (patch)
tree86ed510324512517c6c85d5da351a9b29fdf13b4 /backend/headless
parentb61d5922f1d0910a848deb100570ad8587aea38d (diff)
gamma-control: Read ramps using pread
read advances the file description offset, and requires the client to ensure that it is reset appropriately before the next gamma ramp submission. As there is no event to indicate that wlroots finished processing the new gamma ramp, this can result in a race between the client seeking in the file and wlroots reading its content. Use pread with a fixed offset instead. Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3655
Diffstat (limited to 'backend/headless')
0 files changed, 0 insertions, 0 deletions