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

Commit bd4975da authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Android (Google) Code Review
Browse files

Merge "Fix out of bounds read in l2c_rcv_acl_data" into pi-dev

parents d0aac235 198d02ad
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -173,9 +173,6 @@ void l2c_rcv_acl_data(BT_HDR* p_msg) {

  if (rcv_cid == L2CAP_CONNECTIONLESS_CID) {
    /* process_connectionless_data (p_lcb); */
    uint16_t psm;
    STREAM_TO_UINT16(psm, p);
    L2CAP_TRACE_DEBUG("GOT CONNECTIONLESS DATA PSM:%d", psm);
    osi_free(p_msg);
    return;
  }