lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20100303.010814.246406195.davem@davemloft.net> Date: Wed, 03 Mar 2010 01:08:14 -0800 (PST) From: David Miller <davem@...emloft.net> To: error27@...il.com Cc: netdev@...r.kernel.org, chaithrika@...com, srk@...com, khilman@...prootsystems.com, anantgole@...com, kernel-janitors@...r.kernel.org Subject: Re: [patch] davinci_emac: off by one From: Dan Carpenter <error27@...il.com> 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@...il.com> > --- > 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 netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists