Skip to content
Tcl Source Code Check-in [c39553c370]
Login

Check-in [c39553c370]

Overview
Comment:(TclFileAttrsCmd): Added commands to reset the typePtr of the Tcl_Obj* whose int-rep was just purged. Required to prevent a dangling IndexRep* to reused, smashing the heap. See also the entries at 2011-04-16 and 2011-03-24 for the history of the problem.
Timelines: family | ancestors | descendants | both | mistake
Files: files | file ages | folders
SHA1: c39553c37050376ba0f194aecef94d6a32262da2
User & Date: andreask on 2011-04-20 17:52:11.602
Original Comment: (TclFileAttrsCmd): Added commands to reset the typePtr of the Tcl_Obj* whose int-rep was just purged. Required to prevent a dangling IndexRep* to reused, smashing the heap. See also the entries at 2011-04-16 and 2011-03-24 for the history of the problem.
Other Links: branch diff | manifest | tags
References
2011-04-20
18:14
Undo change [c39553c370]. Not needed, in head the TclFreeIntRep macro does the right thing. closed check-in: d66fb2fbf9 user: andreask tags: mistake
Context
2011-04-20
18:14
Undo change [c39553c370]. Not needed, in head the TclFreeIntRep macro does the right thing. closed check-in: d66fb2fbf9 user: andreask tags: mistake
17:52
(TclFileAttrsCmd): Added commands to reset the typePtr of the Tcl_Obj* whose int-rep was just purged... check-in: c39553c370 user: andreask tags: mistake
17:51
(TclFileAttrsCmd): Added commands to reset the typePtr of the Tcl_Obj* whose int-rep was just purged... check-in: 20a3aedb2a user: andreask tags: core-8-5-branch
2011-04-19
16:41
Reduce internals access in the implementation of [<foo>::pkgconfig list]. check-in: 5637694013 user: dgp tags: trunk
Changes