summaryrefslogtreecommitdiff
path: root/py/persistentcode.c
diff options
context:
space:
mode:
authorElad Namdar <eladnamdar@gmail.com>2019-05-07 00:24:22 +0300
committerDamien George <damien.p.george@gmail.com>2019-05-08 13:12:30 +1000
commit3f54462adddb3210b46f3dba3f1879cd01e2f16e (patch)
tree12729001a8d1a88132f4cc1329cf44f8cc593edb /py/persistentcode.c
parentb8c74014e42331afca3db5911b30032a109f73f1 (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 'py/persistentcode.c')
0 files changed, 0 insertions, 0 deletions