lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bugs #11135] api_msg.c:accept_function(): newconn->callbac


From: anonymous
Subject: [lwip-devel] [bugs #11135] api_msg.c:accept_function(): newconn->callback not always initialized
Date: Thu, 25 Nov 2004 17:13:17 -0500
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)

This mail is an automated notification from the bugs tracker
 of the project: lwIP - A Lightweight TCP/IP stack.




/**************************************************************************/
[bugs #11135] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11135>
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: 0
On: Thu 11/25/2004 at 17:07

Category:  None
Severity:  5 - Average
Item Group:  Crash Error
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open


Summary:  api_msg.c:accept_function(): newconn->callback not always initialized

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.





File Attachments
-------------------

-------------------------------------------------------
Date: Thu 11/25/2004 at 17:07  Name: accept_function.diff  Size: 728B   By: None
Proposed fix
http://savannah.nongnu.org/bugs/download.php?item_id=11135&amp;item_file_id=1916






For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11135>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

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