https://github.com/torvalds/linux
Revision 1873bb8115e678ad9fd0aac9dbbc68383bc36e06 authored by Ahmed S. Darwish on 25 December 2010, 09:57:09 UTC, committed by Linus Torvalds on 28 December 2010, 19:12:32 UTC
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>
1 parent ffc96d6
History
Tip revision: 1873bb8115e678ad9fd0aac9dbbc68383bc36e06 authored by Ahmed S. Darwish on 25 December 2010, 09:57:09 UTC
RAMOOPS: Don't overflow over non-allocated regions
Tip revision: 1873bb8
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 178.7 KB
Makefile -rw-r--r-- 50.9 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top