Commit: b8b58262e995555e290b5967057ace3f81e6bede
Parent: 3508e02e9adc2ccde2df4a660217b57def834432
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-02-19 14:29:17
Tree: b56b1c2382714e5cc37aebae810cd56fb8878378

shared/gatt-db: Fix zero length realloc gatt_db_attribute_write should not attempt to realloc with zero length since that would cause the data to be freed, instead just skip any operation that could affect the buffer.

Diffstat

M src/shared/gatt-db.c | 5 +++++

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

View Full Diff | Patch