|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86_emulate: Fix FNSTCW/FNSTSW modrm rang
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204037167 0
# Node ID 76479f25cdac507f35cf703d46fdd00026dd4dc3
# Parent 4f8c3a61511c97c0654bd2adad63fb846c783d0e
x86_emulate: Fix FNSTCW/FNSTSW modrm range check.
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
xen/arch/x86/x86_emulate.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 4f8c3a61511c -r 76479f25cdac xen/arch/x86/x86_emulate.c
--- a/xen/arch/x86/x86_emulate.c Tue Feb 26 14:40:44 2008 +0000
+++ b/xen/arch/x86/x86_emulate.c Tue Feb 26 14:46:07 2008 +0000
@@ -2671,7 +2671,7 @@ x86_emulate(
fail_if(ops->load_fpu_ctxt == NULL);
ops->load_fpu_ctxt(ctxt);
fail_if((modrm_reg & 7) != 7);
- fail_if(modrm_reg >= 0xc0);
+ fail_if(modrm >= 0xc0);
/* fnstcw m2byte */
ea.bytes = 2;
dst = ea;
@@ -2690,7 +2690,7 @@ x86_emulate(
fail_if(ops->load_fpu_ctxt == NULL);
ops->load_fpu_ctxt(ctxt);
fail_if((modrm_reg & 7) != 7);
- fail_if(modrm_reg >= 0xc0);
+ fail_if(modrm >= 0xc0);
/* fnstsw m2byte */
ea.bytes = 2;
dst = ea;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86_emulate: Fix FNSTCW/FNSTSW modrm range check.,
Xen patchbot-unstable <=
|
|
|
|
|