[webkit-changes] [WebKit/WebKit] 2c5bae: nullptr crash in WebCore::SelectorChecker::attribu...

Antti Koivisto noreply at github.com
Thu Mar 2 09:37:46 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2c5baee03fa2b1b6fe88de5e21587c4f8246b394
      https://github.com/WebKit/WebKit/commit/2c5baee03fa2b1b6fe88de5e21587c4f8246b394
  Author: Antti Koivisto <antti at apple.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M Source/WebCore/style/AttributeChangeInvalidation.cpp

  Log Message:
  -----------
  nullptr crash in WebCore::SelectorChecker::attributeSelectorMatches
https://bugs.webkit.org/show_bug.cgi?id=253067
rdar://105628059

Reviewed by Geoffrey Garen and Alan Baradlay.

Speculative fix.

* Source/WebCore/style/AttributeChangeInvalidation.cpp:
(WebCore::Style::AttributeChangeInvalidation::invalidateStyle):

Check that we actually have an attribute selector.

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




More information about the webkit-changes mailing list