From 4ab7c93b3511eda8761ce715e1db42ecdbfcc688 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Mon, 20 Mar 2023 18:49:23 +0900 Subject: [PATCH] [NTUSER] IntNotifyImeShowStatus: Use _SEH2_YIELD CORE-11700 --- win32ss/user/ntuser/ime.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/win32ss/user/ntuser/ime.c b/win32ss/user/ntuser/ime.c index 97021f0daca..319405ebb06 100644 --- a/win32ss/user/ntuser/ime.c +++ b/win32ss/user/ntuser/ime.c @@ -2327,7 +2327,6 @@ IntSendOpenStatusNotify(PTHREADINFO ptiIME, PIMEUI pimeui, PWND pWnd, BOOL bOpen } // Update the IME status and send a notification. -// Win: xxxNotifyImeShowStatus VOID FASTCALL IntNotifyImeShowStatus(PWND pImeWnd) { PIMEUI pimeui; @@ -2367,9 +2366,12 @@ VOID FASTCALL IntNotifyImeShowStatus(PWND pImeWnd) } _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) { + ERR("!!!\n"); + if (pti != ptiIME) KeDetachProcess(); - return; + + _SEH2_YIELD(return); } _SEH2_END;