Commit 4e70d41
committed
exif/heic: Fix bound check in loop
The loop checks against `p` but increases `p2`. I don't see the point of
having 2 separate variables, so use `p` instead to correct the bounds
check and simplify the code in the process.1 parent 4123b8e commit 4e70d41
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4308 | 4308 | | |
4309 | 4309 | | |
4310 | 4310 | | |
4311 | | - | |
| 4311 | + | |
4312 | 4312 | | |
4313 | 4313 | | |
4314 | 4314 | | |
| |||
4367 | 4367 | | |
4368 | 4368 | | |
4369 | 4369 | | |
4370 | | - | |
4371 | | - | |
4372 | | - | |
4373 | | - | |
| 4370 | + | |
| 4371 | + | |
| 4372 | + | |
| 4373 | + | |
4374 | 4374 | | |
4375 | 4375 | | |
4376 | 4376 | | |
| |||
0 commit comments