commit | 1873bb8115e678ad9fd0aac9dbbc68383bc36e06 | [log] [tgz] |
---|---|---|
author | Ahmed S. Darwish <darwish.07@gmail.com> | Sat Dec 25 11:57:09 2010 +0200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Dec 28 11:12:32 2010 -0800 |
tree | 938017e949de036589035da33975257e68afed65 | |
parent | ffc96d628b651b69b39909fc3e9e8f465df1eed3 [diff] |
RAMOOPS: Don't overflow over non-allocated regions The current code mis-calculates the ramoops header size, leading to an overflow over the next record at best, or over a non-allocated region at worst. Fix that calculation. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> Acked-by: Marco Stornelli <marco.stornelli@gmail.com> Cc: stable@kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>