aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorHeikki Krogerus <[email protected]>2019-06-12 17:15:40 +0300
committerGreg Kroah-Hartman <[email protected]>2019-06-12 17:13:02 +0200
commit5f54a85db5df67df8161739a4b2f9c2b7ab219fe (patch)
tree527ddbb225b264ec03b33217e0c89b67c4bab33f /scripts/gdb/linux
parentc2ed3d474fac61ab46468c5365f84f59dc6e173f (diff)
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 <[email protected]> Fixes: ad74b8649bea ("usb: typec: ucsi: Preliminary support for alternate modes") Signed-off-by: Heikki Krogerus <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions