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

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

 



On Thu, Jun 28, 2012 at 11:58:01PM +0200, Peter Krempa wrote:
> 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.

Thanks, Peter, that fixes the crash for me.

Dave

> Peter
> 
> --
> libvir-list mailing list
> libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list

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