[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1294326500.2219.8.camel@koala>
Date: Thu, 06 Jan 2011 17:08:20 +0200
From: Artem Bityutskiy <dedekind1@...il.com>
To: Dan Carpenter <error27@...il.com>
Cc: Sven Neumann <s.neumann@...mfeld.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mtd@...ts.infradead.org, Daniel Mack <daniel@...aq.de>,
leiwen@...vell.com, haojian.zhuang@...vell.com,
David.Woodhouse@...el.com, eric.y.miao@...il.com,
Artem.Bityutskiy@...ia.com
Subject: Re: [patch v2] mtd: pxa3xx_nand: NULL dereference in
pxa3xx_nand_probe
On Thu, 2011-01-06 at 17:05 +0300, Dan Carpenter wrote:
> "info->cmdset" gets dereferenced in __readid() so it needs to be
> initialized earlier in the function. This bug was introduced in
> 18c81b1828f8 "mtd: pxa3xx_nand: remove the flash info in driver
> structure".
>
> Cc: stable@...nel.org [2.6.37+]
> Reported-and-tested-by: Sven Neumann <s.neumann@...mfeld.com>
> Signed-off-by: Dan Carpenter <error27@...il.com>
> ---
> v2: changed the commit text. added stable@...nel.org and a reported-by tag.
Pushed to l2-mtd-2.6.git, thanks!
--
Best Regards,
Artem Bityutskiy (Битюцкий Артём)
--
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