Fixed a possible use-after-free bug in initialization code.
This commit is contained in:
parent
1c621dff07
commit
02495f8856
@ -35,7 +35,7 @@
|
|||||||
#define VER_LAMEXP_MINOR_LO 2
|
#define VER_LAMEXP_MINOR_LO 2
|
||||||
#define VER_LAMEXP_TYPE Beta
|
#define VER_LAMEXP_TYPE Beta
|
||||||
#define VER_LAMEXP_PATCH 2
|
#define VER_LAMEXP_PATCH 2
|
||||||
#define VER_LAMEXP_BUILD 1773
|
#define VER_LAMEXP_BUILD 1775
|
||||||
#define VER_LAMEXP_CONFG 1700
|
#define VER_LAMEXP_CONFG 1700
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -411,7 +411,7 @@ double InitializationThread::doInit(const size_t threadCount)
|
|||||||
|
|
||||||
if(cpuType & cpuSupport)
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user