[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Bug 1332297] Re: qemu-img: crash on check of an image
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [Bug 1332297] Re: qemu-img: crash on check of an image with large value in the 'size' header field |
Date: |
Mon, 23 Jun 2014 16:02:38 +0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Jun 19, 2014 at 07:19:55PM -0000, Maria Kustova wrote:
> The bug description missed qemu-img error:
>
> (process:12283): GLib-ERROR **: gmem.c:110: failed to allocate
> 18446744059294601304 bytes
Thanks, there has been recent work by Kevin Wolf to handle memory
allocation failures gracefully without terminating QEMU. This sounds
like a candidate for g_try_malloc() and friends.
Does the following patch series solve the problem?
https://lists.gnu.org/archive/html/qemu-devel/2014-06/msg01275.html
Stefan
pgpg9aeOtjO2M.pgp
Description: PGP signature
- [Qemu-devel] [PULL 00/22] Migration queue, Juan Quintela, 2014/06/24
- [Qemu-devel] [PULL 01/22] rdma: bug fixes, Juan Quintela, 2014/06/24
- [Qemu-devel] [PULL 03/22] vmstate-static-checker: script to validate vmstate changes, Juan Quintela, 2014/06/24
- [Qemu-devel] [PULL 02/22] migration: dump vmstate info as a json file for static analysis, Juan Quintela, 2014/06/24
- [Qemu-devel] [PULL 04/22] tests: vmstate static checker: add dump1 and dump2 files, Juan Quintela, 2014/06/24
- [Qemu-devel] [PULL 05/22] tests: vmstate static checker: incompat machine types, Juan Quintela, 2014/06/24
- [Qemu-devel] [PULL 06/22] tests: vmstate static checker: add version error in main section, Juan Quintela, 2014/06/24
- [Qemu-devel] [PULL 07/22] tests: vmstate static checker: version mismatch inside a Description, Juan Quintela, 2014/06/24
- [Qemu-devel] [PULL 08/22] tests: vmstate static checker: minimum_version_id check, Juan Quintela, 2014/06/24
- [Qemu-devel] [PULL 09/22] tests: vmstate static checker: remove a section, Juan Quintela, 2014/06/24
- [Qemu-devel] [PULL 10/22] tests: vmstate static checker: remove a field, Juan Quintela, 2014/06/24