[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbk8BCViQz0d+0Ok4wVvTDK_TRN0UTc1nyC7G48A-C-WA@mail.gmail.com>
Date: Wed, 7 Aug 2013 20:21:13 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Sachin Kamat <sachin.kamat@...aro.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Maxime Ripard <maxime.ripard@...e-electrons.com>
Subject: Re: [PATCH 1/1] pinctrl: sunxi: Fix incorrect NULL check
On Mon, Jul 29, 2013 at 10:19 AM, Sachin Kamat <sachin.kamat@...aro.org> wrote:
> *map should be tested for NULL instead of map as kmalloc pointer
> is assigned to it. This also fixes a potential null pointer dereference
> bug later in the code.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@...aro.org>
> Cc: Maxime Ripard <maxime.ripard@...e-electrons.com>
Patch applied with Maxime's ACK.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists