Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-17
05:45 • Ticket [218670ffff] Tcl parser crashes when parsing invalid code with a large nu... artifact: f1e6e6e8a8 user: dgp
2000-10-26
08:26 • Closed ticket [218670ffff]. artifact: 7d26bdfaaf user: welch
01:03 • New ticket [218670ffff]. artifact: 948a51b7a2 user: nobody

Tcl parser crashes when parsing invalid code with a large nu

Closed / Fixed218670ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:03:57
OriginalBugID: 1681 Bug
Version: 8.1b2
SubmitDate: '1999-03-31'
LastModified: '1999-04-01'
Severity: CRIT
Status: Released
Submitter: stanton
ChangedBy: stanton
OS: All
OSVersion: NA
Machine: NA
FixedDate: '1999-04-01'
FixedInVersion: 8.1b3
ClosedDate: '2000-10-25'


Sample script:

set x "\\1\\2\\3\\4\\5\\6\\7\\8\\9\\1\\2\\3\\4\\5\\6\\7\\8

This causes a crash in the parser.

The problem is that the parser frees the non-static token storage multiple times in some error cases.
welch Closed ticket [218670ffff]. [History diff]2000-10-26 08:26:11
dgp Ticket [218670ffff]: 3 changes [History diff]2001-04-17 05:45:02
Log in (anonymous is fine) to add a comment.