From d6f368a3f400fea3e89280262a8147e7ce5d855c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 22 Aug 2019 00:59:49 +0200 Subject: Move thread work from compiler/parser to thread_work file, fix use after free bug in multithreaded parser allocator --- executor/x86_64/asm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor') diff --git a/executor/x86_64/asm.c b/executor/x86_64/asm.c index 606e539..c741f15 100644 --- a/executor/x86_64/asm.c +++ b/executor/x86_64/asm.c @@ -315,7 +315,7 @@ static void asm_rm(Asm *self, AsmPtr *mem, Reg64 reg) { } *self->code_it++ = (reg << 3) | rm_byte; - /* RSP requires SIB byte when displacement is not 0 */ + /* RSP requires SIB byte */ if(mem->base == RSP) *self->code_it++ = 0x24; } -- cgit v1.2.3