[webkit-changes] [WebKit/WebKit] 6e8106: [WebGPU] PresentationContextIOSurface::present doe...

mwyrzykowski noreply at github.com
Wed Jul 24 20:55:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6e8106f73d639ea1f0dde7fb2529956d1279e8eb
      https://github.com/WebKit/WebKit/commit/6e8106f73d639ea1f0dde7fb2529956d1279e8eb
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
    A LayoutTests/fast/webgpu/nocrash/fuzz-277035-expected.txt
    A LayoutTests/fast/webgpu/nocrash/fuzz-277035.html
    M Source/WebGPU/WebGPU/PresentationContextIOSurface.mm

  Log Message:
  -----------
  [WebGPU] PresentationContextIOSurface::present doesn't check for valid device
https://bugs.webkit.org/show_bug.cgi?id=277035
<radar://130758850>

Reviewed by Dan Glastonbury.

Check for valid device prior and index to indexing into the Vector.

* LayoutTests/fast/webgpu/nocrash/fuzz-277035-expected.txt: Added.
* LayoutTests/fast/webgpu/nocrash/fuzz-277035.html: Added.
* Source/WebGPU/WebGPU/PresentationContextIOSurface.mm:

Canonical link: https://commits.webkit.org/281331@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