aboutsummaryrefslogtreecommitdiff
path: root/graphics/ilmbase/files/patch-CVE-2018-18443
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ilmbase/files/patch-CVE-2018-18443')
-rw-r--r--graphics/ilmbase/files/patch-CVE-2018-1844330
1 files changed, 0 insertions, 30 deletions
diff --git a/graphics/ilmbase/files/patch-CVE-2018-18443 b/graphics/ilmbase/files/patch-CVE-2018-18443
deleted file mode 100644
index babaadd8daea..000000000000
--- a/graphics/ilmbase/files/patch-CVE-2018-18443
+++ /dev/null
@@ -1,30 +0,0 @@
-From adbc1900cb9d25fcc4df008d4008b781cf2fa4f8 Mon Sep 17 00:00:00 2001
-From: Kimball Thurston <kdt3rd@gmail.com>
-Date: Thu, 27 Jun 2019 22:15:17 +1200
-Subject: [PATCH] Fix #350 - memory leak on exit
-
-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>
----
- CHANGES.md | 4 ++++ -- OMITTED/Matthias Andree
- IlmBase/IlmThread/IlmThreadPool.cpp | 2 ++
- 2 files changed, 6 insertions(+)
-
-diff --git a/IlmBase/IlmThread/IlmThreadPool.cpp b/IlmBase/IlmThread/IlmThreadPool.cpp
-index 174ab98c..24ca7395 100644
---- ./IlmThread/IlmThreadPool.cpp~
-+++ ./IlmThread/IlmThreadPool.cpp
-@@ -566,9 +566,11 @@ ThreadPool::Data::~Data()
- {
- #ifdef ILMBASE_FORCE_CXX03
- provider->finish();
-+ delete provider;
- #else
- ThreadPoolProvider *p = provider.load( std::memory_order_relaxed );
- p->finish();
-+ delete p;
- #endif
- }
-