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 rmsr
Recipients larry, rmsr
Date 2014-01-13.02:31:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389580315.91.0.810075963733.issue20231@psf.upfronthosting.co.za>
In-reply-to
Content
A signature of the form

a: object = None
b: object

results in b being uninitialized in the generated C code prior to the PyArgs_ParseTuple call. If ParseTuple does not set a value for b (as it is an optional argument), b then contains a garbage pointer and the interpreter may segfault.

AC should reject this configuration.
History
Date User Action Args
2014-01-13 02:31:55rmsrsetrecipients: + rmsr, larry
2014-01-13 02:31:55rmsrsetmessageid: <1389580315.91.0.810075963733.issue20231@psf.upfronthosting.co.za>
2014-01-13 02:31:55rmsrlinkissue20231 messages
2014-01-13 02:31:55rmsrcreate