<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xserver crash in gtk+ application"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90940#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xserver crash in gtk+ application"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90940">bug 90940</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>diff --git a/src/sna/sna_tiling.c b/src/sna/sna_tiling.c
index 308efc0..bdaeb35 100644
--- a/src/sna/sna_tiling.c
+++ b/src/sna/sna_tiling.c
@@ -580,7 +580,7 @@ sna_tiling_composite_spans(uint32_t op,
        tile->height = height;
        tile->rects = tile->rects_embedded;
        tile->rect_count = 0;
-       tile->rect_size = ARRAY_SIZE(tile->rects_embedded);
+       tile->rect_size = ARRAY_SIZE(tile->rects_embedded) / 2;

        tmp->box   = sna_tiling_composite_spans_box;
        tmp->boxes = sna_tiling_composite_spans_boxes;</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>