I tested this patch on an x86_64 Linux host using QEMU x86_64 linux-user TCG.
Native execution completed successfully with exit status 0. Clean QEMU reproduced the failure with SIGSEGV and exit status 139. QEMU with this patch applied completed successfully with exit status 0. Tested-by: Yudistira Putra <[email protected]>
