Fix RandomX crash when compiled with fortify_source

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

View File

@@ -74,7 +74,7 @@ namespace randomx {
void enableWriting() const;
void enableExecution() const;
static InstructionGeneratorA64 engine[256];
static InstructionGeneratorA64 engine[257];
private:
const bool hugePages;