diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-08-05 17:43:29 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-08-25 20:16:20 -0700 |
commit | 0f613007cd43545eda40825bd74ada3e6e5f36f6 (patch) | |
tree | b0ce035e339dab76a97f3642a0e5de1414390f45 /dix/property.c | |
parent | e7dd1efef408effe52d0bd3d3aa0b5d4ee10ed90 (diff) |
CheckWindowOptionalNeed: Ensure w->optional is set to avoid SEGFAULT
If CheckWindowOptionalNeed is called consecutively (and the first removes optional), then
we will SEGFAULT. This can happen in XQuartz because ReparentWindow will call
pScreen->ReparentWindow which can DeleteProperty which will CheckWindowOptionalNeed... then
ReparentWindow will call it again later indiscriminantly.
(cherry picked from commit b608c864ccc59628bd33c033393121b61580460e)
Diffstat (limited to 'dix/property.c')
0 files changed, 0 insertions, 0 deletions