[webkit-changes] [WebKit/WebKit] 7c8d36: AX: AccessibilityNodeObject::addChildren() does no...

Tyler Wilcock noreply at github.com
Tue Jun 20 18:18:39 PDT 2023


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

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

  Log Message:
  -----------
  AX: AccessibilityNodeObject::addChildren() does not null-check its node before using it
https://bugs.webkit.org/show_bug.cgi?id=258314
rdar://110703896

Reviewed by Chris Fleizach.

This leads to nullptr-deref crashes. This patch adds a null check.

* Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::addChildren):

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




More information about the webkit-changes mailing list