USB: gadget: validate endpoint index for xilinx udc
Assure that host may not manipulate the index to point past endpoint array. Signed-off-by: NSzymon Heidrich <szymon.heidrich@gmail.com> Cc: stable <stable@kernel.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录