Commit d8bd8c5
[clang][bytecode] Check memcmp builtin for one-past-the-end pointers (llvm#170097)
We can't read from those and will run into an assertion sooner or later.
Fixes llvm#1700311 parent 72a4e62 commit d8bd8c5
File tree
2 files changed
+11
-0
lines changed- clang
- lib/AST/ByteCode
- test/AST/ByteCode
2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1921 | 1921 | | |
1922 | 1922 | | |
1923 | 1923 | | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
1924 | 1928 | | |
1925 | 1929 | | |
1926 | 1930 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1545 | 1545 | | |
1546 | 1546 | | |
1547 | 1547 | | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
1548 | 1555 | | |
1549 | 1556 | | |
1550 | 1557 | | |
| |||
0 commit comments