Repository navigation
Commit 96d27cc
authored
check rfind() result in simplifyPath() before using it - fixes "unsigned integer overflow" reported by UBSAN (cppcheck-opensource#196)
1 parent b1c05bf commit 96d27cc
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2222 | 2222 | | |
2223 | 2223 | | |
2224 | 2224 | | |
2225 | | - | |
2226 | | - | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
2227 | 2232 | | |
2228 | 2233 | | |
2229 | 2234 | | |
2230 | 2235 | | |
2231 | 2236 | | |
2232 | | - | |
| 2237 | + | |
2233 | 2238 | | |
2234 | 2239 | | |
2235 | 2240 | | |
| |||
0 commit comments