Skip to content

Fixed potential out of bounds access#18

Open
tsoj wants to merge 1 commit intoksasso1028:mainfrom
tsoj:patch-1
Open

Fixed potential out of bounds access#18
tsoj wants to merge 1 commit intoksasso1028:mainfrom
tsoj:patch-1

Conversation

@tsoj
Copy link

@tsoj tsoj commented Jun 11, 2025

Issue is the float xPrime = dets[i + 1].topLeft.x; which accesses beyond the vector if i + 1 >= dets.size().
To be honest I didn't fully understand every detail of the mergeBoundingBoxes function so I might have messed something up, but for the test.jpg image the result seems to be the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant