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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 7 Feb 2022 10:10:29 +0000 From: "Russell King (Oracle)" <linux@...linux.org.uk> To: Dan Carpenter <dan.carpenter@...cle.com> Cc: Andrew Lunn <andrew@...n.ch>, Vivien Didelot <vivien.didelot@...il.com>, Florian Fainelli <f.fainelli@...il.com>, Vladimir Oltean <olteanv@...il.com>, "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, Marek BehĂșn <kabel@...nel.org>, netdev@...r.kernel.org, kernel-janitors@...r.kernel.org Subject: Re: [PATCH 1/2 net-next] net: dsa: mv88e6xxx: Fix off by in one in mv88e6185_phylink_get_caps() On Mon, Feb 07, 2022 at 11:22:53AM +0300, Dan Carpenter wrote: > The <= ARRAY_SIZE() needs to be < ARRAY_SIZE() to prevent an out of > bounds error. > > Fixes: d4ebf12bcec4 ("net: dsa: mv88e6xxx: populate supported_interfaces and mac_capabilities") > Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com> Good catch, thanks. Reviewed-by: Russell King (Oracle) <rmk+kernel@...linux.org.uk> -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists