diff options
author | Ahmed S. Darwish <darwish.07@gmail.com> | 2010-12-25 11:57:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-28 11:12:32 -0800 |
commit | 1873bb8115e678ad9fd0aac9dbbc68383bc36e06 (patch) | |
tree | 938017e949de036589035da33975257e68afed65 /arch/x86/tools | |
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>
Diffstat (limited to 'arch/x86/tools')
0 files changed, 0 insertions, 0 deletions