15 Jul
2025
15 Jul
'25
7:15 p.m.
Even if WOW64_CPURESERVED_FLAG_RESET_STATE ends up being set. --- Unix call equivalent of 419e4d69d6c3a4ea8b355f8b3fc211950eed0cdd. After 7ef95229913cf004d002459fe9e53307344479f2, 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! -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8577