Repository navigation
Commit 814300a
committed
Mark fatal string allocation overflow as unreachable
Let GCC see that non-fallible overflow handling aborts, avoiding false
array-bounds errors in callers that copy into the allocated string.1 parent c42e75c commit 814300a
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
143 | 149 | | |
144 | 150 | | |
145 | 151 | | |
| |||
0 commit comments