Bug #8184
openLoop counters underflows across codebase
Description
During the fuzzing of sigpcap for 7.10.0, multiple occurrences of loop counter underflow were detected.
After investigation, it was determined that the issue affected 11 source code files.
Most of the loops contained underflow after the counter was fully used, which had almost no impact on the application's operation. Some of the loops were written in a very strange manner, with unnecessary checks that made it a bit difficult to understand. One loop seemed to actually cause a minor bug.
So I fixed all of them.
Files
Updated by Victor Julien 28 days ago
Hi Sergey, you mention that "So I fixed all of them". Where did you fix this?
Updated by Sergey Zhidkih 28 days ago
Victor Julien wrote in #note-1:
Hi Sergey, you mention that "So I fixed all of them". Where did you fix this?
I haven't created a pull request for review yet since I'm on vacation right now. I will create a PR closer to the end of the week or, most likely, next week.
Updated by Victor Julien 28 days ago
- Status changed from New to Assigned
- Target version changed from 7.0.14 to 9.0.0-beta1
Ok, thank you!