Re: [PATCH 1/2] xlib: Don't crash when swapping a 0-sized glyph
Adam Jackson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <1353089088.21005.55.camel@atropine> |
On Thu, 2012-11-08 at 12:19 -0500, Adam Jackson wrote:
> On 10/31/12 4:13 PM, Adam Jackson wrote:
> > malloc(0) needn't return NULL, and on glibc, doesn't. Then we encounter
> > a loop of the form do { ... } while (--c), which doesn't do quite what
> > you were hoping for when c is initially 0.
> >
> > Since there's nothing to swap in this case, just bomb out.
>
> Bump. Anything else I need to add here?
Another week, another ping.
- ajax
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlCmgEAACgkQW4otUKDs0NNITACbBVxthwPejsXR4Ajsuozq6Bc2 nsUAoNgHTI34hY7MgqAgBypif55Oz3k3 =7CwP -----END PGP SIGNATURE-----