diff options
author | Tetsuo Handa <[email protected]> | 2018-04-05 19:40:16 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-04-23 11:05:52 +0200 |
commit | 903f9db10f18f735e62ba447147b6c434b6af003 (patch) | |
tree | b05ae90ca1e626fa743c1edef9fd915378469b1e /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 598c2d41ff44889dd8eced4f117403e472158d85 (diff) |
tty: Don't call panic() at tty_ldisc_init()
syzbot is reporting kernel panic [1] triggered by memory allocation failure
at tty_ldisc_get() from tty_ldisc_init(). But since both tty_ldisc_get()
and caller of tty_ldisc_init() can cleanly handle errors, tty_ldisc_init()
does not need to call panic() when tty_ldisc_get() failed.
[1] https://syzkaller.appspot.com/bug?id=883431818e036ae6a9981156a64b821110f39187
Signed-off-by: Tetsuo Handa <[email protected]>
Reported-by: syzbot <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Jiri Slaby <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions