Commit: ab55d3467d4f2f0ee52737fb562656b53b9d4692
Parent: d7463dfea042efabee6e0b84a2639f8437cd0d05
Author: Santiago Carot-Nemesio <sancane@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-12-08 14:40:29
Tree: 6e307a6a24055010d216dc949d44433eaffa67ee

hdp_util: Fix potential NULL pointer dereference sdp_data_get can return NULL, we have to check the provided return value before using it.

Diffstat

M health/hdp_util.c | 11 +++++- - - - - -

1 files changed, 5 insertions(+), 6 deletions(-)

View Full Diff | Patch