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

Eric Blake eblake at redhat.com
Thu Jun 28 21:52:55 UTC 2012


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.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120628/12b9e3bc/attachment-0001.sig>


More information about the libvir-list mailing list