Eric W. Biederman
05d81d2222
serial8250: sanity check nr_uarts on all paths.
...
I had 8250.nr_uarts=16 in the boot line of a test kernel and I had a weird
mysterious crash in sysfs. After taking an in-depth look I realized that
CONFIG_SERIAL_8250_NR_UARTS was set to 4 and I was walking off the end of
the serial8250_ports array.
Ouch!!!
Don't let this happen to someone else.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Alan Cox <alan@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-12 14:33:41 -07:00
..
2008-04-30 08:29:54 -07:00
2008-05-01 08:04:01 -07:00
2007-05-11 17:19:02 +01:00
2008-05-01 08:04:00 -07:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2008-05-24 09:56:09 -07:00
2008-03-04 16:35:09 -08:00
2008-07-12 14:33:41 -07:00
2008-05-31 16:10:04 +08:00
2008-02-04 13:14:06 +00:00
2008-04-30 08:29:45 -07:00
2008-04-30 08:29:54 -07:00
2007-06-05 19:39:49 +01:00
2008-04-17 20:05:39 +02:00
2008-06-06 11:29:12 -07:00
2008-06-19 17:46:39 +08:00
2008-04-30 08:29:30 -07:00
2008-04-30 08:29:30 -07:00
2008-05-12 07:27:38 -07:00
2007-11-14 18:45:46 -08:00
2008-04-28 08:58:16 -07:00
2008-02-07 08:42:24 -08:00
2008-01-24 20:40:09 -08:00
2008-02-03 14:47:38 +02:00
2008-04-19 17:17:34 +01:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2007-11-29 09:24:53 -08:00
2008-05-17 18:22:26 +08:00
2008-04-30 08:29:47 -07:00
2008-03-04 16:35:16 -08:00
2007-10-16 09:43:04 -07:00
2008-04-30 08:29:30 -07:00
2008-04-15 19:35:40 -07:00
2008-05-14 19:11:12 -07:00
2008-05-01 11:59:12 -06:00
2008-04-15 19:35:40 -07:00
2008-02-03 17:29:25 +02:00
2008-04-30 08:29:45 -07:00
2008-04-24 13:32:46 -05:00
2007-09-22 14:49:21 +10:00
2008-04-15 19:35:40 -07:00
2008-04-15 19:35:40 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-06-06 11:29:09 -07:00
2008-04-15 19:35:40 -07:00
2008-07-04 10:40:04 -07:00
2008-02-05 09:44:08 -08:00
2007-05-30 13:15:19 +01:00
2007-10-30 08:06:55 -07:00
2008-05-16 15:09:08 +09:00
2008-05-08 19:51:59 +09:00
2008-04-30 08:29:54 -07:00
2007-12-29 01:19:49 -08:00
2007-12-12 07:36:34 -08:00
2008-05-20 23:42:09 -07:00
2008-05-02 05:22:51 -07:00
2008-05-02 05:22:51 -07:00
2008-05-02 05:22:51 -07:00
2007-05-09 13:49:04 -07:00
2008-04-30 08:29:54 -07:00
2008-06-06 11:29:09 -07:00
2008-04-28 08:58:30 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 08:38:22 -07:00