Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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: