On 2014-12-04 at 00:28, Fam Zheng wrote:
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 <f...@redhat.com>
---
  block/vmdk.c | 8 ++++++++
  1 file changed, 8 insertions(+)

Reviewed-by: Max Reitz <mre...@redhat.com>

Reply via email to