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

Commit d511dbcb authored by akirilov's avatar akirilov Committed by Atanas Kirilov
Browse files

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

Bug: 74075873
Test: manual test (poc in bug)
Change-Id: I4f8d2de2fef3f95f99bc2015f1118d6e70d3135b
parent eb313248
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -385,7 +385,7 @@ static void sdp_copy_raw_data (tCONN_CB *p_ccb, BOOLEAN 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;
        }