[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/2] qcow2: Do not overflow when writing an L1 s
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 0/2] qcow2: Do not overflow when writing an L1 sector |
Date: |
Thu, 16 Oct 2014 08:54:23 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
On 10/16/2014 07:25 AM, Max Reitz wrote:
> qcow2_write_l1_entry() may read L1 entries from beyond the end of the
> in-memory L1 table when updating a sector. Fix this and add a
> qemu-iotest.
>
>
> Max Reitz (2):
> qcow2: Do not overflow when writing an L1 sector
> iotests: Add test for qcow2 L1 table update
Series:
Reviewed-by: Eric Blake <address@hidden>
>
> block/qcow2-cluster.c | 6 +++--
> tests/qemu-iotests/107 | 61
> ++++++++++++++++++++++++++++++++++++++++++++++
> tests/qemu-iotests/107.out | 10 ++++++++
> tests/qemu-iotests/group | 1 +
> 4 files changed, 76 insertions(+), 2 deletions(-)
> create mode 100755 tests/qemu-iotests/107
> create mode 100644 tests/qemu-iotests/107.out
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature