Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

munmap_chunk() invalid pointer problem, in cvStartFindContours_Impl() #14105

Open
fcyella opened this issue Mar 19, 2019 · 1 comment
Open

munmap_chunk() invalid pointer problem, in cvStartFindContours_Impl() #14105

fcyella opened this issue Mar 19, 2019 · 1 comment
Labels
bug category: imgproc needs reproducer Provide complete minimal reproducer with input data

Comments

@fcyella
Copy link

fcyella commented Mar 19, 2019

  • OpenCV => 4.0.1
  • Operating System / Platform => ARM64
  • Compiler => GCC 7.3
    -->

at line 307, modules/imgproc/src/contours.cpp, in cvStartFindContours_Impl(), the src and dst ptr is the same one for cvThreshold, but cvThreshold requires a const src pointer, that will cause memory crash for some cases.

@alalek
Copy link
Member

alalek commented Mar 19, 2019

Please provide complete minimal reproducer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug category: imgproc needs reproducer Provide complete minimal reproducer with input data
Projects
None yet
Development

No branches or pull requests

2 participants