OSDN Git Service

LE: Deep copy buffers when transfering client context
authorAndre Eisenbach <andre@broadcom.com>
Wed, 17 Apr 2013 10:10:33 +0000 (19:10 +0900)
committerMatthew Xie <mattx@google.com>
Wed, 14 Aug 2013 00:17:05 +0000 (00:17 +0000)
commit8444d1e649864c28b0c124bc2d16f7c153f01f14
tree2df3c58ed66f2969a563cf51d8958407e0322552
parent181adbef76c194e257639daecb486bfc9a0ad037
LE: Deep copy buffers when transfering client context

Certain BTA client event types require a deep copy of the request
data buffers when transfering context. Shallow copy of the pointers
involved may cause a crash when overlapping read and write requests
are received.

Change-Id: Id59b034d7fdd28087695a0688caff66b4cef4a4d
btif/include/btif_gatt_util.h
btif/src/btif_gatt_client.c