[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #61666] A memory leak BUG in function tcp_input().
From: |
xuyao hong |
Subject: |
[lwip-devel] [bug #61666] A memory leak BUG in function tcp_input(). |
Date: |
Mon, 13 Dec 2021 05:59:39 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36 Edg/96.0.1054.53 |
URL:
<https://savannah.nongnu.org/bugs/?61666>
Summary: A memory leak BUG in function tcp_input().
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: shellstudio
Submitted on: Mon 13 Dec 2021 10:59:37 AM UTC
Category: TCP
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: 2.1.3
_______________________________________________________
Details:
User's TCP application like this:
static err_t app_cb_accept(void* arg, struct tcp_pcb* pcb, err_t err)
{
...
tcp_sent(pcb, app_cb_sent);
...
}
static err_t app_cb_sent(void* arg, struct tcp_pcb* pcb, u16_t len)
{
...
tcp_close(pcb);
...
return ERR_OK;
}
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 13 Dec 2021 10:59:37 AM UTC Name: tcp_in.c.v2.1.3.diff Size: 2KiB
By: shellstudio
<http://savannah.nongnu.org/bugs/download.php?file_id=52496>
-------------------------------------------------------
Date: Mon 13 Dec 2021 10:59:37 AM UTC Name: 分析.c Size: 2KiB By:
shellstudio
<http://savannah.nongnu.org/bugs/download.php?file_id=52497>
-------------------------------------------------------
Date: Mon 13 Dec 2021 10:59:37 AM UTC Name: tcp_in.new.c Size: 84KiB By:
shellstudio
<http://savannah.nongnu.org/bugs/download.php?file_id=52498>
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?61666>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [bug #61666] A memory leak BUG in function tcp_input().,
xuyao hong <=