Re: [libvirt] [PATCH] Robustify sexpr parser for NICs

2009-02-05 Thread John Levon
On Thu, Feb 05, 2009 at 06:56:58AM +0100, Jim Meyering wrote: > > xend can occassionally get itself confused. Avoid crashing libvirt in > > this case. The example I had looked like this: (device (vif (backend 0))) I'm not sure it's appropriate for a test case since it's strictly a bug. reg

Re: [libvirt] [PATCH] Robustify sexpr parser for NICs

2009-02-05 Thread Daniel P. Berrange
On Wed, Feb 04, 2009 at 08:12:49PM -0800, john.le...@sun.com wrote: > # HG changeset patch > # User john.le...@sun.com > # Date 1233806614 28800 > # Node ID 0b9d8336e5e089b19ac8381fdc77eadc72ef9eb7 > # Parent 379763c63798c9f0c426facb9b9b61e34e6477e2 > Robustify sexpr parser for NICs > > xend can

Re: [libvirt] [PATCH] Robustify sexpr parser for NICs

2009-02-04 Thread Jim Meyering
john.le...@sun.com wrote: > Robustify sexpr parser for NICs > > xend can occassionally get itself confused. Avoid crashing libvirt in > this case. > > diff --git a/src/xend_internal.c b/src/xend_internal.c > --- a/src/xend_internal.c > +++ b/src/xend_internal.c > @@ -1759,7 +1759,8 @@ xenDaemonPars

[libvirt] [PATCH] Robustify sexpr parser for NICs

2009-02-04 Thread john . levon
# HG changeset patch # User john.le...@sun.com # Date 1233806614 28800 # Node ID 0b9d8336e5e089b19ac8381fdc77eadc72ef9eb7 # Parent 379763c63798c9f0c426facb9b9b61e34e6477e2 Robustify sexpr parser for NICs xend can occassionally get itself confused. Avoid crashing libvirt in this case. Signed-off-