[libvirt] [PATCH] network_conf: Don't free uninitialized pointers while parsing DNS SRV

Peter Krempa pkrempa at redhat.com
Thu Jun 28 21:58:01 UTC 2012


On 06/28/12 23:52, Eric Blake wrote:
> On 06/28/2012 03:48 PM, Peter Krempa wrote:
>> If the user specified invalid protocol type in a network's SRV record
>> the error path ended up in freeing uninitialized pointers causing a
>> daemon crash.
>>
>> *network_conf.c: virNetworkDNSSrvDefParseXML(): initialize local
>>                                                  variables
>> ---
>>   src/conf/network_conf.c |    8 ++++----
>>   1 files changed, 4 insertions(+), 4 deletions(-)
>
> ACK.
>

Pushed; Thanks for a quick review.

Peter




More information about the libvir-list mailing list