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

Fix #350 - memory leak on exit #412

Merged
merged 1 commit into from
Jun 27, 2019

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Jun 27, 2019

This fixes CVE-2018-18443, the last thread pool provider set into the
pool was not being correctly cleaned up at shutdown of the thread pool.

Signed-off-by: Kimball Thurston kdt3rd@gmail.com

This fixes CVE-2018-18443, the last thread pool provider set into the
pool was not being correctly cleaned up at shutdown of the thread pool.

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
@kdt3rd kdt3rd mentioned this pull request Jun 27, 2019
@cary-ilm
Copy link
Member

Looks good to me.

@kdt3rd kdt3rd merged commit adbc190 into AcademySoftwareFoundation:master Jun 27, 2019
@kdt3rd kdt3rd deleted the fix_350 branch June 27, 2019 19:48
@cary-ilm cary-ilm added this to the v2.4.0 milestone Aug 10, 2019
xerus pushed a commit to xerus/opencv that referenced this pull request Oct 27, 2019
 Direct leak of 8 byte(s) in 1 object(s) allocated from:
     #0 0x5d9c7f in operator new(unsigned long) (/home/pgrunt/src/image_flat/build_asan/iface/unit_tests/iface_unittest+0x5d9c7f)
     opencv#1 0x7fa5e5fbce7a in IlmThread_opencv::ThreadPool::ThreadPool(unsigned int) /home/pgrunt/src/image_flat/ext_libs/opencv/3rdparty/openexr/IlmThread/IlmThreadPool.cpp:758:29
     opencv#2 0x7fa5e5fbce7a in IlmThread_opencv::ThreadPool::globalThreadPool() /home/pgrunt/src/image_flat/ext_libs/opencv/3rdparty/openexr/IlmThread/IlmThreadPool.cpp:838

Taken from AcademySoftwareFoundation/openexr#412
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.

2 participants