[New-bugs-announce] [issue15738] Crash (constructed) in subprocess_fork_exec()
Stefan Krah
report at bugs.python.org
Mon Aug 20 13:32:20 CEST 2012
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)
[Segmentation fault]
----------
components: Extension Modules
files: subprocess_fork_exec.diff
keywords: patch
messages: 168645
nosy: skrah
priority: normal
severity: normal
stage: patch review
status: open
title: Crash (constructed) in subprocess_fork_exec()
type: crash
versions: Python 3.3
Added file: http://bugs.python.org/file26927/subprocess_fork_exec.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15738>
_______________________________________
More information about the New-bugs-announce
mailing list