git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
090abf7
)
TTY: pty, stop passing NULL to free_tty_struct
author
Jiri Slaby
<jslaby@suse.cz>
Tue, 7 Aug 2012 19:47:26 +0000
(21:47 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 10 Aug 2012 20:27:50 +0000
(13:27 -0700)
In case alloc_tty_struct fails in pty_common_install, we pass NULL to
free_tty_struct. This is invalid as the function is not ready to cope
with that. And even if it was, it is not nice to do that anyway.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c
patch
|
blob
|
history
diff --cc
drivers/tty/pty.c
Simple merge