OSDN Git Service

GAP: Reset cont_offset in start frame of SDP
authorSimon Wilson <simonwilson@google.com>
Thu, 2 Apr 2015 22:17:08 +0000 (15:17 -0700)
committerSimon Wilson <simonwilson@google.com>
Fri, 3 Apr 2015 15:37:05 +0000 (08:37 -0700)
commitdc69e2d5348de2ef64ac7f335a503a63c7cca0e6
tree1a52b2ccc0a69dd09e57accf408a8fb3de38fc2c
parent0d65d4cdafc165484dfc8d1c5af4ac1cb7453fd7
GAP: Reset cont_offset in start frame of SDP

If cont_offset of ccb is not reset in start frame, it's
appending previous SDP service search offset also to
current offset. Service search goes in a loop and
leads to crash on array index out of bounds.

Bug: 19810285
Change-Id: Ifee174555593f4df669977b74ce3725c75c9b426
stack/sdp/sdp_server.c