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

Re: [Xen-devel] [PATCH] libxl: handle null lists in libxl_string_list_length



On Fri, 2013-09-27 at 23:29 +1200, Matthew Daley wrote:
> After commit b0be2b12 ("libxl: fix libxl_string_list_length and its only
> caller") libxl_string_list_length no longer handles null (empty) lists. Fix
> so they are handled, returning length 0.
> 
> While at it, remove the unneccessary undereferenced null pointer check
> and tidy the layout of the function.
> 
> Reported-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
> Signed-off-by: Matthew Daley <mattjd@xxxxxxxxx>

acked + applied, thanks.

Ian.


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


 


Rackspace

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