Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1cc2d18fb3defe593385f5f10e1555ccdc9ab894
https://github.com/WebKit/WebKit/commit/1cc2d18fb3defe593385f5f10e1555ccdc9ab894
Author: Mike Wyrzykowski <[email protected]>
Date: 2024-11-18 (Mon, 18 Nov 2024)
Changed paths:
M Source/WebGPU/WebGPU/RenderPipeline.mm
Log Message:
-----------
[WebGPU] pathological integer wrap in createVertexDescriptor
https://bugs.webkit.org/show_bug.cgi?id=283200
rdar://136576990
Reviewed by Tadeu Zagallo.
Migrate += to using checked math in a case which should not overflow.
Test: existing tests pass. No new test because overflow test would
require vector with > 2^32 - 1 elements and we would run out of memory
first given the elements are each 16 bytes so ~64GB of memory from that
allocation alone.
* Source/WebGPU/WebGPU/RenderPipeline.mm:
(WebGPU::createVertexDescriptor):
Canonical link: https://commits.webkit.org/286758@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes