[cairo-bugs] [Bug 4339] xlib backend crash when using large font size
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 23 16:12:52 PDT 2008
http://bugs.freedesktop.org/show_bug.cgi?id=4339
--- Comment #7 from Behdad Esfahbod <freedesktop at behdad.org> 2008-05-23 16:12:50 PST ---
commit 1e602b82a19e093309c6c121d1af650dd8b3ec1c
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Fri May 23 19:04:13 2008 -0400
[cairo-xlib] Fix max-request size calculations
First, XMaxRequestSize returns number of 4-byte words. So multiply by 4 is
needed in all uses. Next, XRenderAddGlyphs uses BIG-REQUEST extension if
available, so when checking for glyph size overflow, we should use
XExtendedMaxRequestSize() first.
Also use the right format when calculating glyph size.
See bug #4339 for history.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list