Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a88b7cf55602cbb76f98e54838363a2d8eee504
      
https://github.com/WebKit/WebKit/commit/3a88b7cf55602cbb76f98e54838363a2d8eee504
  Author: Anne van Kesteren <[email protected]>
  Date:   2026-06-30 (Tue, 30 Jun 2026)

  Changed paths:
    M Source/WebCore/Modules/webxr/WebXRSystem.cpp
    M Source/WebCore/Modules/webxr/WebXRSystem.h
    M Source/WebCore/Modules/webxr/XRSessionInit.h
    M Source/WebCore/Modules/webxr/XRSessionInit.idl
    M Source/WebCore/bindings/js/JSDOMConvertSequences.h
    M Source/WebCore/testing/WebXRTest.cpp
    M Source/WebCore/testing/WebXRTest.h
    M Source/WebCore/testing/WebXRTest.idl

  Log Message:
  -----------
  Use-after-free in XRSessionInit dictionary conversion via sequence<any>
https://bugs.webkit.org/show_bug.cgi?id=312348
rdar://174448452

Reviewed by Ryosuke Niwa.

sequence<any> and FrozenArray<any> are fundamentally unsafe as
currently implemented. Fortunately the only place where we use
sequence<any> can use sequence<DOMString>.

So adopt sequence<DOMString> there and add static asserts to prevent
future adoption of the unsafe constructs.

Originally-landed-as: 305413.680@safari-7624-branch (65ba1780134a). 
rdar://180437855
Canonical link: https://commits.webkit.org/316227@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to