diff options
| author | Christian Gromm <christian.gromm@microchip.com> | 2020-05-15 11:21:01 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-15 15:35:12 +0200 |
| commit | c1a57be08e734baf1b89e4a5027cf78c68f29771 (patch) | |
| tree | 9d861be1fd4e9e07c15519f141a4e35f67aba730 /net/lapb/lapb_out.c | |
| parent | bffea154b24bd71851f883acb08399e43d598d01 (diff) | |
staging: most: usb: check number of reported endpoints
This patch checks the number of endpoints reported by the USB
interface descriptor and throws an error if the number exceeds
MAX_NUM_ENDPOINTS.
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/1589534465-7423-4-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions
