Re: [libvirt] [PATCH] util: Make sure random data is initialized when in virRandom

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

 



Daniel P. Berrange wrote:
> On Mon, Oct 12, 2009 at 10:32:14AM -0400, Cole Robinson wrote:
>> When writing some tests, I mistakenly attempted to auto-generate a UUID,
>> which caused a segfault: virRandom was being used without calling
>> virRandomInitialize. Make sure this case can't happen.
> 
> I don't much like this as an approach - it would be nicer to put
> it into the tests/testutil.c file where we already call the 
> virThreadInitialize & virErrorInitialize functions
> 

I've sent a new patch to address this.

Thanks,
Cole

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