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: Jonathan Larmour
Subject: Re: [lwip-devel] problem in do_close_internal function of api_misg.c (lwip 1.3.0)
Date: Mon, 14 Jul 2008 17:53:40 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

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.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine




reply via email to

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