diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | linux/src/drivers/net/apricot.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-02-02 Sergio Lopez <koro@sinrega.org> + + * linux/src/drivers/net/apricot.c (apricot_probe): Increase eth_addr + size to 8 so we do not trash the stack when reading from the io ports. + 2006-02-02 Thomas Schwinge <tschwinge@gnu.org> * Makerules.in: Move a comment ... diff --git a/linux/src/drivers/net/apricot.c b/linux/src/drivers/net/apricot.c index 12db88b..0799f62 100644 --- a/linux/src/drivers/net/apricot.c +++ b/linux/src/drivers/net/apricot.c @@ -681,7 +681,7 @@ int apricot_probe(struct device *dev) struct i596_private *lp; int checksum = 0; int ioaddr = 0x300; - char eth_addr[6]; + char eth_addr[8]; /* this is easy the ethernet interface can only be at 0x300 */ /* first check nothing is already registered here */ |