[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdarjDT5+SUku9ZfbwYi0TdgM2Yv14Hi347gWkw4N0q7GQ@mail.gmail.com>
Date: Mon, 29 May 2017 13:32:16 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: Alexandre Courbot <gnurou@...il.com>,
Bamvor Jian Zhang <bamvor.zhangjian@...aro.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 05/10] gpio: mockup: improve the debugfs input sanitization
On Thu, May 25, 2017 at 10:33 AM, Bartosz Golaszewski <brgl@...ev.pl> wrote:
> We're currently only checking the first character of the input to the
> debugfs event files, so a string like '0sdfdsf' is valid and indicates
> a falling edge event.
>
> Be more strict and only allow '0', '1', '0\n' & '1\n'.
>
> Signed-off-by: Bartosz Golaszewski <brgl@...ev.pl>
Since I applied patches 1-4 you only need to resend from this point
when posting v2.
Yours,
Linus Walleij
Powered by blists - more mailing lists