OSDN Git Service

Update l2c_fcr_clone_buf() to allocate large enough buffer
authorPavlin Radoslavov <pavlin@google.com>
Mon, 9 May 2016 02:12:53 +0000 (19:12 -0700)
committerPavlin Radoslavov <pavlin@google.com>
Mon, 9 May 2016 16:39:43 +0000 (09:39 -0700)
commitd5ebb89744974ec1ac867838d1a005ebf97be9b2
tree70759476607c67877205bb308b363a50bf1eb36e
parent641d33861c1845f11593b3e8494f18f2fa64c185
Update l2c_fcr_clone_buf() to allocate large enough buffer

Apparently, in some parts of the code we assumed the original
buffer size is large enough and we can extend it and write
few more octets at the end.

Bug: 28351270
Change-Id: Idc53d8f68e55808c9f6bf7f18568288304a9bfb9
stack/l2cap/l2c_fcr.c