Commit db9549c
authored
[clang][bytecode] Check builtin_memchr() for one-past-end pointers (#174187)
We can't read from them and this fails later.
Fixes llvm/llvm-project#1739421 parent 0394ad1 commit db9549c
File tree
2 files changed
+9
-0
lines changed- clang
- lib/AST/ByteCode
- test/AST/ByteCode
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
2089 | 2091 | | |
2090 | 2092 | | |
2091 | 2093 | | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
2092 | 2097 | | |
2093 | 2098 | | |
2094 | 2099 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1649 | 1649 | | |
1650 | 1650 | | |
1651 | 1651 | | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
1652 | 1656 | | |
1653 | 1657 | | |
1654 | 1658 | | |
| |||
0 commit comments