commit | 03315b59165ee2049a4b903a1b0b8bf673d701fa | [log] [tgz] |
---|---|---|
author | Alexander Beregalov <a.beregalov@gmail.com> | Fri Mar 05 13:42:33 2010 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Mar 06 11:26:28 2010 -0800 |
tree | 92513448a8af5e2a0b1f228310154fea14e44c2b | |
parent | be1494527c4dea4db87749d08b09be23327157dc [diff] |
uml: line.c: avoid NULL pointer dereference Assign tty only if line is not NULL. [akpm@linux-foundation.org: simplification] Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>