diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-09-27 19:05:26 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-09-28 11:10:12 +0100 |
commit | 679ee12079a7d2682d41506b81973c7c7d4fa1d8 (patch) | |
tree | 4a759c2963a632654b4b094e9dda266d11636bf0 /man | |
parent | f0fd4d500de03c30c7ce19915f85acadd1ca4e5d (diff) |
sna: Prevent infinite recursion on udevless RRGetInfo()
As summarised by Mark Kettenis:
Unfortunately commit 2c08d72393e4c8ddf5926571b087459aaa225cb1 that
was made to resolve this bug introduced infinite recursion if
polling udev for events fails (which is always the case on systems
without udev). The scenario is as follows:
1. The server calls RRGetInfo().
2. RRGetInfo() calls sna_randr_getinfo()
3. sna_randr_getinfo() calls sna_uevent_poll(), which returns false
4. sna_randr_getinfo() calls sna_mode_discover()
5. sna_mode_discover() calls RRGetInfo()
and we jump straight back to step 2, until we run out of stack
space and crash
Reported-by: Mark Kettenis <kettenis@openbsd.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91929#c8
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions