Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c556dfa7678bf633c78307a1a178f096c47892c8
https://github.com/WebKit/WebKit/commit/c556dfa7678bf633c78307a1a178f096c47892c8
Author: Andres Gonzalez <[email protected]>
Date: 2023-07-26 (Wed, 26 Jul 2023)
Changed paths:
M Source/WebCore/accessibility/AXTextMarker.cpp
M Source/WebCore/accessibility/cocoa/AXTextMarkerCocoa.mm
Log Message:
-----------
AX: Crash in AXTextMarkerRange constructor when passed a null
AXTextMarkerRangeRef.
https://bugs.webkit.org/show_bug.cgi?id=259512
<rdar://problem/112870208>
Reviewed by Chris Fleizach.
Added null-checks in the conversion between AXTextMarkerRange objects and
AXTextMarkerRangeRefs and VisiblePositionRanges.
* Source/WebCore/accessibility/AXTextMarker.cpp:
(WebCore::AXTextMarkerRange::operator VisiblePositionRange const):
* Source/WebCore/accessibility/cocoa/AXTextMarkerCocoa.mm:
(WebCore::AXTextMarker::AXTextMarker):
(WebCore::AXTextMarkerRange::AXTextMarkerRange):
Canonical link: https://commits.webkit.org/266313@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes