Wolfgang Kroworsch
a564738c1c
vt: incomplete initialization of vc_tab_stop
...
Problem 1 (see patch below):
vc_tab_stop is declared as an array of 8 unsigned ints in struct
vc_data in include/linux/console_struct.h .
In drivers/char/vt.c only 5 of these 8 unsigned ints get initialized
leading to unintended tabulator placement on displays with more than
160 columns text.
Problem 2 (open):
Upcoming displays will have more than 256 columns of text leading to
invalid memory access in drivers/char/vt.c during tabulator
calculations:
if (vc->vc_tab_stop[vc->vc_x >> 5] & (1 << (vc->vc_x & 31)))
break;
Signed-off-by: Wolfgang Kroworsch <wolfgang@kroworsch.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-06 15:41:17 -08:00
..
2008-10-20 14:40:31 -07:00
2008-10-27 08:39:52 -07:00
2008-10-16 09:24:42 -07:00
2008-11-01 09:49:46 -07:00
2008-07-25 10:53:43 -07:00
2008-10-17 23:07:10 +02:00
2008-07-25 10:53:43 -07:00
2008-10-20 08:50:24 -07:00
2008-10-16 09:24:42 -07:00
2008-10-26 12:11:21 -07:00
2008-07-16 23:27:02 +02:00
2008-10-16 11:21:47 -07:00
2008-04-25 08:04:56 +08:00
2008-06-20 14:05:55 -06:00
2008-10-16 09:24:42 -07:00
2008-04-30 08:29:52 -07:00
2008-06-20 14:05:53 -06:00
2008-10-13 09:51:38 -07:00
2008-10-20 08:52:41 -07:00
2008-08-07 09:55:48 +01:00
2008-10-16 09:24:42 -07:00
2008-06-20 14:05:53 -06:00
2008-08-04 16:59:56 -07:00
2008-10-20 09:41:06 -07:00
2008-07-20 17:12:36 -07:00
2008-07-22 13:03:28 -07:00
2008-06-12 18:05:41 -07:00
2008-10-13 09:51:44 -07:00
2008-06-20 14:05:57 -06:00
2008-11-01 09:49:46 -07:00
2008-10-22 11:00:25 +11:00
2008-10-22 11:00:25 +11:00
2008-10-22 10:59:54 +11:00
2008-10-22 10:59:54 +11:00
2008-10-22 10:59:54 +11:00
2008-10-22 10:59:54 +11:00
2008-08-04 12:02:00 +10:00
2008-04-30 08:29:54 -07:00
2008-05-01 08:04:00 -07:00
2008-10-13 09:51:41 -07:00
2008-10-16 09:24:42 -07:00
2008-10-30 14:44:35 +00:00
2008-10-08 23:45:36 -04:00
2008-10-16 09:24:42 -07:00
2008-10-30 14:44:35 +00:00
2008-06-20 14:05:48 -06:00
2008-10-16 09:24:42 -07:00
2008-10-16 09:24:42 -07:00
2008-07-17 11:34:49 -07:00
2008-10-16 11:21:47 -07:00
2008-04-30 08:29:43 -07:00
2008-07-24 10:47:14 -07:00
2008-10-13 09:51:44 -07:00
2008-04-30 08:29:49 -07:00
2008-10-13 09:51:44 -07:00
2008-10-13 09:51:44 -07:00
2008-10-13 09:51:45 -07:00
2008-10-13 09:51:39 -07:00
2008-10-21 07:47:06 -04:00
2008-07-26 16:29:24 +01:00
2008-10-20 08:52:40 -07:00
2008-10-16 09:24:42 -07:00
2008-10-13 09:51:44 -07:00
2008-11-01 09:49:46 -07:00
2008-10-21 07:49:14 -04:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:38 -07:00
2008-07-20 17:12:38 -07:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:38 -07:00
2008-11-01 09:49:46 -07:00
2008-06-20 14:05:53 -06:00
2008-07-20 17:12:34 -07:00
2008-07-26 20:29:03 -07:00
2008-05-05 12:37:02 -07:00
2008-05-16 12:01:45 -07:00
2008-10-16 09:24:42 -07:00
2008-11-01 09:49:46 -07:00
2008-07-20 17:12:38 -07:00
2008-07-22 13:03:28 -07:00
2008-10-16 09:24:42 -07:00
2008-10-20 08:52:36 -07:00
2008-08-16 17:21:58 -07:00
2008-08-07 04:05:46 -04:00
2008-08-07 04:05:46 -04:00
2008-10-20 08:52:34 -07:00
2008-06-20 14:05:53 -06:00
2008-06-20 14:05:51 -06:00
2008-04-30 23:15:34 +02:00
2008-10-13 09:51:39 -07:00
2008-10-13 09:51:40 -07:00
2008-10-16 09:24:42 -07:00
2008-10-13 09:51:44 -07:00
2008-08-01 12:50:15 -07:00
2008-10-23 09:20:53 -07:00
2008-10-16 09:24:42 -07:00
2008-10-16 09:24:42 -07:00
2008-10-22 10:59:54 +11:00
2008-07-26 20:29:03 -07:00
2008-10-16 16:52:05 +02:00
2008-10-13 09:51:40 -07:00
2008-11-06 15:41:17 -08:00