KVM: x86 emulator: initialize memop
authorAvi Kivity <avi@redhat.com>
Sun, 10 Jun 2012 14:11:00 +0000 (17:11 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 9 Jul 2012 11:19:02 +0000 (14:19 +0300)
memop is not initialized; this can lead to a two-byte operation
following a 4-byte operation to see garbage values.  Usually
truncation fixes things fot us later on, but at least in one case
(call abs) it doesn't.

Fix by moving memop to the auto-initialized field area.

Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found