Project

General

Profile

Actions

Bug #8184

open

Loop counters underflows across codebase

Added by Sergey Zhidkih about 1 month ago. Updated 19 days ago.

Status:
In Review
Priority:
Normal
Target version:

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

Actions #1

Updated by Victor Julien 29 days ago

Hi Sergey, you mention that "So I fixed all of them". Where did you fix this?

Actions #2

Updated by Sergey Zhidkih 29 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.

Actions #3

Updated by Victor Julien 29 days ago

  • Status changed from New to Assigned
  • Target version changed from 7.0.14 to 9.0.0-beta1

Ok, thank you!

Actions #4

Updated by Sergey Zhidkih 19 days ago

  • Status changed from Assigned to In Review
Actions

Also available in: Atom PDF