lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] problem in do_close_internal function of api_misg.c (lw


From: address@hidden
Subject: Re: [lwip-devel] problem in do_close_internal function of api_misg.c (lwip 1.3.0)
Date: Mon, 14 Jul 2008 21:57:00 +0200
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Jonathan Larmour wrote:
marc walrave wrote:
do_close_internal internally :-) calls tcp_close
Depending on the pcb state tcp_close potentially frees the pcb of the
netconn struct (via memp_free) for which do_close_internal was called
(tcp_close then returns ERR_OK).
Now after the tcp_close function returns dl_close_internal still
references the pcb pointer as if it was NOT freed?
[snip]
Is this a "genuine" bug or am I missing something "really" subtle here?

Your analysis seems sound. Care to submit a patch at
https://savannah.nongnu.org/patch/?group=lwip ?

Or alternatively file a bug on savannah so this issue isn't lost.
I've done that. And I also think this is a "genuine" bug.

Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]