This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH] Uninitialized ifname can cause qemu to quit

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Uninitialized ifname can cause qemu to quit
From: Steve Dobbelstein <steved@xxxxxxxxxx>
Date: Thu, 20 Jul 2006 17:16:29 -0500
Delivery-date: Thu, 20 Jul 2006 15:17:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Uninitialized ifname can cause qemu to quit.  If the first character of the
if name is not \0, qemu will think it's a valid ifname and configure
/dev/net/tun to use it.  The configuration fails and qemu exits.

Patch is attached.

Steve D.

(See attached file: qemu-ifname.patch)

Attachment: qemu-ifname.patch
Description: Binary data

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>