[issue12608] crash in PyAST_Compile when running Python code
Meador Inge
report at bugs.python.org
Sun Aug 7 03:20:23 CEST 2011
Meador Inge <meadori at gmail.com> added the comment:
Thanks for the test case Albert. The attached patch adds a unit test based off of the given repro case and fixes the bug in the FunctionDef compiler. The compiler was hitting a NULL pointer deref on FunctionDefs with empty list bodies.
Reproduced and fixed on tip. Full test suite ran on Fedora 15; no regressions.
----------
keywords: +patch
nosy: +meador.inge
stage: -> patch review
Added file: http://bugs.python.org/file22852/issue12608.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12608>
_______________________________________
More information about the Python-bugs-list
mailing list