summaryrefslogtreecommitdiffstats
path: root/drivers/uwb
diff options
context:
space:
mode:
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>2014-05-16 17:39:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 15:14:13 -0700
commitd5afce82e131eb5a171afeba0bc5fefbe2417ad9 (patch)
tree0ee29f9b6e9df63e64ed94a0951b83b552c3bbeb /drivers/uwb
parentdf3ce23a56654bbf08e0c36ab1690cd8316a53c4 (diff)
downloadlinux-d5afce82e131eb5a171afeba0bc5fefbe2417ad9.tar.bz2
USB: keyspan: fix potential null pointer dereference
Move control-urb dereference to after NULL-check. There is otherwise a risk of a possible null pointer dereference. Was largely found by using a static code analysis program called cppcheck. [Johan: modify commit message somewhat ] [gkh: remove stable tag as it's not a real problem that anyone has ever hit] Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions