[webkit-changes] [WebKit/WebKit] 5061d1: Nullptr crash in RemoteLayerBackingStoreCollection...

mattwoodrow noreply at github.com
Mon Dec 11 21:43:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5061d1d61741d68e0e0b9f60dbd2afcf1ac64558
      https://github.com/WebKit/WebKit/commit/5061d1d61741d68e0e0b9f60dbd2afcf1ac64558
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStoreCollection.mm

  Log Message:
  -----------
  Nullptr crash in RemoteLayerBackingStoreCollection::prepareBackingStoresForDisplay.
https://bugs.webkit.org/show_bug.cgi?id=266263
<rdar://119526173>

Reviewed by Jean-Yves Avenard.

'backingStore' is a WeakPtr& and might be null, so we need to check it.

* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStoreCollection.mm:
(WebKit::RemoteLayerBackingStoreCollection::prepareBackingStoresForDisplay):

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




More information about the webkit-changes mailing list