Tcl Source Code

Check-in [5495155636]
Login

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

Overview
Comment:Fix [7e3f26c748]: with TCL_MEM_DEBUG, the "previously disposed object" check could no longer fire, because freed memory was filled with 0x61 while [f505b17748] changed the marker to 0xE8. Fill freed memory with 0xE8 and use the same marker everywhere (also in tclDisassemble.c and tclPreserve.c, which still compared with 0x61616161).
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | memdebug-freed-marker
Files: files | file ages | folders
SHA3-256: 5495155636bf63cb704454ec127e9da5763fe307d9fc6d198305df0a9c2e7a28
User & Date: serhiy.storchaka 2026-10-18 09:45:18.126
Original Comment: Fix \[7e3f26c748\]: with TCL_MEM_DEBUG, the "previously disposed object" check could no longer fire, because freed memory was filled with 0x61 while \[f505b17748\] changed the marker to 0xE8. Fill freed memory with 0xE8 and use the same marker everywhere (also in tclDisassemble.c and tclPreserve.c, which still compared with 0x61616161).
Context
2026-10-30
15:17
Fix [7e3f26]: Memory corruption false positive with TCL_MEM_DEBUG check-in: dda35393f9 user: jan.nijtmans tags: trunk, main
2026-10-18
09:45
Fix [7e3f26c748]: with TCL_MEM_DEBUG, the "previously disposed object" check could no longer fire, b... closed check-in: 5495155636 user: serhiy.storchaka tags: memdebug-freed-marker
2026-10-17
22:11
Remove useless comment check-in: 009f42c4ac user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclCkalloc.c.
Changes to generic/tclDisassemble.c.
Changes to generic/tclInt.h.
Changes to generic/tclObj.c.
Changes to generic/tclPreserve.c.