Commit 0d929d9
committed
regexec: assert we stay in bounds when matching \b{wb}
Coverity (CID 550207) complains that the loop condition only ensures
'index' stays in bounds of WB_dfa_table, not 'index+1'. I don't think
the data in the table lets us go out of bounds here, but it doesn't hurt
to assert() that assumption.1 parent 765f0a6 commit 0d929d9
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6273 | 6273 | | |
6274 | 6274 | | |
6275 | 6275 | | |
| 6276 | + | |
6276 | 6277 | | |
6277 | 6278 | | |
6278 | 6279 | | |
| |||
0 commit comments