Commit 42b25dd
authored
pythongh-120155: Add assertion to sre.c match_getindex() (python#120402)
Add an assertion to help static analyzers to detect that i*2 cannot
overflow.1 parent 4b1e85b commit 42b25dd
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2217 | 2217 | | |
2218 | 2218 | | |
2219 | 2219 | | |
| 2220 | + | |
| 2221 | + | |
2220 | 2222 | | |
2221 | 2223 | | |
2222 | 2224 | | |
| |||
0 commit comments