New submission from Stefan Krah:
Coverity found a missing NULL check in subprocess_fork_exec(). Patch attached.
Demonstration:
import _posixsubprocess
class Z(object):
def __len__(self):
return 1
_posixsubprocess.fork_exec(Z(),[b'1'],3,[1,
2],5,6,7,8,9,10,11,12,13,14,15,16,17)
Martin v. Löwis added the comment:
That's fine, please apply
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15738
___
___
Roundup Robot added the comment:
New changeset 03c98d05b140 by Stefan Krah in branch '3.2':
Issue #15738: Fix a missing NULL check in subprocess_fork_exec().
http://hg.python.org/cpython/rev/03c98d05b140
--
nosy: +python-dev
___
Python tracker
Stefan Krah added the comment:
Thanks again!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15738