diff options
author | Jeff Cody | 2014-09-16 21:12:06 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2014-09-22 12:39:46 +0200 |
commit | e91a8b2fef92e7d31290e785a35f85a503fa1356 (patch) | |
tree | 8e37ecb3074b11a55ca915b0d36424297acdc785 /include/qemu/main-loop.h | |
parent | block: delete cow block driver (diff) | |
download | qemu-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