Commit 5c0a19b
Validate axes bounds in WebGPU Slice operator
After normalizing negative axes, validate that each axis is within
[0, input_rank). Without this check, out-of-range axes could cause
out-of-bounds access on the input shape array.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 271446e commit 5c0a19b
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| |||
0 commit comments