[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4 00/10] vmdk: Input validation fixes

From: Fam Zheng
Subject: [Qemu-devel] [PATCH v4 00/10] vmdk: Input validation fixes
Date: Tue, 6 Aug 2013 15:44:45 +0800

Fixes for VMDK sparse file opening and other bugs. Header fields are checked
before used for memory allocation.

    01: Added, fix variable scope bug of ret code.
    02: Squashed two QEMU_PACKED patches.
    03: Make BDRVVmdkState.desc_offset uint64_t as well.
    10: Comment num_gtes_per_gte.
    00: Rebase to master.
    04: Drop unused line in test script.
    05: change vmdk_add_extent signature (uint64_t cluster_sectors).
    06: Fix num_gtes_per_gte.
    08: Use qemu_blockalign for whole_grain.
        Don't allocate memory for !bs->backing_hd case.

Fam Zheng (9):
  vmdk: remove ret from inner scope.
  vmdk: Make VMDK3Header and VmdkGrainMarker QEMU_PACKED
  vmdk: use unsigned values for on disk header fields
  qemu-iotests: add empty test case for vmdk
  vmdk: check granularity field in opening
  vmdk: check l2 table size when opening
  vmdk: check l1 size before opening image
  vmdk: use heap allocation for whole_grain
  vmdk: rename num_gtes_per_gte to num_gtes_per_gt

Stefan Hajnoczi (1):
  qemu-iotests: add poke_file utility function

 block/vmdk.c                 | 115 +++++++++++++++++++++++++++++--------------
 tests/qemu-iotests/059       |  72 +++++++++++++++++++++++++++
 tests/qemu-iotests/059.out   |  20 ++++++++
 tests/qemu-iotests/common.rc |   6 +++
 tests/qemu-iotests/group     |   1 +
 5 files changed, 177 insertions(+), 37 deletions(-)
 create mode 100755 tests/qemu-iotests/059
 create mode 100644 tests/qemu-iotests/059.out


reply via email to

[Prev in Thread] Current Thread [Next in Thread]