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

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



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


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