Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a71e93715498ea8ea6854bb921d20646b5f99ccc
      
https://github.com/WebKit/WebKit/commit/a71e93715498ea8ea6854bb921d20646b5f99ccc
  Author: Said Abou-Hallawa <s...@apple.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M Source/WebKit/WebProcess/GPU/graphics/RemoteResourceCacheProxy.cpp

  Log Message:
  -----------
  [GPU Process] Possible null dereferencing when destroying the cached 
RenderingResources of a WebPage
https://bugs.webkit.org/show_bug.cgi?id=267388
rdar://120464355

Reviewed by Chris Dumez.

Because RemoteResourceCacheProxy stores the cached RenderingResources in a 
HashMap
of WeakPtrs, RemoteResourceCacheProxy::clearRenderingResourceMap() needs to 
ensure
the WeakPtr of the RenderingResource is not null before using it.

* Source/WebKit/WebProcess/GPU/graphics/RemoteResourceCacheProxy.cpp:
(WebKit::RemoteResourceCacheProxy::clearRenderingResourceMap):

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


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

Reply via email to