[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] Add infinite loop checking in img_create()
From: |
Xu Wang |
Subject: |
[Qemu-devel] [PATCH 0/2] Add infinite loop checking in img_create() |
Date: |
Thu, 27 Jun 2013 03:38:18 -0400 |
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()
qemu-img.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 100 insertions(+), 21 deletions(-)
--
1.8.1.4
- [Qemu-devel] [PATCH 0/2] Add infinite loop checking in img_create(),
Xu Wang <=