Parent: 2c2164f5579610a8103055c33e410e6e313d3d6f
Author: Miao-chen Chou <mcchou@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2017-08-08 14:18:10
Tree: c3e8961450a5c339392a23b168746d625f681f53
shared/gatt-db: Fix memory comparison error This fixes the use of memcmp where the length of comparison is longer than the memories to be compared. Since unit/test-gatt make use of gatt-db, if compiled with ASan, unit/test-gatt would fail.
Diffstat
| M | src/shared/gatt-db.c | | | 13 | +++++++++- - - - |
1 files changed, 9 insertions(+), 4 deletions(-)