printk: don't read beyond string arguments' terminating zero
authorMarkus Armbruster <armbru@redhat.com>
Wed, 30 Apr 2008 07:54:52 +0000 (00:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:52 +0000 (08:29 -0700)
commitf735295b14ae073a8302d7b1da894bc597724557
tree844555a3a768ad6eef3d6884b6b114cebefa0ec4
parentf7511d5f66f01fc451747b24e79f3ada7a3af9af
printk: don't read beyond string arguments' terminating zero

Fix update_console_cmdline() not to to read beyond the terminating zero of its
name argument.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/printk.c