From 4b7355e7f60e71871ca36066d1a7ff699b21f3c8 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Sun, 26 Sep 2021 21:11:13 -0500 Subject: [PATCH] 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 Signed-off-by: Alexandre Julliard --- 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 */