[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121209.003433.1020103311321779326.davem@davemloft.net>
Date: Sun, 09 Dec 2012 00:34:33 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bhutchings@...arflare.com
Cc: sjur.brandeland@...ricsson.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] caif_usb: Check driver name before
reading driver state in netdev notifier
From: Ben Hutchings <bhutchings@...arflare.com>
Date: Fri, 7 Dec 2012 16:17:26 +0000
> In cfusbl_device_notify(), the usbnet and usbdev variables are
> initialised before the driver name has been checked. In case the
> device's driver is not cdc_ncm, this may result in reading beyond the
> end of the netdev private area. Move the initialisation below the
> driver name check.
>
> Signed-off-by: Ben Hutchings <bhutchings@...arflare.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists