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
| ||
|
Date: Thu, 2 Jul 2015 09:55:53 -0700 From: Stephen Boyd <sboyd@...eaurora.org> To: Daniel Thompson <daniel.thompson@...aro.org> Cc: Mike Turquette <mturquette@...aro.org>, Maxime Coquelin <mcoquelin.stm32@...il.com>, linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, patches@...aro.org, linaro-kernel@...ts.linaro.org Subject: Re: [PATCH] clk: stm32: Fix out-by-one error path in the index lookup On 06/28, Daniel Thompson wrote: > If stm32f4_rcc_lookup() is called with primary == 0 and secondary == 192 > then it will read beyond the end of the table array due to an out-by-one > error in the range check. > > In addition to the fixing the inequality we also modify the r.h.s. to > make it even more explicit that we are comparing against the size of > table in bits. > > Reported-by: Dan Carpenter <dan.carpenter@...cle.com> > Signed-off-by: Daniel Thompson <daniel.thompson@...aro.org> > --- Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists