Commit 1aed7e0
authored
Fix missing braces in x64run0f.c opcode 0x00 handler (#3471)
The else branch at line 89 was missing braces, causing the second
switch statement to always execute regardless of rex.is32bits.
In 32-bit mode, after the first switch handled instructions like
VERR/VERW (cases 4/5), the second switch would also run and hit
default, returning 0.1 parent b3b7f3a commit 1aed7e0
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
0 commit comments