commit | dc43ff924d0d29e53e3f4d26db2c4265b1aa5a2a | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Wed Jun 26 16:47:31 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 23 16:24:33 2013 -0700 |
tree | e339833acb19fcf16a2b62ec45e63a1bb6dd96b9 | |
parent | 3ba19fe31b726371b45f91a8de9341f5625e75e4 [diff] |
USB: oti6858: do not call set_termios with uninitialised data Make sure set_termios is not called with uninitialised data at open. The old termios struct is currently not used, but pass NULL instead to avoid future problems (e.g. stack data leak). Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>