Commit: 7a45038dc1e505afbaa49f8dd64fd41dab627f23
Parent: cf3d80a01f1f21538148cb9a5569b678dad0848b
Author: Roman Smirnov <r.smirnov@omp.ru>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-07-10 17:15:36
Tree: 0a31753a7546e774aff98a5d1123a6bd53bed027

shared/gatt-client: add NULL check to discover_secondary_cb() It is necessary to prevent dereferencing of a NULL pointer. Found with the SVACE static analysis tool.

Diffstat

M src/shared/gatt-client.c | 4 +++-

1 files changed, 3 insertions(+), 1 deletions(-)

View Full Diff | Patch