aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwish.07@gmail.com>2010-12-25 11:57:09 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-12-28 11:12:32 -0800
commit1873bb8115e678ad9fd0aac9dbbc68383bc36e06 (patch)
tree938017e949de036589035da33975257e68afed65 /tools/perf/util/scripting-engines/trace-event-python.c
parentMerge branch 'nommu-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/nommu-2.6 (diff)
downloadwireguard-linux-1873bb8115e678ad9fd0aac9dbbc68383bc36e06.tar.xz
wireguard-linux-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 <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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions