qemu-devel
[Top][All Lists]
Advanced

[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

Attachment: pgpg9aeOtjO2M.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]