From: Johan Hovold <jo...@kernel.org> Date: Mon, 13 Mar 2017 13:39:01 +0100
> Make sure to check the number of endpoints to avoid dereferencing a > NULL-pointer should a malicious device lack endpoints. > > Fixes: cf7776dc05b8 ("[PATCH] isdn4linux: Siemens Gigaset drivers - > direct USB connection") > Cc: stable <sta...@vger.kernel.org> # 2.6.17 > Cc: Hansjoerg Lipp <hjl...@web.de> > > Signed-off-by: Johan Hovold <jo...@kernel.org> Applied.