[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #37955] LWIP_ERROR fails with "message", doesn't call
[lwip-devel] [bug #37955] LWIP_ERROR fails with "message", doesn't call "handler"
Wed, 19 Dec 2012 04:44:02 +0000
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.11) Gecko/20100101 Firefox/10.0.11
Summary: LWIP_ERROR fails with "message", doesn't call
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: uwe
Submitted on: Wed 19 Dec 2012 04:44:00 AM GMT
Severity: 3 - Normal
Item Group: Faulty Behaviour
Assigned to: None
Discussion Lock: Any
lwIP version: CVS Head
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:
Message sent via/by Savannah
- [lwip-devel] [bug #37955] LWIP_ERROR fails with "message", doesn't call "handler",
Valery Ushakov <=