[issue35415] fileno argument to socket.socket is not validated

2018-12-17 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue35415] fileno argument to socket.socket is not validated

2018-12-17 Thread miss-islington
miss-islington added the comment: New changeset e991270363435da12049ecfe70bb69bd9c14b535 by Miss Islington (bot) (Dima Tisnek) in branch 'master': bpo-35415: validate fileno argument to socket.socket (GH-10917) https://github.com/python/cpython/commit/e991270363435da12049ecfe70bb69bd9c14b535

[issue35415] fileno argument to socket.socket is not validated

2018-12-05 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +10156 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue35415] fileno argument to socket.socket is not validated

2018-12-05 Thread Dima Tisnek
New submission from Dima Tisnek : socket.socket gained a fileno= kwarg the value of which is not checked if address family and socket type are both provided. For example, following is accepted: >>> socket.socket(socket.AF_INET, socket.SOCK_STREAM, fileno=-1234) >>> socket.socket(socket.AF_INE