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

Zebediah Figura zfigura at codeweavers.com
Sun Sep 26 21:11:13 CDT 2021


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>
---
There's not much point to this patch other than deleting a line of code.

 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 */
-- 
2.33.0




More information about the wine-devel mailing list