Commit: 41a5413023fa85bc711d461eb736a0624542df2d
Parent: 698ef6bbd9324dbd044903ed0f79020e31d70527
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-06-03 23:04:38
Tree: f1b6d6a4b0b67439a2bd0a5a8a9987dc25945617

gatt: Fix possible crash when unable to generate hash gatt_db_get_hash actually depends on crypto so platforms that don't have it enabled shall not register GATT_CHARAC_DB_HASH as otherwise it would cause a crash due to hash being NULL.

Diffstat

M src/gatt-database.c | 8 ++++++- -
M src/shared/gatt-db.c | 8 ++++++++
M src/shared/gatt-db.h | 1 +

3 files changed, 15 insertions(+), 2 deletions(-)

View Full Diff | Patch