Created attachment 40188 [details]
My girlfriend used to make Xserver crash when browsing some sites with firefox or chromium.
See attached GDB trace.
Created attachment 40189 [details] [review]
This patch fixes that crash with xserver-1.7.7.
The crash goes away when switching to xserver-1.9
However I think it still makes sense even if the bug is no more triggered.
Who knows if some other app could trigger the same segfault?
*** This bug has been marked as a duplicate of bug 29184 ***