Re: [PATCH] soc: qcom: socinfo: Fix off-by-one array index bounds check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to qcom/linux.git (refs/heads/for-next):

On Mon, 18 Jan 2021 11:36:51 +0000 you wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> There is an off-by-one array index bounds check on array
> pmic_models. Fix this by checking using < rather than <= on
> the array size.
> 
> Addresses-Coverity: ("Out-of-bounds read")
> Fixes: 734c78e7febf ("soc: qcom: socinfo: add info from PMIC models array")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> [...]

Here is the summary with links:
  - soc: qcom: socinfo: Fix off-by-one array index bounds check
    https://git.kernel.org/qcom/c/e6393818c8d1

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux