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

From: Linus Walleij
Date: Fri Sep 14 2012 - 09:54:29 EST


On Fri, Sep 14, 2012 at 9:18 AM, Colin Cross <ccross@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/