|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH]Mini-OS: Small fix for NULL pointer handling
 
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.
 
 
mini-os.patch 
Description: Text Data 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] [PATCH]Mini-OS: Small fix for NULL pointer handling,
Dietmar Hahn <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |