summaryrefslogtreecommitdiffstats
path: root/include/qemu/main-loop.h
diff options
context:
space:
mode:
authorJeff Cody2014-09-16 21:12:06 +0200
committerStefan Hajnoczi2014-09-22 12:39:46 +0200
commite91a8b2fef92e7d31290e785a35f85a503fa1356 (patch)
tree8e37ecb3074b11a55ca915b0d36424297acdc785 /include/qemu/main-loop.h
parentblock: delete cow block driver (diff)
downloadqemu-e91a8b2fef92e7d31290e785a35f85a503fa1356.tar.gz
qemu-e91a8b2fef92e7d31290e785a35f85a503fa1356.tar.xz
qemu-e91a8b2fef92e7d31290e785a35f85a503fa1356.zip
block: vhdx - fix reading beyond pointer during image creation
In vhdx_create_metadata(), we allocate 40 bytes to entry_buffer for the various metadata table entries. However, we write out 64kB from that buffer into the new file. Only write out the correct 40 bytes. Signed-off-by: Jeff Cody <jcody@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/qemu/main-loop.h')
0 files changed, 0 insertions, 0 deletions