[issue18528] Possible fd leak in socketmodule
Christian Heimes
report at bugs.python.org
Mon Jul 22 16:18:42 CEST 2013
Christian Heimes added the comment:
Am 22.07.2013 16:00, schrieb Antoine Pitrou:
> Have you tried to reset errno at the beginning of the function?
It doesn't affect Coverity's report:
BEGIN_SELECT_LOOP(s)
Py_BEGIN_ALLOW_THREADS
+ errno = 0;
timeout = internal_select_ex(s, 0, interval);
if (!timeout) {
newfd = accept(s->sock_fd, SAS2SA(&addrbuf), &addrlen);
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18528>
_______________________________________
More information about the Python-bugs-list
mailing list