Zebediah Figura : krnl386: Don't handle %ss in fix_selector().

Alexandre Julliard julliard at winehq.org
Mon Sep 27 15:21:43 CDT 2021


Module: wine
Branch: master
Commit: 4b7355e7f60e71871ca36066d1a7ff699b21f3c8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4b7355e7f60e71871ca36066d1a7ff699b21f3c8

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Sun Sep 26 21:11:13 2021 -0500

krnl386: Don't handle %ss in fix_selector().

Loading %ss with zero isn't valid either. If %ss is invalid we have bigger
problems anyway.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/krnl386.exe16/wowthunk.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/krnl386.exe16/wowthunk.c b/dlls/krnl386.exe16/wowthunk.c
index 0e9e9b6744c..800f3c275a5 100644
--- a/dlls/krnl386.exe16/wowthunk.c
+++ b/dlls/krnl386.exe16/wowthunk.c
@@ -93,7 +93,6 @@ static BOOL fix_selector( CONTEXT *context )
     switch(instr[0])
     {
     case 0x07: /* pop es */
-    case 0x17: /* pop ss */
     case 0x1f: /* pop ds */
         break;
     case 0x0f: /* extended instruction */




More information about the wine-cvs mailing list