[cairo-bugs] [Bug 31897] _composite_glyphs: Assertion `! (((this_x+4096) | (this_y+4096)) & ~0x3fffu)' failed.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 24 10:22:37 PST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=31897
--- Comment #5 from Uli Schlachter <psychon at znc.in> 2010-11-24 10:22:34 PST ---
Created an attachment (id=40551)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40551)
Test (ugly) case that (hopefuly) does the same thing wireshark does
My cairo clone was outdated, sorry for that.
I can reproduce this problem with the provided pcap trace, thanks a lot.
Wireshark allocates a 15124x100 surface which is large enough to hit this
problem and then draws text to it.
The Xlib backend handles this case by doing a fallback instead of assert().
Just removing the assert() doesn't seem to cause any integer overflows (xtrace
output looks good), but I bet there are cases out there which manage to hit the
overflow.
--
Configure bugmail: https://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