Re: [PATCH] staging: speakup: fix tty-operation NULL derefs

2019-01-30 Thread Samuel Thibault
Johan Hovold, le mer. 30 janv. 2019 10:49:34 +0100, a ecrit: > The send_xchar() and tiocmset() tty operations are optional. Add the > missing sanity checks to prevent user-space triggerable NULL-pointer > dereferences. > > Fixes: 6b9ad1c742bf ("staging: speakup: add send_xchar, tiocmset and input

[PATCH] staging: speakup: fix tty-operation NULL derefs

2019-01-30 Thread Johan Hovold
The send_xchar() and tiocmset() tty operations are optional. Add the missing sanity checks to prevent user-space triggerable NULL-pointer dereferences. Fixes: 6b9ad1c742bf ("staging: speakup: add send_xchar, tiocmset and input functionality for tty") Cc: stable # 4.13 Cc: Okash Khawaja Cc: