• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubybathyscaphegamephpguicwindows翻訳pythonomegattwitterframeworkbtronarduinovb.net計画中(planning stage)directxpreviewertestゲームエンジンdom

system/bt


Commit MetaInfo

Revision7e30b79cfbf24ca2fca05932637c7453cec2caeb (tree)
Zeit2017-09-15 02:54:03
AutorPavlin Radoslavov <pavlin@goog...>
CommiterDan Pasanen

Log Message

Add missing continuation offset check for SDP continuation requests

Bug: 63146698
Test: External script
Change-Id: Iea52f1689dc12bfe0d4b57996f17db4bc3bd5983
Merged-In: Iea52f1689dc12bfe0d4b57996f17db4bc3bd5983
(cherry picked from commit e776c834768bedd043ace7e5714390b61c96a248)
(cherry picked from commit 10ce685cb025f6854be4ecc5329f2f684fd9ea5d)
(cherry picked from commit 3488364721ec066a03af14076bd312d27173115d)

Ändern Zusammenfassung

Diff

--- a/stack/sdp/sdp_server.c
+++ b/stack/sdp/sdp_server.c
@@ -491,7 +491,7 @@ static void process_service_search (tCONN_CB *p_ccb, UINT16 trans_num,
491491 }
492492 BE_STREAM_TO_UINT16 (cont_offset, p_req);
493493
494- if (cont_offset != p_ccb->cont_offset)
494+ if (cont_offset != p_ccb->cont_offset || num_rsp_handles < cont_offset)
495495 {
496496 sdpu_build_n_send_error (p_ccb, trans_num, SDP_INVALID_CONT_STATE,
497497 SDP_TEXT_BAD_CONT_INX);