[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190110113300.4CE44608FC@smtp.codeaurora.org>
Date: Thu, 10 Jan 2019 11:32:59 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin King <colin.king@...onical.com>
Cc: "David S . Miller" <davem@...emloft.net>,
linux-wireless@...r.kernel.org, kernel-janitors@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] ray_cs: fix array out-of-bounds access
Colin King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> Currently array element org[3] is being accessed, however the array is
> only 3 elements in size, so this looks like an off-by-one out-of-bounds
> error. Fix this by using org[2], which I believe was the original
> intent.
>
> This issue has existed in the driver back in the pre-git days, so no
> idea when it was introduced.
>
> Detected by CoverityScan, CID#711344 ("Out-of-bounds read")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Patch applied to wireless-drivers-next.git, thanks.
72255c807156 ray_cs: fix array out-of-bounds access
--
https://patchwork.kernel.org/patch/10738943/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists