]> git.baikalelectronics.ru Git - kernel.git/commit
usb: core: check for valid id_table when using the RefId feature
authorWolfram Sang <wsa@the-dreams.de>
Mon, 13 Jan 2014 10:29:23 +0000 (11:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 23:54:03 +0000 (15:54 -0800)
commitab4ffa466dc54a1e07d6df03713cdd456b20ba6d
treebac2c09511d7807b5df8a7dca8951d04e8445e71
parente36c79f61dacd41fa23104d3ab15fd8ea1095007
usb: core: check for valid id_table when using the RefId feature

When implementing the RefId feature, it was missed that id_tables can be
NULL under special circumstances. Bail out in that case.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/driver.c