Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 1a18bdf5a543ddaec95484da647f03af11b41f0c https://github.com/WebKit/WebKit/commit/1a18bdf5a543ddaec95484da647f03af11b41f0c Author: Darryl Parkinson <d_parkin...@apple.com> Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths: M Source/WebGPU/WebGPU/RenderBundleEncoder.mm M Source/WebGPU/WebGPU/RenderPassEncoder.mm Log Message: ----------- Prevent integer overflow in runVertexBufferValidation by using CheckedNumerics rdar://129055369 Reviewed by Mike Wyrzykowski. Use CheckedSum for addition in runVertexBufferValidation to prevent a possible integer overflow of strideCount * Source/WebGPU/WebGPU/RenderBundleEncoder.mm: (WebGPU::RenderBundleEncoder::runVertexBufferValidation): * Source/WebGPU/WebGPU/RenderPassEncoder.mm: (WebGPU::RenderPassEncoder::runVertexBufferValidation): (WebGPU::RenderPassEncoder::draw): Canonical link: https://commits.webkit.org/279595@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes