Commit: 726dc13a33ef1a73854521f9306536904b48eb93
Parent: 3ff4427f399f13e126185e9e429752a2fc524a9b
Author: Santiago Carot-Nemesio <sancane@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-12-15 13:24:21
Tree: e7d855f438961668f59a4d3be874f1cecbd712be

thermometer: Fix possible NULL pointer deference This patch checks the GATT server is connected before doing any GATT transaction. If it isn't, we abort the operation to avoid the NULL pointer deference problem.

Diffstat

M thermometer/thermometer.c | 15 +++++++++++++++

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

View Full Diff | Patch