[webkit-changes] [WebKit/WebKit] f5992b: nullptr crash in WebCore::Document::removeVisualUp...

mattwoodrow noreply at github.com
Thu Aug 29 19:43:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f5992b2640e0f768704767a7a7d8cb7099db93c8
      https://github.com/WebKit/WebKit/commit/f5992b2640e0f768704767a7a7d8cb7099db93c8
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  nullptr crash in WebCore::Document::removeVisualUpdatePreventedReasons.
https://bugs.webkit.org/show_bug.cgi?id=278889
<rdar://134585167>

Reviewed by Dan Glastonbury.

Somewhat subtly, adding a ; into an if statement results in the first half not
actually being part of the tested condition.

* Source/WebCore/dom/Document.cpp:
(WebCore::Document::removeVisualUpdatePreventedReasons):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list