commit | 29c6dd591bbd592472247441de9fa694acdabae8 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.com> | Thu Jan 07 11:01:00 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Jan 09 21:00:24 2016 -0500 |
tree | 276191fdf11533c762892bd326547731c1dfdebb | |
parent | 5ee3c60c8d3b88cab6496c9b7d49a01576dd9cf9 [diff] |
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: Oliver Neukum <oneukum@suse.com> Tested-by: Vasily Galkin <galkin-vv@yandex.ru> Signed-off-by: David S. Miller <davem@davemloft.net>