qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5219] Fix array subscript above array bounds error
@ 2008-09-14 19:16 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-09-14 19:16 UTC (permalink / raw)
  To: qemu-devel

Revision: 5219
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5219
Author:   blueswir1
Date:     2008-09-14 19:16:21 +0000 (Sun, 14 Sep 2008)

Log Message:
-----------
Fix array subscript above array bounds error

Modified Paths:
--------------
    trunk/target-sparc/op_helper.c

Modified: trunk/target-sparc/op_helper.c
===================================================================
--- trunk/target-sparc/op_helper.c	2008-09-14 18:30:32 UTC (rev 5218)
+++ trunk/target-sparc/op_helper.c	2008-09-14 19:16:21 UTC (rev 5219)
@@ -1061,7 +1061,7 @@
             break;
         case 0x01c00a04: /* MXCC control register */
             if (size == 4)
-                env->mxccregs[3] = (env->mxccregs[0xa] & 0xffffffff00000000ULL)
+                env->mxccregs[3] = (env->mxccregs[3] & 0xffffffff00000000ULL)
                     | val;
             else
                 DPRINTF_MXCC("%08x: unimplemented access size: %d\n", addr,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-14 19:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-14 19:16 [Qemu-devel] [5219] Fix array subscript above array bounds error Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).