From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UswCf-0003QX-9I for qemu-devel@nongnu.org; Sat, 29 Jun 2013 10:32:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UswCe-000066-8n for qemu-devel@nongnu.org; Sat, 29 Jun 2013 10:32:41 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49643 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UswCe-000059-2f for qemu-devel@nongnu.org; Sat, 29 Jun 2013 10:32:40 -0400 Message-ID: <51CEF002.7050908@suse.de> Date: Sat, 29 Jun 2013 16:32:34 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1372318700-25103-1-git-send-email-cngesaint@gmail.com> In-Reply-To: <1372318700-25103-1-git-send-email-cngesaint@gmail.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/2] Add infinite loop checking in img_create() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xu Wang Cc: Kevin Wolf , Xu Wang , qemu-devel@nongnu.org, Stefan Hajnoczi Am 27.06.2013 09:38, schrieb Xu Wang: > From: Xu Wang >=20 > If user creates a image with loop in backing file, qemu doesn't give an= y > warning or error report and creation successful. If this image was open= d > by qemu, no response would occure and segment fault would happend at la= st. > 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. >=20 > 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 >=20 > qemu-img.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++---= -------- > 1 file changed, 100 insertions(+), 21 deletions(-) >=20 --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg