[New-bugs-announce] [issue18550] internal_setblocking() doesn't check return value of fcntl()

Christian Heimes report at bugs.python.org
Wed Jul 24 21:39:39 CEST 2013


New submission from Christian Heimes:

http://hg.python.org/cpython/file/96d817f41c4c/Modules/socketmodule.c#l614

CID 715331 (#1 of 1): Unchecked return value from library (CHECKED_RETURN)
5. check_return: Calling function "fcntl(s->sock_fd, 4, delay_flag)" without checking return value. This library function may fail and return an error code.

It's rather tedious to fix the issue. No function checks the return value of internal_setblocking()...

----------
messages: 193670
nosy: christian.heimes, haypo
priority: low
severity: normal
stage: needs patch
status: open
title: internal_setblocking() doesn't check return value of fcntl()
type: behavior
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18550>
_______________________________________


More information about the New-bugs-announce mailing list