[issue21563] Segv during call to builtin_execfile in application embedding Python interpreter.
Robert Snoeberger
report at bugs.python.org
Mon May 26 21:39:05 CEST 2014
Robert Snoeberger added the comment:
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.
----------
keywords: +patch
Added file: http://bugs.python.org/file35372/execfile.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21563>
_______________________________________
More information about the Python-bugs-list
mailing list