diff options
author | Andrew Leech <andrew.leech@planetinnovation.com.au> | 2025-05-21 11:16:54 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-06-26 12:46:45 +1000 |
commit | 2f04381aeb18b11a9973b8bf461bdb5cfd46edc5 (patch) | |
tree | 1607be512a1abc6da9aa5a8718cc635d67fc94ed /docs/esp32 | |
parent | 2a46759fe83a5295f7c06e2dab37c3f85848800e (diff) | |
download | micropython-2f04381aeb18b11a9973b8bf461bdb5cfd46edc5.tar.gz micropython-2f04381aeb18b11a9973b8bf461bdb5cfd46edc5.zip |
extmod/modlwip: Fix crash when calling recv on listening socket.
Add check to prevent calling recv on a socket in the listening state. This
prevents a crash/hard fault when user code mistakenly tries to recv on the
listening socket instead of on the accepted connection.
Add corresponding test case to demonstrate the bug.
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions