diff options
author | Elad Namdar <eladnamdar@gmail.com> | 2019-05-07 00:24:22 +0300 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-05-08 13:12:30 +1000 |
commit | 3f54462adddb3210b46f3dba3f1879cd01e2f16e (patch) | |
tree | 12729001a8d1a88132f4cc1329cf44f8cc593edb /docs/esp32 | |
parent | b8c74014e42331afca3db5911b30032a109f73f1 (diff) |
unix/modusocket: Fix use of setsockopt in usocket.settimeout impl.
The original code called setsockopt(SO_RCVTIMEO/SO_SNDTIMEO) with NULL
timeout structure argument, which is an illegal usage of that function.
The old code also didn't validate the return value of setsockopt, missing
the bug completely.
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions