Commit: 2f8cd0cb7eb9a4bceb1cec221ccd21f76d66f318
Parent: f0478f073aff412552b568df96b2e6a5fd68c474
Author: Claudio Takahasi <claudio.takahasi@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-06-27 15:49:18
Tree: 00f40acac4e8fbd3a65a12d120aad977dedd6345

ATT: Avoid invalid memory access for large PDU This patch avoids invalid memory access when decoding ATT read response PDUs. The ATT_MTU value is a per ATT Bearer value defined by the higher layer specification.

Diffstat

M attrib/att.c | 17 +++++++++- - - - - - - -
M attrib/att.h | 2 +-
M attrib/gatttool.c | 7 +++++- -
M attrib/interactive.c | 6 ++++- -
M deviceinfo/deviceinfo.c | 5 +++- -
M proximity/monitor.c | 7 ++++- - -
M thermometer/thermometer.c | 15 +++++++++- - - - - -

7 files changed, 35 insertions(+), 24 deletions(-)

View Full Diff | Patch