[webkit-changes] [WebKit/WebKit] e4715d: AX: AccessibilitySVGElement::computeAccessibilityI...

Tyler Wilcock noreply at github.com
Thu Jun 22 17:07:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e4715d95b3a1e8a41876e4bf92b073f3dd7fc0bb
      https://github.com/WebKit/WebKit/commit/e4715d95b3a1e8a41876e4bf92b073f3dd7fc0bb
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2023-06-22 (Thu, 22 Jun 2023)

  Changed paths:
    M Source/WebCore/accessibility/AccessibilitySVGElement.cpp

  Log Message:
  -----------
  AX: AccessibilitySVGElement::computeAccessibilityIsIgnored() should null-check its renderer before using it
https://bugs.webkit.org/show_bug.cgi?id=258407
rdar://111139655

Reviewed by Chris Fleizach.

This patch adds a null-check of m_renderer before dereferencing it, as
failing to do so causes a crash in some scenarios.

* Source/WebCore/accessibility/AccessibilitySVGElement.cpp:
(WebCore::AccessibilitySVGElement::computeAccessibilityIsIgnored const):

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




More information about the webkit-changes mailing list