Commit d365be8
JIT: Fix invalid containment of vector broadcasts (#92371)
The containment checks for vector broadcasts were missing a size check,
meaning that a uint broadcast could contain a ubyte/ushort indirection.
That would lead to out-of-bounds reads.
Fix #83387
Co-authored-by: Jakob Botsch Nielsen <[email protected]>1 parent 073588e commit d365be8
File tree
4 files changed
+32
-2
lines changed- src
- coreclr/jit
- tests/JIT/Regression/JitBlue/Runtime_83387
4 files changed
+32
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19639 | 19639 | | |
19640 | 19640 | | |
19641 | 19641 | | |
19642 | | - | |
19643 | | - | |
| 19642 | + | |
| 19643 | + | |
19644 | 19644 | | |
19645 | 19645 | | |
19646 | 19646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7956 | 7956 | | |
7957 | 7957 | | |
7958 | 7958 | | |
| 7959 | + | |
| 7960 | + | |
| 7961 | + | |
7959 | 7962 | | |
7960 | 7963 | | |
7961 | 7964 | | |
| |||
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments