Re: [PATCH] isdn/gigaset: fix NULL-deref at probe
From: David Miller
Date: Mon Mar 13 2017 - 15:29:12 EST
From: Johan Hovold <johan@xxxxxxxxxx>
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 <stable@xxxxxxxxxxxxxxx> # 2.6.17
> Cc: Hansjoerg Lipp <hjlipp@xxxxxx>
>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
Applied.