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

@@ -1443,6 +1443,6 @@ namespace randomx {
emitByte(0x90, code, codePos);
}
alignas(64) InstructionGeneratorX86 JitCompilerX86::engine[257] = {};
alignas(64) InstructionGeneratorX86 JitCompilerX86::engine[256] = {};
}