Use correct jump instruction.

This commit is contained in:
4lDO2
2021-02-15 20:05:00 +01:00
parent c19581282d
commit a4b3af34a5

View File

@@ -108,7 +108,7 @@ function!(syscall_instruction => {
// If ZF was set, i.e. the address was invalid higher-half, so jump to the slower iretq and
// handle the error without being able to execute attacker-controlled code!
jmp 1f
jnz 1f
// Otherwise, continue with the fast sysretq.