New submission from Stefan Krah:

Coverity found an unchecked return value in _PySequence_BytesToCharpArray().
Patch attached.


A demonstration:

import _posixsubprocess
class Z(object):
    def __len__(self):
        return 1

_posixsubprocess.fork_exec(1,Z(),3,[1, 2],5,6,7,8,9,10,11,12,13,14,15,16,17)

----------
components: Interpreter Core
files: bytes_to_charp_array.diff
keywords: patch
messages: 168633
nosy: skrah
priority: normal
severity: normal
stage: patch review
status: open
title: Crash (constructed) in _PySequence_BytesToCharpArray()
type: crash
versions: Python 3.3
Added file: http://bugs.python.org/file26919/bytes_to_charp_array.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15732>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to