]> git.karo-electronics.de Git - karo-tx-linux.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)
commit1b9fb31f7db7882d475bdc8b335403e8eaabf1ef
treebac2c09511d7807b5df8a7dca8951d04e8445e71
parentf563926fed982f26b391ca42493f55f2447f1b0a
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