Project

General

Profile

Actions

Bug #8184

open

Loop counters underflows across codebase

Added by Sergey Zhidkih 3 days ago.

Status:
New
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

No data to display

Actions

Also available in: Atom PDF