Commit: 06d8b53447f19d42e81e38e2c640d27532625b35
Parent: dd257e98db01aceeae48211f7d28840de30e138e
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-12-17 15:11:38
Tree: a6ca6a72e654025655c04ad80f903828e1b273ae

shared/gatt-client: Guard against invalid access This patch adds a ref-count based guard around call sites that invoke a callback set by the upper-layer, to prevent memory errors after the callback returns.

Diffstat

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

1 files changed, 21 insertions(+), 13 deletions(-)

View Full Diff | Patch