Skip to content

wow64cpu: In Unix calls, always return the status from the non-Wow dispatcher.

Even if WOW64_CPURESERVED_FLAG_RESET_STATE ends up being set.


Unix call equivalent of 419e4d69. After 7ef95229, a SIGUSR1 in the middle of a Unix call can set WOW64_CPURESERVED_FLAG_RESET_STATE. If that happens, the original eax from before the Unix call will be restored in syscall_32to64_return, stomping on the actual return from the Unix function.

Thanks to @gofman for help spotting this!

Merge request reports

Loading