summaryrefslogtreecommitdiff
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2012-11-22 03:29:12 +0400
committerAlexander Graf <agraf@suse.de>2012-12-06 04:33:59 +0400
commit05dd85f7933ffbe6d71415e631c95ca615ae1e81 (patch)
tree692796f7f43064301bd7d06167b2024ed9b11595 /lib/vsprintf.c
parenta64fd707481631b9682f9baeefac489bc55bbf73 (diff)
downloadlinux-05dd85f7933ffbe6d71415e631c95ca615ae1e81.tar.xz
KVM: PPC: Book3S HV: Report correct HPT entry index when reading HPT
This fixes a bug in the code which allows userspace to read out the contents of the guest's hashed page table (HPT). On the second and subsequent passes through the HPT, when we are reporting only those entries that have changed, we were incorrectly initializing the index field of the header with the index of the first entry we skipped rather than the first changed entry. This fixes it. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions