x86: properly set up fbld emulation operand address

This is CVE-2013-4361 / XSA-66.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
master commit: 28b706efb6
master date: 2013-09-30 14:18:58 +0200
This commit is contained in:
Jan Beulich committed 2013-09-30 14:32:39 +02:00
1 parent 592e139cab
commit ca0fe6dc4f
1 file changed
+2 -2
+2 -2
View File
@@ -2975,11 +2975,11 @@ x86_emulate(
break;
case 4: /* fbld m80dec */
ea.bytes = 10;
dst = ea;
src = ea;
if ( (rc = ops->read(src.mem.seg, src.mem.off,
&src.val, src.bytes, ctxt)) != 0 )
goto done;
emulate_fpu_insn_memdst("fbld", src.val);
emulate_fpu_insn_memsrc("fbld", src.val);
break;
case 5: /* fild m64i */
ea.bytes = 8;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.