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

Submitted by:  None
Submitted on:  Thu 25 Nov 2004 10:07:01 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Crash ErrorStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned 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>
Project 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

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 27 Jun 2006 10:43:12 AM UTCchristiaansStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Thu 25 Nov 2004 10:07:01 PM UTCNoneAttached File-=>Added accept_function.diff, #1916

Back to the top


Powered by Savane 3.1-cleanup1