| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [PATCH]: xl, fix segfault when detaching non-existant disk
 Gianni Tedesco (3P) writes ("[PATCH]: xl, fix segfault when detaching 
non-existant disk"):
>      val = libxl_xs_read(ctx, XBT_NULL, libxl_sprintf(ctx, "%s/backend-id", 
> diskpath));
> +    if (!val)
> +        return ERROR_FAIL;
This is fine as far as it goes, and I'll apply it, but would you like
to do the same for all the other unchecked libxl_xs_read calls ? :-)
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |