[libvirt] [PATCH] don't dump core on NULL ifname
Daniel Veillard
veillard at redhat.com
Wed Jul 30 09:20:48 UTC 2008
On Tue, Jul 29, 2008 at 01:22:32PM -0400, Guido Günther wrote:
> Hi,
> actually I thought I sent this out already, but it seems I didn't:
>
> Don't dump core on NULL ifname when getting interface statistic.
> Not all networking types have a target ifname set
> (user,client,server,mcast).
Hum, STREQ uses strcmp, I'm surprized it chokes on NULL, maybe the
wrapper macro could take care of that, especially in the library code.
Thanks for the patch, applied and commited !
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list