commit | 2b6a43a835e5082dedc6a5eea39a59463f97c81c | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Oct 05 09:12:03 2011 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Nov 04 15:42:44 2011 +0100 |
tree | 93ac44583b153d77d22cbdcb3d24bd91f9d555a5 | |
parent | 756f51e408febecdaff041f096527b820e857762 [diff] |
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>