diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-02 09:11:10 +0000 |
---|---|---|
committer | Owain G. Ainsworth <oga@openbsd.org> | 2011-03-16 20:03:27 +0000 |
commit | 53fc18eef519be501392dc766c086ed39c4e9ffd (patch) | |
tree | 0a5feca72299a703917dd1dd25d681931a191c2e /src/intel_video.c | |
parent | 2d1aeb44aaf99943a73457a84354cce6140a7445 (diff) |
dri: Don't wait upon a NULL current mode
There is a race condition between the dri swapbuffers code and
hotplugging whereby we might attempt to execute a wait upon a
non-existent output. This causes a NULL dereference and a loud crash.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32770
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit d729ef02f2955f7476df4c65403bc1f8e705b780)
Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/intel_video.c')
0 files changed, 0 insertions, 0 deletions