Home
last modified time | relevance | path

Searched hist:eed9a72914a2b2737a0d91b80579f878999574ef (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/usb/
H A Dsmsc95xx.cdiff eed9a72914a2b2737a0d91b80579f878999574ef Thu Nov 29 23:55:48 CST 2012 Steve Glendinning <steve.glendinning@shawell.net> smsc95xx: fix suspend buffer overflow

This patch fixes a buffer overflow introduced by bbd9f9e, where
the filter_mask array is accessed beyond its bounds.

Updated to also add a check for kzalloc failure, as reported by
Bjorn Mork and Joe Perches.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Cc: Bjorn Mork <bjorn@mork.no>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>