mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-12 01:42:48 -05:00
Fix RandomX crash when compiled with fortify_source
This commit is contained in:
@@ -81,7 +81,7 @@ namespace randomx {
|
||||
void enableWriting() const;
|
||||
void enableExecution() const;
|
||||
|
||||
alignas(64) static InstructionGeneratorX86 engine[256];
|
||||
alignas(64) static InstructionGeneratorX86 engine[257];
|
||||
|
||||
private:
|
||||
int registerUsage[RegistersCount] = {};
|
||||
|
||||
Reference in New Issue
Block a user