André Goddard Rosa
9e845abfc8
serial: fix NULL pointer dereference
If kzalloc() or alloc_tty_driver() fails, we call:
put_tty_driver(normal = NULL).
Then:
put_tty_driver -> tty_driver_kref_put -> kref_put(&NULL->kref, ...)
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-11 15:18:04 -08:00
..
2009-12-09 19:57:06 -08:00
2009-12-09 19:43:33 -08:00
2009-12-09 19:43:33 -08:00
2009-12-09 19:43:33 -08:00
2009-12-09 19:43:33 -08:00
2009-12-09 19:43:33 -08:00
2009-12-09 19:03:16 -08:00
2009-12-11 15:18:04 -08:00
2009-11-17 23:15:04 -05:00
2009-11-09 09:40:57 +01:00
2009-12-07 18:36:35 +01:00
2009-12-06 11:18:28 +01:00
2009-12-09 19:43:33 -08:00
2009-12-03 20:11:06 +01:00
2009-12-09 19:43:33 -08:00
2009-12-04 22:10:59 -08:00
2009-12-01 16:32:19 -08:00
2009-12-09 19:57:06 -08:00
2009-12-09 19:52:01 -08:00
2009-12-09 19:53:11 -08:00
2009-12-09 19:57:06 -08:00
2009-12-09 19:45:38 -08:00
2009-12-09 19:43:33 -08:00
2009-12-02 01:13:11 -08:00
2009-12-09 19:43:33 -08:00
2009-12-10 09:34:40 -08:00
2009-12-09 19:43:33 -08:00
2009-12-08 08:15:29 -08:00
2009-12-09 19:43:33 -08:00
2009-12-09 19:43:33 -08:00
2009-12-10 12:45:18 -02:00
2009-12-09 19:43:33 -08:00
2009-12-09 19:52:01 -08:00
2009-12-09 19:43:33 -08:00
2009-12-09 19:43:33 -08:00
2009-12-10 09:31:45 -08:00
2009-12-09 19:43:33 -08:00
2009-12-09 19:43:33 -08:00
2009-12-08 08:13:35 -08:00
2009-12-09 19:57:06 -08:00
2009-12-08 08:15:29 -08:00
2009-12-09 19:57:06 -08:00
2009-12-04 15:39:55 +01:00
2009-11-27 21:07:23 +01:00
2009-11-12 07:26:01 -08:00
2009-12-04 15:39:55 +01:00
2009-12-02 19:37:16 +00:00
2009-12-09 19:43:33 -08:00
2009-12-09 19:43:33 -08:00
2009-12-04 15:39:55 +01:00
2009-12-09 19:43:33 -08:00
2009-12-11 15:18:04 -08:00
2009-11-30 12:15:04 +09:00
2009-12-09 19:43:33 -08:00
2009-12-05 15:22:26 -08:00
2009-12-09 19:50:49 -08:00
2009-12-07 18:36:35 +01:00
2009-11-05 17:33:24 -05:00
2009-11-13 11:36:00 +09:00
2009-12-11 15:18:04 -08:00
2009-12-04 15:39:55 +01:00
2009-12-10 09:34:40 -08:00
2009-10-29 08:50:37 +10:30
2009-12-09 19:43:33 -08:00
2009-12-10 09:35:02 -08:00
2009-12-06 11:18:28 +01:00
2009-11-09 09:40:56 +01:00