Skip to content
Commit 345c3f17 authored by Make Shi's avatar Make Shi Committed by Benjamin Cabé
Browse files

Bluetooth: Shell: BR: Add NULL pointer check for result->resp_buf



In case the peer device has NO SDP record, the result is valid,
but the result->resp_buf is NULL, it would introduce a hardfault.
Therefore, also add a NULL pointer check for result->resp_buf.

Signed-off-by: default avatarMake Shi <make.shi@nxp.com>
parent 82f7857a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment