Fix RandomX crash when compiled with fortify_source

This commit is contained in:
SChernykh 2024-03-20 21:24:02 +01:00
parent e65e283aac
commit f6c50b5393
4 changed files with 4 additions and 4 deletions

View file

@ -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] = {};