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

Commit 84774598 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role)
Browse files

[automerger] BLE: Don't access freed buffer in log message am: 53a89d92 am: 21eb7b17

Change-Id: I2dcc552158cfc27c73dec217d7f3e2581adf2426
parents 7e71b81d 21eb7b17
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -364,8 +364,7 @@ tGATT_STATUS attp_send_msg_to_l2cap(tGATT_TCB *p_tcb, BT_HDR *p_toL2CAP)

    if (l2cap_ret == L2CAP_DW_FAILED)
    {
        GATT_TRACE_ERROR("ATT   failed to pass msg:0x%0x to L2CAP",
            *((UINT8 *)(p_toL2CAP + 1) + p_toL2CAP->offset));
        GATT_TRACE_ERROR("ATT   failed to pass msg to L2CAP");
        return GATT_INTERNAL_ERROR;
    }
    else if (l2cap_ret == L2CAP_DW_CONGESTED)