commit | db81de767e375743ebb0ad2bcad3326962c2b67e | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Feb 18 11:51:07 2015 +0700 |
committer | Johan Hovold <johan@kernel.org> | Thu Feb 26 17:13:59 2015 +0100 |
tree | e4f1ed8f9696f35e408093f6be8e64c39c1a6bbb | |
parent | d6f7f41274b548435ab5de1041a492fc4a714196 [diff] |
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 <stable@vger.kernel.org> # v3.14 Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Greg Kroah-Hartman <greg@kroah.com>