[Webkit-unassigned] [Bug 280946] New: [JSC] Assert `AsyncFromSyncIterator` before access to internal field

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 6 08:39:40 PDT 2024


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

            Bug ID: 280946
           Summary: [JSC] Assert `AsyncFromSyncIterator` before access to
                    internal field
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aosukeke at gmail.com

The patch at https://commits.webkit.org/283311@main introduced internal fields to
    `AsyncFromSyncIterator`.

    This patch changes the functions in `AsyncFromSyncIteratorPrototype` to assert that the `this`
    object is an `AsyncFromSyncIterator` before accessing its internal fields. No runtime checks.

-- 
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/20241006/53387d2f/attachment-0001.htm>


More information about the webkit-unassigned mailing list