Commit: d2b819e43d5903b4e60561381cc72fe07654e776
Parent: d058b13664fefa6eeafb78640ad90f9915e27883
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-01-29 12:56:46
Tree: bfdcf6ed545953b541c41081dc257629d814fd6d

shared/gatt-client: Fix read long value Bluetooth 4.2 vol 3, part F, ch 3.2.9 states: "The maximum length of an attribute value shall be 512 octets." therefore the code should never attempt to read past that length.

Diffstat

M src/shared/att-types.h | 1 +
M src/shared/gatt-client.c | 12 ++++++++- - - -

2 files changed, 9 insertions(+), 4 deletions(-)

View Full Diff | Patch