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.

Title: Invalid child node access in ast.c
Type: crash Stage:
Components: Interpreter Core Versions: Python 3.0
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: jhylton Nosy List: jhylton, kristjan.jonsson
Priority: normal Keywords:

Created on 2008-07-16 13:44 by kristjan.jonsson, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg69787 - (view) Author: Kristján Valur Jónsson (kristjan.jonsson) * (Python committer) Date: 2008-07-16 13:44
Purify complained about reading uninitialized memory in ast.c:752 of 
two bytes which corresponds to the type field.  Looking into this, line 
750 increments i without checking that there are in fact this many 
If you add the line:
assert(i < NCH(n));
after line 750 you get an assertion failure when you run 
test_keywordonlyarg in the testsuite
msg69887 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2008-07-17 16:37
Committed revision 65064.
Date User Action Args
2022-04-11 14:56:36adminsetgithub: 47627
2008-07-17 16:37:42jhyltonsetstatus: open -> closed
messages: + msg69887
2008-07-17 14:03:55jhyltonsetassignee: jhylton
nosy: + jhylton
2008-07-16 13:44:26kristjan.jonssoncreate