Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-11-25
02:28 • Closed ticket [1072654fff]: new info vars crash plus 8 other changes artifact: ec2a157905 user: dgp
02:13 • Ticket [1072654fff]: 4 changes artifact: cde4aefc80 user: dgp
02:13 • Add attachment head.patch to ticket [1072654fff] artifact: da930ff22d user: dgp
02:05 • Add attachment 1072654.patch to ticket [1072654fff] artifact: 9b959d989f user: dgp
02:05 • Ticket [1072654fff] new info vars crash status still Open with 4 other cha... artifact: f3e80bf001 user: dgp
01:57 • Ticket [1072654fff]: 4 changes artifact: cf87a8bded user: hobbs
2004-11-24
18:10 • New ticket [1072654fff]. artifact: 141d2ef1ae user: dgp

new [info vars] crash

Closed / Fixed1072654fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-11-24 18:10:19
max reports on the chat a 
new segfault in Tcl 8.4.8:

% namespace eval x info vars foo  
Segmentation fault

InfoVarsCmd fails to check
for a NULL back from
Tcl_FindHashEntry().

We need an 8.4.9 release.
hobbsplain2004-11-25 01:57:18
Logged In: YES 
user_id=72656

This occurs because the tclCmdIL.c:1992 does not check that
entryPtr could be NULL.  This requires a test case to go in
with it as well.
dgpplain2004-11-25 02:05:32
File Added - 109998: 1072654.patch

Logged In: YES 
user_id=80530

attached patch includes
fix and test suite addition.
dgpplain2004-11-25 02:13:35
File Added - 110000: head.patch

Logged In: YES 
user_id=80530

...and the corresponding patch
for the HEAD branch.
dgpplain2004-11-25 02:28:53
Logged In: YES 
user_id=80530

committed to both branches,
Log in (anonymous is fine) to add a comment.

Attachments: