Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: gadget: rndis: check size of RNDIS_MSG_SET command
ANBZ: torvalds#590 commit 38ea1ea upstream. Check the size of the RNDIS_MSG_SET command given to us before attempting to respond to an invalid message size. Reported-by: Szymon Heidrich <szymon.heidrich@gmail.com> Cc: stable@kernel.org Tested-by: Szymon Heidrich <szymon.heidrich@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: zhaoxinchao <zhaoxinchao@uniontech.com> Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
- Loading branch information