diff options
| author | 2005-11-05 03:21:15 +0000 | |
|---|---|---|
| committer | 2005-11-07 02:24:31 +0100 | |
| commit | 868801e561d5d6df40a66197e2f803a109c19e7a (patch) | |
| tree | f13cc0daeda783d3710161a8a641573c76bea600 /scripts/basic | |
| parent | [MTD] NAND nand_base: Fix shift for bad block check (16bit devices only) (diff) | |
[MTD] NAND: nand_write_ecc memory and OOB corruption
Nathan Roberts noticed the nand_write_ecc index into oobbuf goes out of
bounds when crossing an erase block boundary, causing incorrect OOB data
to be written and corrupting memory. Reset the index to zero after
re-preparing oobbuf for a new erase block.
Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
