Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f9256f5 authored by akirilov's avatar akirilov
Browse files

RESTRICT AUTOMERGE: Fixes two bluetooth bugs causing remote overreads (1/2)

Bug: 74075873
Test: manual test (poc in bug)
Change-Id: I56e87cfdf8731acca00cefac98abb2ba06f6e7ed
parent 014682c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -355,7 +355,7 @@ static void sdp_copy_raw_data(tCONN_CB* p_ccb, bool offset) {
      type = *p++;
      p = sdpu_get_len_from_type(p, type, &list_len);
    }
    if (list_len && list_len < cpy_len) {
    if (list_len < cpy_len) {
      cpy_len = list_len;
    }
    SDP_TRACE_WARNING(