diff options
author | Johan Hovold <johan@kernel.org> | 2020-01-17 10:50:24 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-01-17 16:22:57 +0100 |
commit | 1568c58d11a7c851bd09341aeefd6a1c308ac40d (patch) | |
tree | 2fcd69910b423be66e00fac67f5b4b3b1e1fc6aa /drivers/mmc | |
parent | e37d1aeda737a20b1846a91a3da3f8b0f00cf690 (diff) | |
download | linux-1568c58d11a7c851bd09341aeefd6a1c308ac40d.tar.bz2 |
USB: serial: io_edgeport: add missing active-port sanity check
The driver receives the active port number from the device, but never
made sure that the port number was valid. This could lead to a
NULL-pointer dereference or memory corruption in case a device sends
data for an invalid port.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions