[Webkit-unassigned] [Bug 135060] New: Reduce the chances of a race condition when sharing SharedBuffer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 18 12:14:58 PDT 2014


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

           Summary: Reduce the chances of a race condition when sharing
                    SharedBuffer
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: psolanki at apple.com
                CC: koivisto at iki.fi, simon.fraser at apple.com,
                    akling at apple.com, thorton at apple.com


We currently pass a SharedBuffer to ImageIO by creating a WebCoreSharedBufferData. This means ImageIO will access the SharedBuffer on a separate thread and this can cause data corruption bugs. While the actual fix is complex, we can at least reduce the time interval for this race condition to happen by setting the ShardBuffer size after the data is copied in SharedBuffer::append().

<rdar://problem/17729444>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list