From: Ahmed S. Darwish Date: Sat, 25 Dec 2010 09:57:09 +0000 (+0200) Subject: RAMOOPS: Don't overflow over non-allocated regions X-Git-Tag: v2.6.37-rc8~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1873bb8115e678ad9fd0aac9dbbc68383bc36e06;p=pandora-kernel.git 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 Acked-by: Marco Stornelli Cc: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed