All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
To: Stef van Os <stef.van.os@prodrive.nl>
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, 01 Feb 2013 18:54:57 +0200	[thread overview]
Message-ID: <1359737697.2942.16.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <1358446932-7238-1-git-send-email-stef.van.os@prodrive.nl>

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

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

-- 
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
To: Stef van Os <stef.van.os@prodrive.nl>
Cc: dwmw2@infradead.org, wfp5p@virginia.edu,
	gregkh@linuxfoundation.org, sr@denx.de, plagnioj@jcrosoft.com,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] mtd: physmap_of: fix illegal dereference
Date: Fri, 01 Feb 2013 18:54:57 +0200	[thread overview]
Message-ID: <1359737697.2942.16.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <1358446932-7238-1-git-send-email-stef.van.os@prodrive.nl>

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

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

-- 
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-02-01 16:54 UTC|newest]

Thread overview: 6+ 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-01-17 18:22 ` Stef van Os
2013-02-01 16:54 ` Artem Bityutskiy [this message]
2013-02-01 16:54   ` Artem Bityutskiy
2013-02-01 17:10   ` Stef van Os
2013-02-01 17:10     ` Stef van Os

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=1359737697.2942.16.camel@sauron.fi.intel.com \
    --to=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=stef.van.os@prodrive.nl \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.