summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-12-19 14:52:41 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-12-21 14:16:37 +1000
commit552de314bf0c8e4de5d002bdd1c12388c2f42283 (patch)
tree2264cb654f7ab425fa328387e2ea5b96df5b3ad3 /include
parent76c11e0872dedcd360cbe02cf62bb9de3b212957 (diff)
dix: don't retrieve the syncEvents tail on an empty list
An empty list points to itself but syncEvents has the list head only and is of a different format than the elements. Thus, casting it to a QdEventPtr gives us garbage. Segfaults with XTS test case Xlib13/XGrabKeyboard Introduced in 7af23259d88f4c28ed21140f82cc03b3724c06bb. Reported-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions