[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #37955] LWIP_ERROR fails with "message", doesn't call
From: |
Valery Ushakov |
Subject: |
[lwip-devel] [bug #37955] LWIP_ERROR fails with "message", doesn't call "handler" |
Date: |
Wed, 19 Dec 2012 04:44:02 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.11) Gecko/20100101 Firefox/10.0.11 |
URL:
<http://savannah.nongnu.org/bugs/?37955>
Summary: LWIP_ERROR fails with "message", doesn't call
"handler"
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: uwe
Submitted on: Wed 19 Dec 2012 04:44:00 AM GMT
Category: None
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: CVS Head
_______________________________________________________
Details:
LWIP_ERROR calls LWIP_PLATFORM_ASSERT(message) which is fatal.
This is probably not intended for innocuous error like calling netconn_api on
a netconn in a wrong state. Since LWIP_ERROR is also used e.g. in code that
handles DHCP replies, a bad (malicious?) reply will be fatal too.
What's intended is probably some form of LWIP_PLATFORM_DIAG. May be
LWIP_DEBUGF with a special flag?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?37955>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #37955] LWIP_ERROR fails with "message", doesn't call "handler",
Valery Ushakov <=