diff options
| author | Ahmed S. Darwish <[email protected]> | 2010-12-25 09:57:09 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-12-28 19:12:32 +0000 |
| commit | 1873bb8115e678ad9fd0aac9dbbc68383bc36e06 (patch) | |
| tree | 938017e949de036589035da33975257e68afed65 /fs/ubifs/commit.c | |
| parent | Merge branch 'nommu-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-1873bb8115e678ad9fd0aac9dbbc68383bc36e06.tar.gz kernel-1873bb8115e678ad9fd0aac9dbbc68383bc36e06.zip | |
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 <[email protected]>
Acked-by: Marco Stornelli <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions
