Commits

Johan Hovold committed 84a91ce0210
Input: kbtab - validate number of endpoints before using them [ Upstream commit cb1b494663e037253337623bf1ef2df727883cb7 ] Make sure to check the number of endpoints to avoid dereferencing a NULL-pointer should a malicious device lack endpoints. Signed-off-by: Johan Hovold <johan@kernel.org> Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>