[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/2] Add infinite loop checking in img_create()
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH 0/2] Add infinite loop checking in img_create() |
Date: |
Sat, 29 Jun 2013 16:32:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
Am 27.06.2013 09:38, schrieb Xu Wang:
> From: Xu Wang <address@hidden>
>
> If user creates a image with loop in backing file, qemu doesn't give any
> warning or error report and creation successful. If this image was opend
> by qemu, no response would occure and segment fault would happend at last.
> Hence these patches refine and export infinite loop checking in
> collect_image_info_list() and add checking into img_create(). If a loop
> would occure, an error info output and creation interrupted.
>
> Xu Wang (2):
> Refine and export infinite loop checking in collect_image_info_list()
> Check infinite loop in img_create()
In the future please use a prefix such as "qemu-img: ..." on both cover
letter and patches to indicate which part of code it concerns, and CC
the respective maintainers of that area to assure appropriate review.
Regards,
Andreas
>
> qemu-img.c | 121
> ++++++++++++++++++++++++++++++++++++++++++++++++++-----------
> 1 file changed, 100 insertions(+), 21 deletions(-)
>
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg