Skip to content

Fix connected components ParallelGrana buffer overflow#14964

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
arnaudbrejeon:bug_fix_14955
Jul 2, 2019
Merged

Fix connected components ParallelGrana buffer overflow#14964
opencv-pushbot merged 1 commit intoopencv:3.4from
arnaudbrejeon:bug_fix_14955

Conversation

@arnaudbrejeon
Copy link
Copy Markdown
Contributor

resolves #14955

Increase the size of chunksSizeAndLabelsSize to make sure further access is not out of bounds.
Add an assert to check that the new size is correct and a test that used to make the assert fail.

Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done! Thank you 👍

@opencv-pushbot opencv-pushbot merged commit a37201a into opencv:3.4 Jul 2, 2019
@alalek alalek mentioned this pull request Jul 2, 2019
@arnaudbrejeon arnaudbrejeon deleted the bug_fix_14955 branch January 23, 2020 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants