RandomX: correct memcpy size for JIT initialization

No buffer overflow, better fix for `_FORTIFY_SOURCE`
This commit is contained in:
SChernykh
2024-04-14 09:13:00 +02:00
parent e50c950191
commit be8161f9fa
5 changed files with 5 additions and 6 deletions

View File

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