slram: Read buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 31 Jul 2009 12:47:58 +0000 (14:47 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 4 Sep 2009 08:40:09 +0000 (09:40 +0100)
commit269c0ee66367b11de9758ee64ea039843f0c7cad
treebf093868a97d039662c025808828bde2c6983cda
parentad4fbc7921bd7cca108ecc1340a014e91ecc8536
slram: Read buffer overflow

map[count] is checked before count < SLRAM_MAX_DEVICES_PARAMS

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/slram.c