[webkit-changes] [WebKit/WebKit] 87c7b1: AX: Crash in AXTextMarker constructor.
AndresGonzalezApple
noreply at github.com
Tue Mar 26 21:47:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 87c7b11098edfd79e9a41c68ca0abfcd777accb4
https://github.com/WebKit/WebKit/commit/87c7b11098edfd79e9a41c68ca0abfcd777accb4
Author: Andres Gonzalez <andresg_22 at apple.com>
Date: 2024-03-26 (Tue, 26 Mar 2024)
Changed paths:
M Source/WebCore/accessibility/AXTreeStore.h
Log Message:
-----------
AX: Crash in AXTextMarker constructor.
https://bugs.webkit.org/show_bug.cgi?id=271731
<rdar://problem/125441080>
Reviewed by Tyler Wilcock.
When creating an AXTextMarker or AXTextMarkerRange from a client-provided AXTextMarkerRef, we cannot assume that the tree ID in the data provided is valid. This patch adds checks for valid tree IDs in the corresponding AXTreeStore methods.
* Source/WebCore/accessibility/AXTreeStore.h:
(WebCore::AXTreeStore<T>::axObjectCacheForID):
(WebCore::AXTreeStore<T>::isolatedTreeForID):
Canonical link: https://commits.webkit.org/276722@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list