[cairo-bugs] [Bug 63461] New: Segmentation fault when accessing xlib backend from different endian systems

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 12 02:45:27 PDT 2013


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

          Priority: medium
            Bug ID: 63461
          Assignee: chris at chris-wilson.co.uk
           Summary: Segmentation fault when accessing xlib backend from
                    different endian systems
        QA Contact: cairo-bugs at cairographics.org
          Severity: major
    Classification: Unclassified
                OS: HP-UX
          Reporter: wolfgang.meyer at hob.de
          Hardware: IA64 (Itanium)
            Status: NEW
           Version: 1.12.14
         Component: xlib backend
           Product: cairo

Created attachment 77856
  --> https://bugs.freedesktop.org/attachment.cgi?id=77856&action=edit
Proposed patch to the bug

Accessing the cairo xlib backend via X11 forwarding on (big endian) HP-UX from
a little endian system leads to a segmentation fault.

The crash occurs in the _cairo_xlib_surface_add_glyph function. At line 1321 if
c is zero an infinite loop causes the segmentation fault.

The attached patch seems to prevent the crash.

-- 
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/20130412/db97e982/attachment.html>


More information about the cairo-bugs mailing list