diff options
author | Jeff Cody <jcody@redhat.com> | 2014-09-16 15:12:06 -0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-09-22 11:39:46 +0100 |
commit | e91a8b2fef92e7d31290e785a35f85a503fa1356 (patch) | |
tree | 8e37ecb3074b11a55ca915b0d36424297acdc785 /qemu-log.c | |
parent | 550830f9351291c585c963204ad9127998b1c1ce (diff) | |
download | qemu-e91a8b2fef92e7d31290e785a35f85a503fa1356.tar.gz qemu-e91a8b2fef92e7d31290e785a35f85a503fa1356.tar.bz2 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 'qemu-log.c')
0 files changed, 0 insertions, 0 deletions