Re: [PATCH v2] Set the number of elements 0 in virNetwork*Clear

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

 



On 07/26/2013 01:00 PM, Michal Privoznik wrote:
> On 26.07.2013 12:54, Ján Tomko wrote:
>> Decrementing it when it was already 0 causes an invalid free
>> in virNetworkDefUpdateDNSHost if virNetworkDNSHostDefParseXML
>> fails and virNetworkDNSHostDefClear gets called twice.
>>
>> virNetworkForwardDefClear left the number untouched even if it
>> freed all the elements.
>> ---
>>  src/conf/network_conf.c | 21 +++++++++++----------
>>  1 file changed, 11 insertions(+), 10 deletions(-)
> 
> ACK
> 
> Michal
> 

Thanks, I've pushed the series.

Jan

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