1
0
Files
linux/drivers
Jiri Slaby 7fa57a0cd9 Char: cyclades, fix potential NULL dereference
ztxdone is jumped to even if tty is NULL and tty_wakeup placed after
this label doesn't expect NULLed parameter, so this will cause an oops
in some situations (why they scheduled a wakeup there before remove
bottom half processing patch?).

wakeup only in the case when we have non-null tty struct.

Spotted by Adrian Bunk.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-23 08:32:06 -07:00
..
2007-10-17 08:42:52 -07:00
2007-10-22 21:19:53 +02:00
2007-10-16 09:43:09 -07:00
2007-10-19 11:53:42 -07:00
2007-10-20 00:47:32 +02:00
2007-10-20 01:34:40 +02:00
2007-10-22 21:19:53 +02:00
2007-10-19 23:22:55 +02:00
2007-10-20 01:55:58 +02:00
2007-10-20 01:34:40 +02:00
2007-10-20 01:34:40 +02:00
2007-10-22 21:19:53 +02:00
2007-10-20 01:34:40 +02:00
2007-10-22 08:13:19 -07:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-10-20 01:34:40 +02:00
2007-10-20 15:04:06 -07:00
2007-10-16 21:04:11 -04:00
2007-10-17 08:42:57 -07:00
2007-10-22 21:19:53 +02:00
2007-10-18 10:39:03 +00:00