Thread (5 messages) flat view 5 messages, 3 authors, 2011-01-06

[patch v2] mtd: pxa3xx_nand: NULL dereference in pxa3xx_nand_probe

From: dedekind1@gmail.com (Artem Bityutskiy)
Date: 2011-01-06 15:08:26
Also in: lkml

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 <redacted>
Signed-off-by: Dan Carpenter <redacted>
---
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 (???????? ?????)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help