WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xen/netback: Fix null-pointer access in netback_uevent
From: Bastian Blank <waldi@xxxxxxxxxx>
Date: Thu, 29 Jul 2010 19:08:51 +0200
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, James Harper <james.harper@xxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Thu, 29 Jul 2010 10:11:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C51A0EE.1030808@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Bastian Blank <waldi@xxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>, James Harper <james.harper@xxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
References: <20100529064411.GA12168@xxxxxxxxxxxxxxxxxxxxxxx> <20100529184452.GA18365@xxxxxxxxxxxxxxxxxxxxxxx> <4C0383670200007800004B63@xxxxxxxxxxxxxxxxxx> <4C038A480200007800004B80@xxxxxxxxxxxxxxxxxx> <20100728162001.GA21304@xxxxxxxxxxxxxxxxxxxxxxx> <1280404035.24292.1805.camel@xxxxxxxxxxxxxxxxxxxxxx> <20100729124213.GA10008@xxxxxxxxxxxxxxxxxxxxxxx> <1280411076.24292.1841.camel@xxxxxxxxxxxxxxxxxxxxxx> <20100729153018.GA12495@xxxxxxxxxxxxxxxxxxxxxxx> <4C51A0EE.1030808@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Thu, Jul 29, 2010 at 08:40:30AM -0700, Jeremy Fitzhardinge wrote:
>  On 07/29/2010 08:30 AM, Bastian Blank wrote:
>> On Thu, Jul 29, 2010 at 02:44:36PM +0100, Ian Campbell wrote:
>>> On Thu, 2010-07-29 at 13:42 +0100, Bastian Blank wrote:
>>>> Yes, this is included since 2.6.32-15.
>>> The patch from<20100529184452.GA18365@xxxxxxxxxxxxxxxxxxxxxxx>?
>> Currently the following patch is used. The next test should be if it is
>> really necessary to have this much different structures, a quick look
>> said: most likely no.
> OK, I'll stick it in.  Do you have a complete commit comment?

    xen/netback: Fix null-pointer access in netback_uevent
    
    The uevent method of Xen netback does not check if the the network
    device is already setup and tries to dereference a null-pointer if not.
    
    Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>

-- 
The sooner our happiness together begins, the longer it will last.
                -- Miramanee, "The Paradise Syndrome", stardate 4842.6

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel