|
From: | Bill Auerbach |
Subject: | [lwip-devel] [bug #35574] Lockup in httpd (the older non-SSI/CGI httpd) |
Date: | Tue, 21 Feb 2012 20:35:21 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 |
Follow-up Comment #7, bug #35574 (project lwip): The issue was arg==NULL locking in the LWIP_ERROR. It happened that len was 0 and my opinion the pointer isn't used with len==0 so maybe LWIP_ERROR shouldn't fail on arg==NULL. I'm not sure what happens in tcp_write with len==0 and arg!=NULL. I agree with the NULL pointer check being done and that httpd shouldn't call tcp_write with arg==NULL. You're suggesting (I think) that calling tcp_write with len==0 is an API error too which isn't now checked. Maybe it should to catch an application doing something unusual (at best). _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?35574> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |