aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorAhmed S. Darwish <[email protected]>2010-12-25 11:57:09 +0200
committerLinus Torvalds <[email protected]>2010-12-28 11:12:32 -0800
commit1873bb8115e678ad9fd0aac9dbbc68383bc36e06 (patch)
tree938017e949de036589035da33975257e68afed65 /net/lapb/lapb_iface.c
parentffc96d628b651b69b39909fc3e9e8f465df1eed3 (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 <[email protected]> Acked-by: Marco Stornelli <[email protected]> Cc: [email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions