[Pixman] [PATCH] Fix server crash in pixman (to be discussed)

Matthias Hopf mhopf at suse.de
Wed Mar 24 05:08:01 PDT 2010


On Mar 24, 10 13:25:13 +0200, Jonathan Morton wrote:
> Drawing a string containing spaces but also other characters would
> result in a non-degenerate region, presumably.  So the bug might be
> triggered by a string containing only a space.

Sounds reasonable.

> It may be appropriate to use a "belt and braces" approach here - prevent
> the degenerate regions from being created, *and* have the PIXREGION_NIL
> macro handle them.

Also sounds reasonable. Glyphs are apparently only rendered in a few
places in the Xserver, so this should be doable. Exa apparently already
handles this correctly.

Matthias

-- 
Matthias Hopf <mhopf at suse.de>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          mat at mshopf.de
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de


More information about the Pixman mailing list