[cairo-bugs] [Bug 67324] New: cairo_type1_subset.c: write_used_glyphs should check _cairo_winansi_to_glyphname return value

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 25 13:09:53 PDT 2013


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

          Priority: medium
            Bug ID: 67324
          Assignee: chris at chris-wilson.co.uk
           Summary: cairo_type1_subset.c: write_used_glyphs should check
                    _cairo_winansi_to_glyphname return value
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: salvador.ortiz at gmail.com
          Hardware: Other
            Status: NEW
           Version: 1.12.14
         Component: general
           Product: cairo

Created attachment 83008
  --> https://bugs.freedesktop.org/attachment.cgi?id=83008&action=edit
A simple patch that fixed the issue.

After segmentation faults in inkscape and rsvg_convert, the backtrace points to
strlen called from write_used_glyphs in cairo.

Please see https://bugzilla.redhat.com/show_bug.cgi?id=957009 for the bug
reported to Fedora.

In some cases _cairo_winansi_to_glyphname can return null, so write_used_glyphs
should check that.

Attached a naive patch that fixed the problem.

Regards.

-- 
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/20130725/95de2cbe/attachment.html>


More information about the cairo-bugs mailing list