OSDN Git Service

Allocate large enough buffers when copying AVRC packets
authorSatya Calloji <satyac@broadcom.com>
Fri, 7 Aug 2015 17:56:12 +0000 (10:56 -0700)
committerPavlin Radoslavov <pavlin@google.com>
Fri, 7 Aug 2015 18:00:40 +0000 (11:00 -0700)
commit8d88b1b75c665772f714643a71e5974c7f6dd02c
tree299d6f46385e3403f080cb349e65e219b909f825
parentaa3be1a696b9ae1142fe9f358ad5f97e99da7892
Allocate large enough buffers when copying AVRC packets

AVRC response is created by copying the original received packet.
When allocating a buffer for the response, the buffer length
should be large enough to contain the response.

Bug: 22437809
Change-Id: I862d633e76d3c5221582459f19935a45e53577c7
stack/avrc/avrc_api.c