[issue18551] child_exec() doesn't check return value of fcntl()

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


New submission from Christian Heimes:

http://hg.python.org/cpython/file/96d817f41c4c/Modules/_posixsubprocess.c#l384

CID 715330 (#2 of 2): Unchecked return value from library (CHECKED_RETURN)
17. check_return: Calling function "fcntl(c2pwrite, 2, old & 0xfffffffffffffffe)" without checking return value. This library function may fail and return an error code.

Could this cause any kind of trouble or shall I dismiss the issue as intentional?

----------
messages: 193672
nosy: christian.heimes, haypo
priority: low
severity: normal
stage: needs patch
status: open
title: child_exec() 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/issue18551>
_______________________________________


More information about the Python-bugs-list mailing list