diff options
author | Avi Kivity <avi@redhat.com> | 2012-06-10 14:11:00 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-07-09 11:19:02 (GMT) |
commit | cbd27ee783f1e56d56415e8c5f2492ccedd565c4 (patch) | |
tree | 0e4f1211f1073550028cab8e9baa74feb3b68b23 /arch/x86/kvm/emulate.c | |
parent | f47cfa3174ad8bd39e56524b36e79c463bf820b1 (diff) | |
download | linux-fsl-qoriq-cbd27ee783f1e56d56415e8c5f2492ccedd565c4.tar.xz |
KVM: x86 emulator: initialize memop
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>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions