OSDN Git Service

SDP: Include the offset in sdp_disc_server_rsp
authorMyles Watson <mylesgw@google.com>
Fri, 12 Jan 2018 04:43:47 +0000 (20:43 -0800)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Thu, 18 Jan 2018 22:43:53 +0000 (22:43 +0000)
commitbb543892e1454d05c2c64ecc6c96320cac72ed43
tree1d0a58c64c2ea851182fcbfafff178fb11b27adc
parent3ddf24d80e33d2964f47b7e57ea821c52bca3232
SDP: Include the offset in sdp_disc_server_rsp

The commit
  SDP: Pass the bounds to process_service_*_rsp
with the change ID
  Icf53d4d05f99b5e0a2b3f4d3735b6fbfd62adaa3
omitted the offset when calculating the end of the message.

Bug: 68161546
Test: Connect a headset
Change-Id: I6266b51e3871ed6ce9932161e4ab66de90af4ce6
(cherry picked from commit 1ff9151b7de9cff6aab3919d151542e7244cc0e5)
Merged-In: I6266b51e3871ed6ce9932161e4ab66de90af4ce6
(cherry picked from commit c379fc0f7a158e7028771bcf9dea19987f771a8e)
stack/sdp/sdp_discovery.cc