|
From: | Cameron Gutman |
Subject: | [lwip-devel] [bug #33604] Callback registering functions don't check for a legal socket state |
Date: | Mon, 20 Jun 2011 14:27:26 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.100 Safari/534.30 |
URL: <http://savannah.nongnu.org/bugs/?33604> Summary: Callback registering functions don't check for a legal socket state Project: lwIP - A Lightweight TCP/IP stack Submitted by: aicom Submitted on: Mon 20 Jun 2011 02:27:25 PM GMT Category: TCP Severity: 3 - Normal Item Group: Change Request Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: lwIP version: CVS Head _______________________________________________________ Details: This issue was one that I ran into when integrating lwIP into the network stack for the ReactOS project. I had accidentally called tcp_err for a listening PCB and it caused all sorts of trouble by corrupting random memory. It took me forever to figure out what was causing the corruption that was randomly leading to BSODs. I added these assertions so hopefully nobody will end up in the same boat again. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 20 Jun 2011 02:27:25 PM GMT Name: assertpatch.diff Size: 1kB By: aicom <http://savannah.nongnu.org/bugs/download.php?file_id=23539> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?33604> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |