diff options
| author | Johan Hovold <[email protected]> | 2015-02-18 04:51:07 +0000 |
|---|---|---|
| committer | Johan Hovold <[email protected]> | 2015-02-26 16:13:59 +0000 |
| commit | db81de767e375743ebb0ad2bcad3326962c2b67e (patch) | |
| tree | e4f1ed8f9696f35e408093f6be8e64c39c1a6bbb /lib/mpi/mpi-bit.c | |
| parent | USB: serial: clean up bus probe error handling (diff) | |
| download | kernel-db81de767e375743ebb0ad2bcad3326962c2b67e.tar.gz kernel-db81de767e375743ebb0ad2bcad3326962c2b67e.zip | |
USB: mxuport: fix null deref when used as a console
Fix null-pointer dereference at probe when the device is used as a
console, in which case the tty argument to open will be NULL.
Fixes: ee467a1f2066 ("USB: serial: add Moxa UPORT 12XX/14XX/16XX
driver")
Cc: stable <[email protected]> # v3.14
Signed-off-by: Johan Hovold <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
