commit | 2d8f4447b58bba5f8cb895c07690434c02307eaf | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Mon Jun 10 18:29:38 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 10 11:00:49 2013 -0700 |
tree | 149d98e65204272b6ecb73c1976fd90334bc5a49 | |
parent | 5e4211f1c47560c36a8b3d4544dfd866dcf7ccd0 [diff] |
USB: pl2303: fix device initialisation at open Do not use uninitialised termios data to determine when to configure the device at open. This also prevents stack data from leaking to userspace in the OOM error path. Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>