[Webkit-unassigned] [Bug 135069] New: Sharing SharedBuffer between WebCore and ImageIO is racy and crash prone

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 18 13:44:35 PDT 2014


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

           Summary: Sharing SharedBuffer between WebCore and ImageIO is
                    racy and crash prone
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: psolanki at apple.com
                CC: ap at webkit.org, simon.fraser at apple.com,
                    akling at apple.com, thorton at apple.com


We currently pass a SharedBuffer to ImageIO by creating a WebCoreSharedBufferData wrapper around it. ImageIO access this buffer on a separate thread. This can lead to race conditions and crashes if the main thread modifies m_buffer (because it is in the middle of loading a large image) while ImageIO is trying to decode the image.

-- 
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