<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Segmentation fault when accessing xlib backend from different endian systems"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63461">63461</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segmentation fault when accessing xlib backend from different endian systems
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>HP-UX
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>wolfgang.meyer@hob.de
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>IA64 (Itanium)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.12.14
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>xlib backend
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=77856" name="attach_77856" title="Proposed patch to the bug">attachment 77856</a> <a href="attachment.cgi?id=77856&action=edit" title="Proposed patch to the bug">[details]</a></span>
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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>