Overview
| Artifact ID: | 57ad7ff089317ca70fc024bc649742cd3bed7776 |
|---|---|
| Ticket: | 3197864fffffffffffffffffffffffffffffffff
pointer truncation on Win64 TCL_MEM_DEBUG builds |
| User & Date: | treectrl on 2011-03-02 22:05:51 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
In generic/tclCkalloc.c there are 3 places where a pointer is cast to "unsigned long" which is only 32bits (on MS Windows at least) resulting in truncation of 64bit memory addresses. The "unsigned long" should be replaced with "size_t" or similar. memp = (struct mem_header *) (((unsigned long) ptr) - BODY_OFFSET);
- foundin changed to: "obsolete: 8.6b1.1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "treectrl"
- subsystem changed to: "41. Memory Allocation"
- title changed to: "pointer truncation on Win64 TCL_MEM_DEBUG builds"
- type changed to: "Bug"