lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] Sockets: select_waiting overflow


From: Joan Lledó
Subject: [lwip-devel] Sockets: select_waiting overflow
Date: Mon, 3 Jul 2017 18:07:34 +0200

Hello,

I'm having an overflow in my select_waiting due to a bug, and the
assertion "sock->select_waiting > 0" is failing and aborting the
stack.

Would it not be better to use LWIP_ERROR instead of LWIP_ASSERT?, to
allow the user to return gracefully with a proper errno. The current
assertion could be used in a DoS attack to abort the stack from a
client.

What do you think?



reply via email to

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