summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/i1480
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-13 13:47:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-14 17:07:30 +0800
commitdaf229b15907fbfdb6ee183aac8ca428cb57e361 (patch)
tree57aee7e47013cab76964b20c584bf0b8bda38ff9 /drivers/uwb/i1480
parent03ace948a4eb89d1cf51c06afdfc41ebca5fdb27 (diff)
downloadblackbird-op-linux-daf229b15907fbfdb6ee183aac8ca428cb57e361.tar.gz
blackbird-op-linux-daf229b15907fbfdb6ee183aac8ca428cb57e361.zip
uwb: hwa-rc: fix NULL-deref at probe
Make sure to check the number of endpoints to avoid dereferencing a NULL-pointer should a malicious device lack endpoints. Note that the dereference happens in the start callback which is called during probe. Fixes: de520b8bd552 ("uwb: add HWA radio controller driver") Cc: stable <stable@vger.kernel.org> # 2.6.28 Cc: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> Cc: David Vrabel <david.vrabel@csr.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb/i1480')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud