From: Stef van Os <stef.van.os@prodrive.nl>
To: <artem.bityutskiy@linux.intel.com>
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
wfp5p@virginia.edu, linux-mtd@lists.infradead.org, sr@denx.de,
plagnioj@jcrosoft.com, dwmw2@infradead.org
Subject: Re: [PATCH 1/1] mtd: physmap_of: fix illegal dereference
Date: Fri, 1 Feb 2013 18:10:56 +0100 [thread overview]
Message-ID: <510BF720.5020708@prodrive.nl> (raw)
In-Reply-To: <1359737697.2942.16.camel@sauron.fi.intel.com>
On 02/01/2013 05:54 PM, Artem Bityutskiy wrote:
> On Thu, 2013-01-17 at 19:22 +0100, Stef van Os wrote:
>> d68cbdd introduced a new way of getting the name of an mtd
>> partion. The character pointer is not initialized, and only
>> checked against NULL, not at other random garbage.
>> This patch fixes the resulting panic.
>>
>> Signed-off-by: Stef van Os<stef.van.os@prodrive.nl>
> A similar fix already sits in the mtd tree:
>
> http://git.infradead.org/mtd-2.6.git/commit/7dfe4be351e81656ca1068e5d4ead235c7ba94b1
>
Ah, sorry, I wasn't aware of this. But, as long as some fix for this
issue makes it into mainline, I'm happy :)
prev parent reply other threads:[~2013-02-01 17:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-17 18:22 [PATCH 1/1] mtd: physmap_of: fix illegal dereference Stef van Os
2013-02-01 16:54 ` Artem Bityutskiy
2013-02-01 17:10 ` Stef van Os [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=510BF720.5020708@prodrive.nl \
--to=stef.van.os@prodrive.nl \
--cc=artem.bityutskiy@linux.intel.com \
--cc=dwmw2@infradead.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=plagnioj@jcrosoft.com \
--cc=sr@denx.de \
--cc=wfp5p@virginia.edu \
/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).