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 <[email protected]>
<http://bugs.python.org/issue15738>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com