commit | 5a07975ad0a36708c6b0a5b9fea1ff811d0b0c1f | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.com> | Thu Mar 31 12:04:26 2016 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 31 09:28:46 2016 -0700 |
tree | 9d97f46b47846dc9a1aa483e503d9e99db13856a | |
parent | c55aee1bf0e6b6feec8b2927b43f7a09a6d5f754 [diff] |
USB: digi_acceleport: do sanity checking for the number of ports The driver can be crashed with devices that expose crafted descriptors with too few endpoints. See: http://seclists.org/bugtraq/2016/Mar/61 Signed-off-by: Oliver Neukum <ONeukum@suse.com> [johan: fix OOB endpoint check and add error messages ] Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>