Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 18063444ac9927b32405146edf1424e6538ce03a
      
https://github.com/WebKit/WebKit/commit/18063444ac9927b32405146edf1424e6538ce03a
  Author: Ryosuke Niwa <rn...@webkit.org>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M Source/WebCore/loader/ImageLoader.cpp

  Log Message:
  -----------
  REGRESSION(273148@main): Crash on veggiegrill.com
https://bugs.webkit.org/show_bug.cgi?id=267878

Reviewed by Alex Christensen and Chris Dumez.

There are some cases in which we enter this function with m_image being nullptr.
Call updateFromElementIgnoringPreviousError in those cases.

No new tests since I couldn't create a reliable reduction. The issue seems to be
highly timing sensitive.

* Source/WebCore/loader/ImageLoader.cpp:
(WebCore::ImageLoader::updateFromElementIgnoringPreviousErrorToSameValue):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to