OSDN Git Service

SDP: Allocate proper sized scratch buffer for SDP response
authorMallikarjuna GB <gbmalli@codeaurora.org>
Fri, 7 Feb 2014 19:47:26 +0000 (01:17 +0530)
committerMatthew Xie <mattx@google.com>
Mon, 31 Mar 2014 21:34:53 +0000 (14:34 -0700)
commit02407a0fbcdda41714d101702d75b123742177fe
treebcd5721e3b76bf6ae857fcd8c8b948b94864acb0
parent6defe0b6ca7980d1bb66ced52e095e0dd91dc60b
SDP: Allocate proper sized scratch buffer for SDP response

The buffer allocated for attribute response is being reused
for subsequent requests for an SDP connection. Check the
buffer size before using for subsequent requests and
reallocate if required.

Change-Id: Ib00aff2c4512192c29265cf0adb89e380adf0b35
stack/sdp/sdp_server.c