OSDN Git Service

Add a missing NULL pointer check inside bta_av_rcfg_str_ok()
authorPavlin Radoslavov <pavlin@google.com>
Wed, 15 Feb 2017 01:38:19 +0000 (17:38 -0800)
committerAjay Panicker <apanicke@google.com>
Wed, 15 Feb 2017 01:42:57 +0000 (01:42 +0000)
commitc9cff56fea39db48509eabaf19302ff6ea6ffa87
tree3470db4fe300f9904519327d516f66774eebe6a0
parent24dc553b5538380e77dadcb993349e978d237190
Add a missing NULL pointer check inside bta_av_rcfg_str_ok()

Apparently, the p_data argument could be NULL if the reconfig
was triggered by the local device.

Test: Tested with Bluetooth headsets
Bug: 35351216
Change-Id: Ic51d849232944b5978772d222c41f66824e14dd4
bta/av/bta_av_aact.cc