WebGPU Pad kernel int64 / int32 truncation can read to oob read - #28721
Conversation
Review — PR #28721 (WebGPU Pad: int64→int32 truncation OOB + wrap negative-mod)Verdict: approve. Two real bugs fixed cleanly in one small PR, with tests for both. What it fixes
What's right
Minor comments1. The bounds check covers 2. Negative 3. The wrap fix 4. Test naming nit. 5. The two new tests share substantial setup boilerplate ( Things to verify before merge
Bottom lineTwo narrow, real bugs; correct fixes; tested. Approve. 86/86 CI green. The minor comments above are documentation polish and a symmetric negative-bound test — nice to have, not blockers. |
WebGPU Pad kernel int64 / int32 truncation can read to oob read