Title: [275121] trunk/Source/WebCore
Revision
275121
Author
[email protected]
Date
2021-03-26 16:32:58 -0700 (Fri, 26 Mar 2021)

Log Message

AX: crash at aom.apple.WebCore: WebCore::AccessibilityProgressIndicator::element const
https://bugs.webkit.org/show_bug.cgi?id=223800
rdar://75861367

Reviewed by Zalan Bujtas.

Prevent unintended renderer access.
No steps to reproduce were available, so a test was not able to be created.

* accessibility/AccessibilityProgressIndicator.cpp:
(WebCore::AccessibilityProgressIndicator::element const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (275120 => 275121)


--- trunk/Source/WebCore/ChangeLog	2021-03-26 23:12:25 UTC (rev 275120)
+++ trunk/Source/WebCore/ChangeLog	2021-03-26 23:32:58 UTC (rev 275121)
@@ -1,3 +1,17 @@
+2021-03-26  Chris Fleizach  <[email protected]>
+
+        AX: crash at aom.apple.WebCore: WebCore::AccessibilityProgressIndicator::element const
+        https://bugs.webkit.org/show_bug.cgi?id=223800
+        rdar://75861367
+
+        Reviewed by Zalan Bujtas.
+
+        Prevent unintended renderer access. 
+        No steps to reproduce were available, so a test was not able to be created.
+
+        * accessibility/AccessibilityProgressIndicator.cpp:
+        (WebCore::AccessibilityProgressIndicator::element const):
+
 2021-03-26  Chris Dumez  <[email protected]>
 
         Source/WebCore/editing/cocoa/HTMLConverter.mm:1278:44: runtime error: member call on null pointer of type 'WebCore::ArchiveResource'

Modified: trunk/Source/WebCore/accessibility/AccessibilityProgressIndicator.cpp (275120 => 275121)


--- trunk/Source/WebCore/accessibility/AccessibilityProgressIndicator.cpp	2021-03-26 23:12:25 UTC (rev 275120)
+++ trunk/Source/WebCore/accessibility/AccessibilityProgressIndicator.cpp	2021-03-26 23:32:58 UTC (rev 275121)
@@ -195,6 +195,9 @@
 
 Element* AccessibilityProgressIndicator::element() const
 {
+    if (!m_renderer)
+        return nullptr;
+
     if (m_renderer->isProgress())
         return progressElement();
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to