[cairo-bugs] [Bug 62371] New: Wrong allocation size in cairo_cff_font_read_cid_fontdict()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 15 06:48:10 PDT 2013


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

          Priority: medium
            Bug ID: 62371
          Assignee: chris at chris-wilson.co.uk
           Summary: Wrong allocation size in
                    cairo_cff_font_read_cid_fontdict()
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: mkasik at redhat.com
          Hardware: Other
            Status: NEW
           Version: 1.12.14
         Component: general
           Product: cairo

Created attachment 76559
  --> https://bugs.freedesktop.org/attachment.cgi?id=76559&action=edit
fix allocation of width arrays

font->fd_default_width and font->fd_nominal_width are allocated as arrays of
ints in cairo_cff_font_read_cid_fontdict() but they are arrays of doubles.
Attached patch fixes this.

This bug causes evince to crash when printing specific PDFs. See
https://bugzilla.redhat.com/show_bug.cgi?id=917431.

Marek

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20130315/1e39d3e1/attachment.html>


More information about the cairo-bugs mailing list