Commit: d393274dded3f54394caa13f7ce27b2adbf8683f
Parent: 32da6e18ea36aeb01b9f82d74689fb1e061f3313
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-11-27 14:57:45
Tree: 3dba1231cf16681a33704e4d5b8c33aece26e055

shared/gatt: Fix dereference before NULL check warnings Add NULL check otherwise constructions like below give warnings: ... uint8_t pdu[4 + get_uuid_len(uuid)]; if (!att || !uuid || uuid->type == BT_UUID_UNSPEC) ...

Diffstat

M src/shared/gatt-helpers.c | 3 +++

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

View Full Diff | Patch