[Webkit-unassigned] [Bug 209711] New: REGRESSION (r258201): Use-after-move in UserMediaCaptureManager::Source::didFail()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 28 19:19:42 PDT 2020


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

            Bug ID: 209711
           Summary: REGRESSION (r258201): Use-after-move in
                    UserMediaCaptureManager::Source::didFail()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: youennf at gmail.com

Use-after-move in UserMediaCaptureManager::Source::didFail() of `errorMessage`:

    void didFail(String&& errorMessage)
    {
        m_isReady = true;
        m_errorMessage = WTFMove(errorMessage);
        if (m_callback)
            m_callback(String(errorMessage));
    }

This regressed in:

Bug 208816: Remove sync IPC when creating a remote capture source
<https://bugs.webkit.org/show_bug.cgi?id=208816>
<rdar://problem/60270112>
<https://trac.webkit.org/changeset/258201>

-- 
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/20200329/7dcd1019/attachment-0001.htm>


More information about the webkit-unassigned mailing list