OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bef354
)
Add missing continuation offset check for SDP continuation requests
author
Pavlin Radoslavov
<pavlin@google.com>
Thu, 13 Jul 2017 01:56:03 +0000
(18:56 -0700)
committer
Pavlin Radoslavov
<pavlin@google.com>
Thu, 13 Jul 2017 06:41:59 +0000
(23:41 -0700)
Bug:
63146698
Test: External script
Change-Id: Iea52f1689dc12bfe0d4b57996f17db4bc3bd5983
Merged-In: Iea52f1689dc12bfe0d4b57996f17db4bc3bd5983
(cherry picked from commit
e776c834768bedd043ace7e5714390b61c96a248
)
(cherry picked from commit
10ce685cb025f6854be4ecc5329f2f684fd9ea5d
)
stack/sdp/sdp_server.c
patch
|
blob
|
history
diff --git
a/stack/sdp/sdp_server.c
b/stack/sdp/sdp_server.c
index
5dd6b92
..
23d72a3
100644
(file)
--- a/
stack/sdp/sdp_server.c
+++ b/
stack/sdp/sdp_server.c
@@
-228,7
+228,7
@@
static void process_service_search (tCONN_CB *p_ccb, UINT16 trans_num,
}
BE_STREAM_TO_UINT16 (cont_offset, p_req);
- if (cont_offset != p_ccb->cont_offset)
+ if (cont_offset != p_ccb->cont_offset
|| num_rsp_handles < cont_offset
)
{
sdpu_build_n_send_error (p_ccb, trans_num, SDP_INVALID_CONT_STATE,
SDP_TEXT_BAD_CONT_INX);