cdc-acm: fix NULL pointer reference
The union descriptor must be checked. Its usage was conditional before the parser was introduced. This is important, because many RNDIS device, which also use the common parser, have bogus extra descriptors. Signed-off-by: NOliver Neukum <oneukum@suse.com> Tested-by: NVasily Galkin <galkin-vv@yandex.ru> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录