Re: [libvirt] [PATCH] don't dump core on NULL ifname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]