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

Re: [Xen-devel] [PATCH]libxc: fix a Segmentation fault



On 06/28/2010 11:54 PM, Ian Jackson wrote:
> Yang Hongyang writes ("[Xen-devel] [PATCH]libxc: fix a Segmentation fault"):
>> # xl list
>> xc: error: Could not obtain handle on privileged command interface (2 = No 
>> such file or directory): Internal error
>> Segmentation fault
>>
>> This is because xc free the logger which xl created.
> 
> Well spotted.  You're right about the cause, but your fix is not
> correct.  The correct fix is that xc_interface_open's error path
> should free error_handler_tofree rather than error_handler.  So there
> is no need to add another variable.  I will apply that fix.
> 

OK,Thanks Ian.

> Thanks,
> Ian.
> 
> 


-- 
Regards
Yang Hongyang

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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