summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2014-07-13 01:44:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-12 17:21:47 -0700
commit07584d4a356ef52c084e1e4fedc22858ffc2f8b2 (patch)
treee9d1e2f4570ff89f9ae770c4df9e541e569533c7 /fs/f2fs/super.c
parent2c964a2f4191f2229566895f1a0e85f8339f5dd1 (diff)
downloadlinux-07584d4a356ef52c084e1e4fedc22858ffc2f8b2.tar.gz
linux-07584d4a356ef52c084e1e4fedc22858ffc2f8b2.tar.bz2
linux-07584d4a356ef52c084e1e4fedc22858ffc2f8b2.zip
drivers: tty: Fix use-after-free in pty_common_install
In 2c964a2f "drivers: tty: Merge alloc_tty_struct and initialize_tty_struct", I messed up the refactorization of pty_common_install, causing use-after-free and NULL pointer derefs on various error paths. This should fix it. Reported-by: Julia Lawall <julia.lawall@lip6.fr> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/f2fs/super.c')
0 files changed, 0 insertions, 0 deletions