Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible NULL pointer dereference
When a user sets up a TTY without a device, triggering the tty->notty code path, the tty->dev will be NULL and tty_parse_args() still return OK result. Found by Coverity Scan Signed-off-by: Joachim Wiberg <[email protected]>
- Loading branch information