Files
qemu/block
Fam Zheng 03c3359dfc vmdk: Check descriptor file length when reading it
Since a too small file cannot be a valid VMDK image, and also since the
buffer's first 4 bytes will be unconditionally examined by
vmdk_open_sparse, let's error out the small file case to be clear.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Don Koch <dkoch@verizon.com>
Message-id: 1417649314-13704-5-git-send-email-famz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-12-10 10:31:21 +01:00
..
2014-12-10 10:31:13 +01:00
2014-10-20 13:41:26 +02:00
2014-12-10 10:31:19 +01:00
2014-11-03 11:41:47 +00:00
2014-12-10 10:31:20 +01:00
2014-08-15 15:07:14 +02:00
2014-08-15 15:07:14 +02:00