qemu-e2k/block
Jeff Cody e91a8b2fef 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>
2014-09-22 11:39:46 +01:00
..
accounting.c block: Make the block accounting functions operate on BlockAcctStats 2014-09-10 10:41:29 +02:00
archipelago.c block/archipelago: Fix typo in qemu_archipelago_truncate() 2014-09-22 11:39:44 +01:00
backup.c
blkdebug.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
blkverify.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
bochs.c
cloop.c
commit.c
curl.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
dmg.c
gluster.c block: don't convert file size to sector size 2014-09-12 15:43:06 +02:00
iscsi.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
linux-aio.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
Makefile.objs block: delete cow block driver 2014-09-22 11:39:45 +01:00
mirror.c
nbd-client.c
nbd-client.h
nbd.c
nfs.c block: round up file size to nearest sector 2014-09-12 15:43:06 +02:00
null.c block: Introduce "null" drivers 2014-09-22 11:39:23 +01:00
parallels.c
qapi.c
qcow2-cache.c
qcow2-cluster.c qcow2: Check L1/L2/reftable entries for alignment 2014-09-22 11:39:28 +01:00
qcow2-refcount.c qcow2: Check L1/L2/reftable entries for alignment 2014-09-22 11:39:28 +01:00
qcow2-snapshot.c
qcow2.c qcow2: Add overlap-check.template option 2014-09-22 11:39:34 +01:00
qcow2.h qcow2: Add overlap-check.template option 2014-09-22 11:39:34 +01:00
qcow.c block: don't convert file size to sector size 2014-09-12 15:43:06 +02:00
qed-check.c
qed-cluster.c
qed-gencb.c
qed-l2-cache.c
qed-table.c
qed.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
qed.h
quorum.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
raw_bsd.c
raw-aio.h
raw-posix.c raw-posix: Add falloc and full preallocation option 2014-09-12 15:43:06 +02:00
raw-win32.c block: don't convert file size to sector size 2014-09-12 15:43:06 +02:00
rbd.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
sheepdog.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
snapshot.c
ssh.c block: round up file size to nearest sector 2014-09-12 15:43:06 +02:00
stream.c
vdi.c block: round up file size to nearest sector 2014-09-12 15:43:06 +02:00
vhdx-endian.c
vhdx-log.c
vhdx.c block: vhdx - fix reading beyond pointer during image creation 2014-09-22 11:39:46 +01:00
vhdx.h
vmdk.c block: round up file size to nearest sector 2014-09-12 15:43:06 +02:00
vpc.c block: round up file size to nearest sector 2014-09-12 15:43:06 +02:00
vvfat.c
win32-aio.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00