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

Re: [Xen-devel] [PATCHv2] libxc: fix segfault on uninitialized xch->fmem



On Tue, Apr 04, 2017 at 01:59:27PM +0100, Wei Liu wrote:
> On Tue, Apr 04, 2017 at 02:40:48PM +0200, Seraphime Kirkovski wrote:
> > Currently in xc_interface_open, xch->fmem is not initialized
> > and in some rare case the code fails before ever assigning a value
> > to it.
> > 
> > I got this in master:
> > 
> >    $ sudo ./xl/xl run
> >    xencall: error: Could not obtain handle on privileged command interface: 
> > No such file or directory
> >    Segmentation fault
> > 
> > This initializes the whole xch_buff to 0.
> > 
> > Signed-off-by: Seraphime Kirkovski <kirkseraph@xxxxxxxxx>
> 
> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

Ian, this is a backport candidate.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.