This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients skrah
Date 2012-08-20.11:31:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345462340.12.0.207013540635.issue15738@psf.upfronthosting.co.za>
In-reply-to
Content
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]
History
Date User Action Args
2012-08-20 11:32:20skrahsetrecipients: + skrah
2012-08-20 11:32:20skrahsetmessageid: <1345462340.12.0.207013540635.issue15738@psf.upfronthosting.co.za>
2012-08-20 11:31:59skrahlinkissue15738 messages
2012-08-20 11:31:58skrahcreate