[webkit-changes] [WebKit/WebKit] c6922a: [WebGPU] Ensure imageBytes always contains four ch...

mwyrzykowski noreply at github.com
Thu Aug 15 07:38:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c6922a134b03a152e604d0bc7166eb56ab46c331
      https://github.com/WebKit/WebKit/commit/c6922a134b03a152e604d0bc7166eb56ab46c331
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-08-15 (Thu, 15 Aug 2024)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/GPUQueue.cpp

  Log Message:
  -----------
  [WebGPU] Ensure imageBytes always contains four channel data
https://bugs.webkit.org/show_bug.cgi?id=278083
radar://131038795

Reviewed by Dan Glastonbury.

Ensure imageBytes is always a multiple of four, which it currently
is, but if that assumption were not to hold we would have a buffer
overflow in the web content process.

* Source/WebCore/Modules/WebGPU/GPUQueue.cpp:
(WebCore::GPUQueue::copyExternalImageToTexture):

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