[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?
- [lwip-devel] Sockets: select_waiting overflow,
Joan Lledó <=
Re: [lwip-devel] Sockets: select_waiting overflow, address@hidden, 2017/07/03