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

Commit cf27e848 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: I18e652f7e10ba42db6f2553083d2a2eec10e2998
parent b9ec06a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -380,7 +380,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;
        }