aboutsummaryrefslogtreecommitdiffstats
path: root/tools/blktap2/drivers/hashtable_utility.c
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2013-09-23 16:24:48 +0200
committerJan Beulich <jbeulich@suse.com>2013-09-23 16:24:48 +0200
commit2b30611e6b43573ca10977e8a7f57092f7076bb7 (patch)
treec3dce7fc5bf5210b082c7cc44aa8f376c7dc3e08 /tools/blktap2/drivers/hashtable_utility.c
parent6916c31d0ea7deeedbfe5e034202567c73b73a4e (diff)
downloadxen-2b30611e6b43573ca10977e8a7f57092f7076bb7.tar.gz
xen-2b30611e6b43573ca10977e8a7f57092f7076bb7.tar.bz2
xen-2b30611e6b43573ca10977e8a7f57092f7076bb7.zip
hvm/vpmu: Prevent dump handlers from incorrectly mutating state
Discovered by Coverity, CID 1055181 core2_vpmu_dump() was incorrectly setting VPMU_CONTEXT_LOADED when it was intending to check for it. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> This would have been avoided if the dump function declared all its pointers "const" - doing this now (also in SVM). Also fixing some indentation issues at once. Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> master commit: 42c5b1214071d363a52c6356dfe2ed820f500849 master date: 2013-09-16 12:22:20 +0200
Diffstat (limited to 'tools/blktap2/drivers/hashtable_utility.c')
0 files changed, 0 insertions, 0 deletions