]> git.neil.brown.name Git - history.git/commit
[MTD] Avoid bad pointer dereferences in mtd partition cmd line parsing
authorRussell King <rmk@flint.arm.linux.org.uk>
Wed, 6 Nov 2002 22:43:13 +0000 (22:43 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Wed, 6 Nov 2002 22:43:13 +0000 (22:43 +0000)
commitdabe9cd820f849e3ede620260a39a5770ebd5a77
tree000b7e840e9de7f98deb6bb6d94ff915ad9ad239
parent3a9b0f5e0ce9c0652c913765bb60869d5a8d5706
[MTD] Avoid bad pointer dereferences in mtd partition cmd line parsing

In response to RMK's message to ipaq@handhelds.org
(http://www.handhelds.org/pipermail/ipaq/2002-November/016028.html),
checking the return value from memparse() before using the output
pointers when parsing mtd partition specs.

Patch from Dave Neuer.
drivers/mtd/cmdline.c