OSDN Git Service

SDP: Allocate proper sized scratch buffer for SDP response
authorZhihai Xu <zhihaixu@google.com>
Fri, 7 Feb 2014 19:47:26 +0000 (01:17 +0530)
committerZhihai Xu <zhihaixu@google.com>
Mon, 21 Apr 2014 20:46:38 +0000 (20:46 +0000)
commit3a55ec216948d28224d3ab0d38fb8697daeed3e5
tree6da5abeba01517ab9cadaba32672cd8096c97f13
parent73e68297292dd901a170bcf6434ed0a10f1ec450
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