Re: [libvirt] [PATCH] Fix activeDomainList handling

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

 



John Levon <levon@xxxxxxxxxxxxxxxxx> wrote:
> On Wed, Jan 14, 2009 at 10:53:51AM -0800, john.levon@xxxxxxx wrote:
>
>> Fix activeDomainList handling
>>
>> It must be NULLed out after free()ing.
>
> This one is incomplete - I didn't find the bug since I have to use
> 0@xxxx with LIBVIRT_DEBUG. Annoyingly, Solaris printf requires %s
> parameters to not be NULL, and the debug messages use this Linux feature
> in several places... new patch soon

That glibc's printf functions accept a NULL parameter for a %s format
directive is a *mis*feature.  As such, I think any code that relies on
it is buggy, so patches would be most welcome.

--
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]