mirror of
https://github.com/wownero/RandomX.git
synced 2026-10-21 09:18:45 +02:00
fix potential use-after-free when reallocating cache
This commit is contained in:
@@ -54,6 +54,9 @@ public:
|
||||
{
|
||||
return program;
|
||||
}
|
||||
const uint8_t* getMemory() const {
|
||||
return mem.memory;
|
||||
}
|
||||
protected:
|
||||
void initialize();
|
||||
alignas(64) randomx::Program program;
|
||||
|
||||
Reference in New Issue
Block a user