Ishizaki Kou 55045d47d7 [POWERPC] hvcbeat: Fix buffer manipulation
This fixes a potential bug at drivers/char/hvc_beat.c.
 - hvc_put_term_char routine will decrement "rest" variable twice,
   and forget to advance "buf" pointer by "nlen" bytes.
This bug was not hit previously because the output handler in
drivers/char/hvc_console.c splits given output into 16 bytes
at maximum.

Reported-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-17 07:46:10 +10:00
..
2008-04-06 16:10:40 -07:00
2008-03-24 19:22:19 -07:00
2008-04-02 15:28:19 -07:00
2008-04-02 15:28:19 -07:00
2008-02-06 10:41:10 -08:00
2008-02-08 09:22:41 -08:00
2007-10-17 08:42:52 -07:00
2007-05-08 11:15:09 -07:00
2008-02-03 17:11:42 +02:00
2008-02-03 17:11:42 +02:00
2008-03-07 10:05:13 -08:00
2008-04-04 18:36:49 +02:00
2008-02-07 08:42:33 -08:00
2007-02-20 17:11:55 +00:00
2008-02-07 08:42:25 -08:00
2008-02-07 08:42:25 -08:00
2007-10-29 07:41:32 -07:00
2007-07-29 17:09:29 -07:00
2008-02-08 09:22:24 -08:00
2008-02-07 08:42:35 -08:00
2008-02-07 08:42:34 -08:00
2007-10-17 08:42:55 -07:00
2008-03-30 14:20:23 -07:00
2007-02-12 09:48:30 -08:00
2007-07-21 17:49:16 -07:00
2007-10-18 14:37:23 -07:00
2008-03-13 13:11:43 -07:00
2008-03-19 19:42:36 -07:00
2007-07-16 09:05:46 -07:00
2008-02-07 08:42:34 -08:00
2008-02-07 08:42:34 -08:00
2007-10-19 11:53:43 -07:00
2008-02-03 17:11:42 +02:00
2006-12-20 16:37:48 +11:00
2007-10-17 08:42:56 -07:00
2008-03-04 16:35:11 -08:00