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-09-18 20:02:01 +01:00
2013-04-18 13:50:53 +02:00
2014-11-14 12:15:40 +01:00
2014-11-15 13:01:44 +00:00
2014-11-15 13:01:44 +00:00
2014-11-26 12:11:27 +01:00
2014-11-02 13:30:00 +01:00
2012-09-07 09:02:44 +03:00
2014-06-16 13:24:35 +02:00
2013-09-05 09:40:31 -05:00
2014-06-23 11:12:28 -04:00
2013-10-11 09:34:56 -07:00
2014-09-16 11:04:09 +02:00
2013-07-23 02:41:31 +02:00
2014-10-24 12:19:11 +01:00
2014-09-26 13:37:06 -04:00
2013-08-12 09:15:12 -05:00
2014-11-11 09:46:46 +01:00
2014-09-26 09:34:39 +01:00
2014-12-10 10:31:11 +01:00
2014-12-10 10:31:12 +01:00
2014-11-23 12:11:29 +02:00
2014-05-24 00:07:29 +04:00
2014-12-10 10:25:30 +01:00
2013-10-11 09:34:56 -07:00
2014-02-17 11:57:23 -05:00
2014-10-31 11:29:01 +01:00
2014-06-05 16:10:33 +02:00
2014-12-09 21:48:34 +00:00
2013-10-11 09:34:56 -07:00
2014-12-10 10:25:30 +01:00
2014-07-07 10:37:40 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 524 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%