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

Re: [Xen-devel] [PATCH] xen/netback: Fix null-pointer access in netback_uevent



>>> On 31.05.10 at 09:37, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:
> Furthermore, the backend creation patch also needs adjustment,

... path ...

> as it currently stores a non-NULL non-pointer value in be->netif if
> netif_alloc() fails. To require the sysfs path to use IS_ERR() on

... To *not* require ...

> be->netif, I think netif_alloc()'s result should be stored to a local 
> variable first and only written to be->netif when valid.
 
Jan



_______________________________________________
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®.