aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2019-06-12 17:15:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-12 17:13:02 +0200
commit5f54a85db5df67df8161739a4b2f9c2b7ab219fe (patch)
tree527ddbb225b264ec03b33217e0c89b67c4bab33f /scripts/gen_compile_commands.py
parentMerge tag 'usb-serial-5.2-rc5' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus (diff)
downloadlinux-dev-5f54a85db5df67df8161739a4b2f9c2b7ab219fe.tar.xz
linux-dev-5f54a85db5df67df8161739a4b2f9c2b7ab219fe.zip
usb: typec: Make sure an alt mode exist before getting its partner
Adding check to typec_altmode_get_partner() to prevent potential NULL pointer dereference. Reported-by: Vladimir Yerilov <openmindead@gmail.com> Fixes: ad74b8649bea ("usb: typec: ucsi: Preliminary support for alternate modes") Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions