summaryrefslogtreecommitdiffstats
path: root/crypto/crc32c.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-02-14 02:32:07 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-26 16:42:37 +0100
commitcf3680b90c7842cf91ed857ac4528f4e057da366 (patch)
treef73af36b208fab34620808f0075cc54f51cfdfb0 /crypto/crc32c.c
parentLinux 2.6.25-rc3 (diff)
downloadlinux-cf3680b90c7842cf91ed857ac4528f4e057da366.tar.xz
linux-cf3680b90c7842cf91ed857ac4528f4e057da366.zip
printk: fix possible printk overrun
printk recursion detection prepends message to printk_buf and offsets printk_buf when actual message is printed but it forgets to trim buffer length accordingly. This can result in overrun in extreme cases. Fix it. [ mingo@elte.hu: bug was introduced by me via: commit 32a76006683f7b28ae3cc491da37716e002f198e Author: Ingo Molnar <mingo@elte.hu> Date: Fri Jan 25 21:07:58 2008 +0100 printk: make printk more robust by not allowing recursion ] Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/crc32c.c')
0 files changed, 0 insertions, 0 deletions