linux-uconsole/drivers/net/pch_gbe
Dan Carpenter 51cb85a88c pch_gbe: memory corruption calling pch_gbe_validate_option()
commit 73f98eab9b upstream.

pch_gbe_validate_option() modifies 32 bits of memory but we pass
&hw->phy.autoneg_advertised which only has 16 bits and &hw->mac.fc
which only has 8 bits.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-21 09:40:06 -07:00
..
Makefile
pch_gbe.h net: pch_gbe: convert to hw_features 2011-04-20 01:30:43 -07:00
pch_gbe_api.c pch_gbe: make local functions static 2010-10-21 03:09:44 -07:00
pch_gbe_api.h
pch_gbe_ethtool.c ethtool: Use full 32 bit speed range in ethtool's set_settings 2011-04-29 14:03:00 -07:00
pch_gbe_main.c pch_gbe: Do not abort probe on bad MAC 2012-05-21 09:40:06 -07:00
pch_gbe_param.c pch_gbe: memory corruption calling pch_gbe_validate_option() 2012-05-21 09:40:06 -07:00
pch_gbe_phy.c ethtool: cosmetic: Use ethtool ethtool_cmd_speed API 2011-04-29 14:03:01 -07:00
pch_gbe_phy.h