summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/mach-visws
diff options
context:
space:
mode:
authorLinus Torvalds2006-06-29 02:09:34 +0200
committerLinus Torvalds2006-06-29 02:09:34 +0200
commit0a6047eef1c465c38aacfbdab193161b3f0cd144 (patch)
tree3347213ad162a9570d6f4c5cffa1f8db7abb7cba /include/asm-i386/mach-visws
parentMerge branch 'nommu' of master.kernel.org:/home/rmk/linux-2.6-arm (diff)
downloadkernel-qcow2-linux-0a6047eef1c465c38aacfbdab193161b3f0cd144.tar.gz
kernel-qcow2-linux-0a6047eef1c465c38aacfbdab193161b3f0cd144.tar.xz
kernel-qcow2-linux-0a6047eef1c465c38aacfbdab193161b3f0cd144.zip
Fix vsnprintf off-by-one bug
The recent vsnprintf() fix introduced an off-by-one, and it's now possible to overrun the target buffer by one byte. The "end" pointer points to past the end of the buffer, so if we have to truncate the result, it needs to be done though "end[-1]". [ This is just an alternate and simpler patch to one proposed by Andrew and Jeremy, who actually noticed the problem ] Acked-by: Andrew Morton <akpm@osdl.org> Acked-by: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386/mach-visws')
0 files changed, 0 insertions, 0 deletions