Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 47366ef2cd543528bfc23a7620e252db838182fc
      
https://github.com/WebKit/WebKit/commit/47366ef2cd543528bfc23a7620e252db838182fc
  Author: Tyler Wilcock <[email protected]>
  Date:   2026-02-24 (Tue, 24 Feb 2026)

  Changed paths:
    M Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
    M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm

  Log Message:
  -----------
  AX: The accessibilityCustomActions implementations capture a temporary by 
reference and can thus use-after-free
https://bugs.webkit.org/show_bug.cgi?id=308257
rdar://170763347

Reviewed by Joshua Hoffman.

Copy the necessary data into the lambda rather than unsafely using the loop 
temporary, preventing a crash in ASAN builds
when running accessibility/aria-actions.html.

* Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper accessibilityCustomActions]):
* Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper accessibilityCustomActions]):

Canonical link: https://commits.webkit.org/308138@main



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

Reply via email to