From: Dan Carpenter <error27@xxxxxxxxx> Date: Wed, 3 Mar 2010 10:07:24 +0300 > This off by one error was found by smatch. > > drivers/net/davinci_emac.c +2390 emac_dev_open(13) error: buffer overflow 'priv->mac_addr' 6 <= 6 > > Signed-off-by: Dan Carpenter <error27@xxxxxxxxx> > --- > I don't have the hardware to test this. If would be cool if someone > would verify that the hardware still works after the patch is applied. It looks obvious enough for me, taking in more than 6 address bytes make no sense in an ethernet driver, so I'll apply this. Thanks. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html