Revision d979e9f9ecab04c1ecca741370e30a8a498893f5 authored by Johan Hovold on 27 August 2014, 09:55:18 UTC, committed by Greg Kroah-Hartman on 27 August 2014, 20:23:52 UTC
Make sure to verify the maximum number of endpoints per type to avoid writing beyond the end of a stack-allocated array. The current usb-serial implementation is limited to eight ports per interface but failed to verify that the number of endpoints of a certain type reported by a device did not exceed this limit. Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 0393689
File | Mode | Size |
---|---|---|
00-INDEX | -rw-r--r-- | 1.5 KB |
CREDITS | -rw-r--r-- | 1.9 KB |
HiSax.cert | -rw-r--r-- | 3.9 KB |
INTERFACE | -rw-r--r-- | 27.2 KB |
INTERFACE.CAPI | -rw-r--r-- | 14.1 KB |
INTERFACE.fax | -rw-r--r-- | 4.5 KB |
README | -rw-r--r-- | 28.6 KB |
README.FAQ | -rw-r--r-- | 721 bytes |
README.HiSax | -rw-r--r-- | 23.3 KB |
README.act2000 | -rw-r--r-- | 3.5 KB |
README.audio | -rw-r--r-- | 5.8 KB |
README.avmb1 | -rw-r--r-- | 5.5 KB |
README.concap | -rw-r--r-- | 10.5 KB |
README.diversion | -rw-r--r-- | 6.1 KB |
README.fax | -rw-r--r-- | 1.1 KB |
README.gigaset | -rw-r--r-- | 17.5 KB |
README.hfc-pci | -rw-r--r-- | 1.8 KB |
README.hysdn | -rw-r--r-- | 7.8 KB |
README.icn | -rw-r--r-- | 5.0 KB |
README.mISDN | -rw-r--r-- | 328 bytes |
README.pcbit | -rw-r--r-- | 1.6 KB |
README.sc | -rw-r--r-- | 11.9 KB |
README.syncppp | -rw-r--r-- | 2.1 KB |
README.x25 | -rw-r--r-- | 7.1 KB |
syncPPP.FAQ | -rw-r--r-- | 7.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...