Repository navigation
Commit 23b809e
committed
Walk VM: mask the field index at each use; a 32-bit fill loses its bound
Every kernel rejected the per-CPU-state object at insn 670: "R4 unbounded
memory access" on fcount[key]. clang spilled key as a 4-byte slot and the
verifier treats that fill as unknown. Mask where it is used, as before.1 parent b97c6c2 commit 23b809e
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
358 | | - | |
359 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
360 | 362 | | |
361 | 363 | | |
362 | 364 | | |
| |||
0 commit comments