[webkit-changes] [WebKit/WebKit] 35b5d9: Null deref under DynamicContentScalingImageBufferB...

Tim Horton noreply at github.com
Wed Dec 20 14:21:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 35b5d996abd860f1985f009634c683ce47c28798
      https://github.com/WebKit/WebKit/commit/35b5d996abd860f1985f009634c683ce47c28798
  Author: Tim Horton <thorton at apple.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

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

  Log Message:
  -----------
  Null deref under DynamicContentScalingImageBufferBackend::createBackendHandle
https://bugs.webkit.org/show_bug.cgi?id=266723
rdar://119854411

Reviewed by Aditya Keerthi.

* Source/WebKit/Shared/RemoteLayerTree/DynamicContentScalingImageBufferBackend.mm:
(WebKit::DynamicContentScalingImageBufferBackend::createBackendHandle const):
Add a null check, since we have evidence that we can be asked to make a backend
handle when nobody has painted into the layer. I'm not sure why, but it's certainly
preferable to just not have a display list than to crash.

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




More information about the webkit-changes mailing list