Tcl Source Code

Check-in [49e00a9cd6]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [2577420fff]: Tcl_GetInterpPath() and Tcl_GetParent() used freed memory in a Tcl_CallWhenDeleted() callback of a child interpreter. Unlink the child from its parent only after Tcl_DeleteInterp(), and free the InterpInfo after all delete callbacks.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | interp-delete-callbacks-path
Files: files | file ages | folders
SHA3-256: 49e00a9cd61d3fa541d5de5aed497ac554e2e98bbbad3c7c1c9207bceae5b2db
User & Date: serhiy.storchaka 2026-10-17 08:38:42.783
Context
2026-10-17
08:38
Fix [2577420fff]: Tcl_GetInterpPath() and Tcl_GetParent() used freed memory in a Tcl_CallWhenDeleted... leaf check-in: 49e00a9cd6 user: serhiy.storchaka tags: interp-delete-callbacks-path
07:20
Fix [2dff98e079]: format %A garbles negative, padded and infinite values check-in: 9336b96c43 user: serhiy.storchaka tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclBasic.c.
Changes to generic/tclInt.h.
Changes to generic/tclInterp.c.