Skip to content
Commit 73f98eab authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

pch_gbe: memory corruption calling pch_gbe_validate_option()



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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1e804aec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment