[webkit-changes] [WebKit/WebKit] 311366: Null pointer dereference in elementHasClassInClose...

Sihui noreply at github.com
Tue Feb 13 14:16:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 31136601a244d70afe3612b81d9e2788921b1cf6
      https://github.com/WebKit/WebKit/commit/31136601a244d70afe3612b81d9e2788921b1cf6
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2024-02-13 (Tue, 13 Feb 2024)

  Changed paths:
    M Source/WebCore/page/Quirks.cpp

  Log Message:
  -----------
  Null pointer dereference in elementHasClassInClosestAncestors
https://bugs.webkit.org/show_bug.cgi?id=269308
rdar://122892811

Reviewed by Brent Fulgham.

Ensure ancestor is non-null before accessing it.

* Source/WebCore/page/Quirks.cpp:
(WebCore::elementHasClassInClosestAncestors):

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




More information about the webkit-changes mailing list