Thread (2 messages) flat view 2 messages, 2 authors, 2012-12-09

Re: [PATCH net-next 1/2] caif_usb: Check driver name before reading driver state in netdev notifier

From: David Miller <davem@davemloft.net>
Date: 2012-12-09 05:34:35

From: Ben Hutchings <redacted>
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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help