|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH]libxc: fix a Segmentation fault
 
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.
Thanks,
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
 | 
    | 
  
  
    |   | 
    |