commit | b00c89056777d7f7a84c7535abc4203ad416fc71 | [log] [tgz] |
---|---|---|
author | Satish Kodishala <skodisha@codeaurora.org> | Tue Jun 12 13:14:41 2018 +0530 |
committer | Satish Kodishala <skodisha@codeaurora.org> | Tue Jun 12 13:22:05 2018 +0530 |
tree | c8ba34b2c07932d87b1da77b5a462e7a46732083 | |
parent | a47c8e58366e6b9fd1f8e4e0ad66d5cfd774a672 [diff] |
Return if sBluetoothHfpInterface pointer is NULL Usecase: During HFP initialisation. Failure: NULL pointer dereferencing, might cause crash Rootcause: Pointer 'sBluetoothHfpInterface' checked for NULL and is dereferenced later. Fix: Check if the sBluetoothHfpInterface pointer is NULL and return from initializeNative API before dereferencing the pointer. Fixes: 110066199 Change-Id: I99a159d9a2062b64689b6b0f694732d08fb7bd44