[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYtaDdNY5WpuBx1ZRUt_0_HOy9LHABEjQSfcL7q1O084g@mail.gmail.com>
Date: Thu, 31 Aug 2017 13:38:10 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Dan Carpenter <dan.carpenter@...cle.com>,
Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Jacopo Mondi <jacopo+renesas@...ndi.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] pinctrl: rza1: off by one in rza1_parse_gpiochip()
On Fri, Aug 18, 2017 at 12:32 PM, Dan Carpenter
<dan.carpenter@...cle.com> wrote:
> The rza1_pctl->ports[] array has RZA1_NPORTS (12) elements. The > here
> should be >= to prevent an out of bounds access.
>
> Fixes: 5a49b644b307 ("pinctrl: Renesas RZ/A1 pin and gpio controller")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Patch applied with the ACKs.
Yours,
Linus Walleij
Powered by blists - more mailing lists