OSDN Git Service

Send empty string instead of nullptr for BLDN event
authorVic Huang <vich@google.com>
Wed, 27 Feb 2019 10:31:18 +0000 (18:31 +0800)
committerVic Huang <vich@google.com>
Wed, 27 Feb 2019 10:38:15 +0000 (18:38 +0800)
commit8ee2b4210e5326407203f4f9a2c5f1a7c5398a9a
treef5448053a0470a9f338985daf3e083aa52f85b1e
parent279c30640a221dd86c639a39d05ea28733b10591
Send empty string instead of nullptr for BLDN event

Send nullptr for BLDN event cause null pointer dereference
in isValidUtf(). Replace it to empty string.

Bug: 126300780
Test: Manual test redial pass
Change-Id: I834e1c4d01eb2a0aa7b35a57259e050313367263
btif/src/btif_hf.cc