buglwIP - A Lightweight TCP/IP stack - Bugs: bug #20903, TCP callbacks called with invalid...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #20903: TCP callbacks called with invalid conn after close

Submitter:  Marc Boucher <marcbou>
Submitted:  Sat 25 Aug 2007 10:11:23 PM UTC
   
 
Category:  TCP Severity:  4 - Important
Item Group:  Crash Error Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned Release:  None
lwIP version:  None

Sun 26 Aug 2007 09:09:59 AM UTC, comment #1: 

I don't have any problems with this patch.

Frédéric Bernon <fbernon>
Group Member
Sat 25 Aug 2007 10:11:23 PM UTC, original submission:  


TCP callbacks in api_msg.c can under certain circumstances be called with an invalid conn pointer after the connection has been closed (and conn has been freed).

Proposed solution is to reset the callbacks and arg (conn) to NULL in do_close_internal().

Patch enclosed.



Marc Boucher <marcbou>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #13800:  do_close_internal.patch added by marcbou (791B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fbernon (Posted a comment)
  • -email is unavailable- added by marcbou (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-08-26 marcbou Open/ClosedOpen Closed
    2007-08-25 marcbou Attached File- Added do_close_internal.patch, #13800

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code