Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2978 new [info vars] crash

obsolete: 8.4.8
closed-fixed
Don Porter
9
2004-11-24
2004-11-24
Don Porter
No

rmax 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.

Discussion

  • Jeffrey Hobbs
    Jeffrey Hobbs
    2004-11-24

    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.

     
  • Don Porter
    Don Porter
    2004-11-24

     
    Attachments
  • Don Porter
    Don Porter
    2004-11-24

    Logged In: YES
    user_id=80530

    attached patch includes
    fix and test suite addition.

     
  • Don Porter
    Don Porter
    2004-11-24

     
    Attachments
  • Don Porter
    Don Porter
    2004-11-24

    Logged In: YES
    user_id=80530

    ...and the corresponding patch
    for the HEAD branch.

     
  • Don Porter
    Don Porter
    2004-11-24

    • assigned_to: dkf --> dgp
    • status: open --> closed-fixed
     
  • Don Porter
    Don Porter
    2004-11-24

    Logged In: YES
    user_id=80530

    committed to both branches,