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

Commit 21eb7b17 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

Change-Id: I9f5c4155c1def43351058c6cbda5f1258e3888d5
parents 48833b2b 53a89d92
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)