Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1724123 > unrolled thread

Re: [PATCH] pinctrl: rza1: off by one in rza1_parse_gpiochip()

Started byLinus Walleij <linus.walleij@linaro.org>
First post2017-08-31 13:40 +0200
Last post2017-08-31 13:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] pinctrl: rza1: off by one in rza1_parse_gpiochip() Linus Walleij <linus.walleij@linaro.org> - 2017-08-31 13:40 +0200

#1724123 — Re: [PATCH] pinctrl: rza1: off by one in rza1_parse_gpiochip()

FromLinus Walleij <linus.walleij@linaro.org>
Date2017-08-31 13:40 +0200
SubjectRe: [PATCH] pinctrl: rza1: off by one in rza1_parse_gpiochip()
Message-ID<ukvZh-52z-51@gated-at.bofh.it>
On Fri, Aug 18, 2017 at 12:32 PM, Dan Carpenter
<dan.carpenter@oracle.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@oracle.com>

Patch applied with the ACKs.

Yours,
Linus Walleij

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web