buglwIP - A Lightweight TCP/IP stack - Bugs: bug #11135, api_msg.c:accept_function():...

 
 

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

bug #11135: api_msg.c:accept_function(): newconn->callback not always initialized

Submitter:  None
Submitted:  Thu 25 Nov 2004 10:07:01 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Crash Error Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned Release:  None
lwIP version:  None

Tue 27 Jun 2006 10:43:12 AM UTC, comment #1: 

patch had oddity in source path, did the tweak and applied it...

Christiaan Simons <christiaans>
Group Member
Thu 25 Nov 2004 10:07:01 PM UTC, original submission:  

accept_function() fails to initialize newconn->callback and newconn->socket if conn->callback == NULL. Calling through this uninitialized function pointer causes weird and wonderful crashes.

The fix (attached) always initializes newconn->callback and newconn->socket.

Anonymous

 

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

Attached Files
file #2105:  accept_function.diff added by None (728B - text/plain - Proposed fix)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-06-27 christiaans StatusNone Fixed
    Open/ClosedOpen Closed
2004-11-25 None Attached File- Added accept_function.diff, #1916

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code