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). |
|---|---|
| Timelines: | family | ancestors | descendants | both | memdebug-freed-marker |
| Files: | files | file ages | folders |
| SHA3-256: |
5495155636bf63cb704454ec127e9da5 |
| User & Date: | serhiy.storchaka on 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). |
| Other Links: | branch diff | manifest | tags |
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
Modified generic/tclCkalloc.c
from [21155812fd]
to [c291745cfa].
[diff]
Modified generic/tclDisassemble.c
from [8d5d533d8e]
to [9745fac6ed].
[diff]
Modified generic/tclInt.h
from [0616d185b0]
to [5a9d1dda72].
[diff]
Modified generic/tclObj.c
from [a4fce78773]
to [8f15f26a53].
[diff]
Modified generic/tclPreserve.c
from [977768a91a]
to [31ac36068f].
[diff]