From: dedekind1@gmail.com (Artem Bityutskiy)
To: linux-arm-kernel@lists.infradead.org
Subject: [patch v2] mtd: pxa3xx_nand: NULL dereference in pxa3xx_nand_probe
Date: Thu, 06 Jan 2011 17:08:20 +0200 [thread overview]
Message-ID: <1294326500.2219.8.camel@koala> (raw)
In-Reply-To: <20110106140536.GB1717@bicker>
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 at kernel.org [2.6.37+]
> Reported-and-tested-by: Sven Neumann <s.neumann@raumfeld.com>
> Signed-off-by: Dan Carpenter <error27@gmail.com>
> ---
> v2: changed the commit text. added stable at kernel.org and a reported-by tag.
Pushed to l2-mtd-2.6.git, thanks!
--
Best Regards,
Artem Bityutskiy (???????? ?????)
prev parent reply other threads:[~2011-01-06 15:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-05 11:43 kernel NULL pointer dereference in pxa3xx_nand_probe Sven Neumann
2011-01-06 12:45 ` [patch] mtd: pxa3xx_nand: NULL " Dan Carpenter
2011-01-06 13:45 ` Sven Neumann
2011-01-06 14:05 ` [patch v2] " Dan Carpenter
2011-01-06 15:08 ` Artem Bityutskiy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1294326500.2219.8.camel@koala \
--to=dedekind1@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).