Skip to content

Fix signed integer overflow in connected components#18314

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
gilsho:components
Sep 14, 2020
Merged

Fix signed integer overflow in connected components#18314
opencv-pushbot merged 1 commit intoopencv:3.4from
gilsho:components

Conversation

@gilsho
Copy link
Copy Markdown
Contributor

@gilsho gilsho commented Sep 11, 2020

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@gilsho
Copy link
Copy Markdown
Contributor Author

gilsho commented Sep 11, 2020

This bug poses a potential vulnerability. It triggers address sanitizer.

@gilsho gilsho force-pushed the components branch 2 times, most recently from 212ba2e to 3bc53b6 Compare September 11, 2020 07:41
@asmorkalov asmorkalov self-requested a review September 11, 2020 07:50
@opencv-pushbot opencv-pushbot merged commit 18440c1 into opencv:3.4 Sep 14, 2020
@alalek alalek mentioned this pull request Sep 19, 2020
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.

4 participants