[PATCH 1/1] mtd: physmap_of: fix illegal dereference

Artem Bityutskiy artem.bityutskiy at linux.intel.com
Fri Feb 1 11:54:57 EST 2013


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20130201/a23d8dc8/attachment-0001.sig>


More information about the linux-mtd mailing list