Tcl Source Code

Check-in [9c18d04ed6]
Login

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

Overview
Comment:Fix [0ef291c1c2]: memory corruption with trace + transchan. InvokeTclMethod() used the command words preallocated per transform, so a handler which re-entered the same transform overwrote and freed the words of the outer call. Copy them for each call.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | iortrans-reentrant-argv
Files: files | file ages | folders
SHA3-256: 9c18d04ed675ca76d921efcde99eb475f174c65160b587eb10bdd6628f39be39
User & Date: serhiy.storchaka 2026-10-17 08:21:17.096
Context
2026-10-17
14:07
Renumber test iortrans-bug-0ef291c1c2 to iortrans-12.1. check-in: 2ae9cc6780 user: serhiy.storchaka tags: iortrans-reentrant-argv
08:21
Fix [0ef291c1c2]: memory corruption with trace + transchan. InvokeTclMethod() used the command words... check-in: 9c18d04ed6 user: serhiy.storchaka tags: iortrans-reentrant-argv
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/tclIORTrans.c.
Changes to tests/ioTrans.test.