[cairo] [PATCH 1/2] xlib: Don't crash when swapping a 0-sized glyph

Behdad Esfahbod behdad at behdad.org
Thu Nov 8 13:04:30 PST 2012


On 12-11-08 09:19 AM, Adam Jackson wrote:
> malloc(0) needn't return NULL, and on glibc, doesn't.

BTW, is this a recent change?  I noticed a bug because of it in harfbuzz also.

behdad


More information about the cairo mailing list