[Webkit-unassigned] [Bug 171602] New: REGRESSION(r215686): Incremental reads from SharedBuffer are wrong after r215686

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 3 05:36:42 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=171602

            Bug ID: 171602
           Summary: REGRESSION(r215686): Incremental reads from
                    SharedBuffer are wrong after r215686
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk, LayoutTestFailure
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: achristensen at apple.com

In TextTrackLoader::processNewCueData() and PNGImageReader::decode() we changed the patter to read data from a SharedBuffer at a given offset. The new pattern is not correct, because it assumes the whole segment is always read, and the new offset is not correct when that's not the case. This has broken the rendering of png images in the GTK+ port, only the first bytes are correctly decoded and drawn, but not the rest of the image. See for example:

https://build.webkit.org/results/GTK Linux 64-bit Release (Tests)/r216114 (888)/editing/pasteboard/paste-image-using-image-data-diff.png

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170503/90025ffa/attachment.html>


More information about the webkit-unassigned mailing list