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

Re: [Xen-devel] [PATCH]Mini-OS: Small fix for NULL pointer handling



Applied, thanks. The initialisation of req_prod_pvt wasn't needed at all.

 K.

On 26/1/07 1:35 pm, "Dietmar Hahn" <dietmar.hahn@xxxxxxxxxxxxxxxxxxx> wrote:

> Hi Gregor,
> 
> attached is a small patch for netfront.c.
> A compiler warning is fixed when -O? is used.
> If the network is not configured, backend gets NULL from
> xenbus_read() and this leads sometimes to a crash because this pointer is used
> later.
> I hope this fix is OK. Please have a look and send comments!
> Thanks.
> 
> Dietmar.
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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