[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] patch vl.c, segfault with "qemu -h"
From: |
Thiemo Seufer |
Subject: |
Re: [Qemu-devel] patch vl.c, segfault with "qemu -h" |
Date: |
Sat, 30 Jun 2007 00:27:09 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Marion Hakanson wrote:
> When you run "qemu -h", help() is called with optarg==NULL, which
> causes a segfault on my system (Solaris-10U3_x86, 64-bit kernel,
> but qemu compiled as 32-bit app, gcc-3.4.5 from blastwave.org).
> It's a side-effect of the -r1.315 patch which fixed related segfaults.
>
> The following patch fixes the "-h" segfault, and also appears to yield
> the exit value intended by previous folks.
Thanks, I committed a fix which I hope is better.
Thiemo