diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2010-03-05 22:42:33 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 20:26:28 +0100 |
commit | 03315b59165ee2049a4b903a1b0b8bf673d701fa (patch) | |
tree | 92513448a8af5e2a0b1f228310154fea14e44c2b /usr | |
parent | cris v32: typo in crisv32_arbiter_unwatch()? (diff) | |
download | linux-03315b59165ee2049a4b903a1b0b8bf673d701fa.tar.xz linux-03315b59165ee2049a4b903a1b0b8bf673d701fa.zip |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions