[cairo-bugs] [Bug 35161] New: Heap corruption in cairo_cff_font_write_cid_fontdict [Patch attached]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 9 14:41:56 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35161

           Summary: Heap corruption in cairo_cff_font_write_cid_fontdict
                    [Patch attached]
           Product: cairo
           Version: 1.10.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: medium
         Component: pdf backend
        AssignedTo: ajohnson at redneon.com
        ReportedBy: flr at acm.org
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=44288)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=44288)
Quick fix which solves the heap corruption.

Due to an interleaved grow(realloc) operation the heap can get corrupted.
I attached a "quick fix" which solves the problem.

-- 
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