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 snoeberger
Recipients snoeberger
Date 2014-05-26.19:39:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401133145.92.0.409212838957.issue21563@psf.upfronthosting.co.za>
In-reply-to
Content
I created a patch to add a check for NULL globals or locals. The file execfile.patch is attached. A system error is set with the message "globals and locals cannot be NULL" if either is NULL.

An open question I have is how should I create tests for this patch? I verified that the crash doesn't occur when I run the attached execfile_invoke.c program.
History
Date User Action Args
2014-05-26 19:39:05snoebergersetrecipients: + snoeberger
2014-05-26 19:39:05snoebergersetmessageid: <1401133145.92.0.409212838957.issue21563@psf.upfronthosting.co.za>
2014-05-26 19:39:05snoebergerlinkissue21563 messages
2014-05-26 19:39:05snoebergercreate