From 02495f885696bc28cc0c5b584e7e4c47872d7e9c Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Fri, 7 Aug 2015 01:57:28 +0200 Subject: [PATCH] Fixed a possible use-after-free bug in initialization code. --- src/Config.h | 2 +- src/Thread_Initialization.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Config.h b/src/Config.h index b7d7839b..613a4f7b 100644 --- a/src/Config.h +++ b/src/Config.h @@ -35,7 +35,7 @@ #define VER_LAMEXP_MINOR_LO 2 #define VER_LAMEXP_TYPE Beta #define VER_LAMEXP_PATCH 2 -#define VER_LAMEXP_BUILD 1773 +#define VER_LAMEXP_BUILD 1775 #define VER_LAMEXP_CONFG 1700 /////////////////////////////////////////////////////////////////////////////// diff --git a/src/Thread_Initialization.cpp b/src/Thread_Initialization.cpp index 46d4d8ce..2598b65d 100644 --- a/src/Thread_Initialization.cpp +++ b/src/Thread_Initialization.cpp @@ -411,7 +411,7 @@ double InitializationThread::doInit(const size_t threadCount) if(cpuType & cpuSupport) { - pool->start(new ExtractorTask(resource.data(), appDir, toolName, toolHash, version, versInfo)); + pool->start(new ExtractorTask(resource.take(), appDir, toolName, toolHash, version, versInfo)); continue; } } -- 2.11.4.GIT