summaryrefslogtreecommitdiffstats
path: root/softmmu_defs.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-10-05 09:12:03 +0200
committerKevin Wolf <kwolf@redhat.com>2011-11-04 15:42:44 +0100
commit2b6a43a835e5082dedc6a5eea39a59463f97c81c (patch)
tree93ac44583b153d77d22cbdcb3d24bd91f9d555a5 /softmmu_defs.h
parent756f51e408febecdaff041f096527b820e857762 (diff)
downloadhqemu-2b6a43a835e5082dedc6a5eea39a59463f97c81c.zip
hqemu-2b6a43a835e5082dedc6a5eea39a59463f97c81c.tar.gz
vvfat: fix out of bounds array_get usage
When reading the address of the first free entry, you cannot use array_get without first marking all entries as occupied. This is visible if you change the sectors per cluster on a floppy from 2 to 1. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'softmmu_defs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud