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: Make Shi <make.shi@nxp.com> |
||
|---|---|---|
| .. | ||
| audio | ||
| common | ||
| controller | ||
| crypto | ||
| host | ||
| lib | ||
| mesh | ||
| services | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.adv | ||
| Kconfig.iso | ||
| Kconfig.logging | ||