[PATCH v2 0/2] tty: fix bugs in compat TIOCGSERIAL

From: Eric Biggers
Date: Mon Feb 24 2020 - 13:21:54 EST


Fix two bugs in the compat implementation of TIOCGSERIAL, both of which
were introduced by the compat ioctl refactoring in Linux v4.20.

Eric Biggers (2):
tty: fix compat TIOCGSERIAL leaking uninitialized memory
tty: fix compat TIOCGSERIAL checking wrong function ptr

drivers/tty/tty_io.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

--
2.25.0.265.gbab2e86ba0-goog