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

Commit 0b104d17 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:...

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

Change-Id: If437e47efd744648d5549e23793894de40281b10
parents a4c84946 caeb84cd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -336,8 +336,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)