Searched hist:e65cdfae (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/misc/ |
H A D | usbtest.c | e65cdfae Mon Apr 09 14:48:55 CDT 2012 Xi Wang <xi.wang@gmail.com> usb: usbtest: avoid integer overflow in test_ctrl_queue()
Avoid overflowing context.count = param->sglen * param->iterations, where both `sglen' and `iterations' are from userspace.
| test_ctrl_queue() | usbtest_ioctl()
Keep -EOPNOTSUPP for error code.
Signed-off-by: Xi Wang <xi.wang@gmail.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> e65cdfae Mon Apr 09 14:48:55 CDT 2012 Xi Wang <xi.wang@gmail.com> usb: usbtest: avoid integer overflow in test_ctrl_queue() Avoid overflowing context.count = param->sglen * param->iterations, where both `sglen' and `iterations' are from userspace. | test_ctrl_queue() | usbtest_ioctl() Keep -EOPNOTSUPP for error code. Signed-off-by: Xi Wang <xi.wang@gmail.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|