summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-12-11 20:12:40 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2005-12-11 20:12:40 +0000
commit1774ae3fcd5f6212516f6388b636b137e1fb7db8 (patch)
tree9790a06ffc0e2f3d8f3cd8ee3ceb7c8f9ef63132 /Python/Python-ast.c
parent259620d5a0ca771512618d45590a0b2ca4c2e6af (diff)
downloadcpython-1774ae3fcd5f6212516f6388b636b137e1fb7db8.tar.gz
SF #1377897, Bus error in ast
If a line had multiple semi-colons and ended with a semi-colon, we would loop too many times and access a NULL node. Exit the loop early if there are no more children.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions