[PATCH] pinctrl: use kasprintf() in pinmux_request_gpio()

Linus Walleij linus.walleij at linaro.org
Fri Sep 14 09:54:31 EDT 2012


On Fri, Sep 14, 2012 at 9:18 AM, Colin Cross <ccross at google.com> wrote:

> The one it's replacing is worse, it never sets gpiostr[15] to 0 and
> kstrdup will read past the end of the buffer if the string is
> truncated.

I recorded this as an Acked-by ... :-)

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list