xserver-multidpi/render
Peter Harris 185185eeb4 Fix crash when all glyphs of a given depth are freed, but not all glyphsets
This is how the crash can be triggered with only two clients on the system:
Client A: (already running)
Client B: Connect
Client B: CreateGlyphSet(depthN)
Client A: Disconnect
Server: free globalGlyphs(depthN)
Client B: AddGlyphs(depthN)
Server: SEGV

This crash was introduced with the FindGlyphsByHash function
in 516b96387b. Before that revision,
ResizeGlyphSet was always called before FindGlyphRef, which would
re-create globalGlyphs(depthN) if necessary.

X.Org Bug 20718 <http://bugs.freedesktop.org/show_bug.cgi?id=20718>

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-03-24 13:02:13 +01:00
..
animcur.c render: delete unused headers declaration 2009-08-28 15:33:19 +03:00
filter.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
glyph.c Fix crash when all glyphs of a given depth are freed, but not all glyphsets 2010-03-24 13:02:13 +01:00
glyphstr.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
Makefile.am Export a bunch of matrix operations from render. 2008-11-24 13:24:36 -08:00
matrix.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
miindex.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipict.c render: Fix clip region translation in miClipPictureSrc(). 2009-10-06 10:17:52 +10:00
mipict.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mirect.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mitrap.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mitri.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
picture.c Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
picture.h Add 4 missing 10bpc picture formats to the server format list. 2009-08-13 12:04:33 -07:00
picturestr.h render: AnimCurInit and AnimCursorCreate shouldn't be _X_EXPORT 2009-08-28 15:30:21 +03:00
render.c RENDER: Fix gradient and solid fill pictures with Xinerama, and misc cleanup 2010-01-29 21:38:50 -08:00
renderedge.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
renderedge.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00