Artifacts Associated With Ticket 52dbc4b3f8ef52c4
Ticket change [d66bf90962] (rid 219369) by chrstphrchvz on 2023-10-13 08:35:33:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
<tt>Tcl_Free()</tt> is not a <tt>Tcl_LimitHandlerDeleteProc</tt>. Nothing in core Tcl calls <tt>Tcl_LimitAddHandler()</tt> with <tt>TCL_DYNAMIC</tt> as the <tt>deleteProc</tt>, but I predict that doing so would cause UBSan <tt>-fsanitize=function</tt> errors with the following: <pre> <span style="font-weight:bold"><span style="color:firebrick">runtime error:</span> call to function TclpFree through pointer to incorrect function type 'void (*)(void *)'</span> </pre> A workaround would be to use a wrapper function; see attached patch.
- foundin initialized to: "8.6.13"
- is_private initialized to: "0"
- login: "chrstphrchvz"
- priority initialized to: "5 Medium"
- private_contact initialized to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "chrstphrchvz"
- subsystem initialized to: "20. [interp]"
- title initialized to:
tclInterp.c: Tcl_Free() called through pointer of incorrect type
- type initialized to: "Bug"
Add attachment "52dbc4b3f8ef.diff" [6ad574fcfc] (rid 219371) by chrstphrchvz on 2023-10-13 08:42:38.
Ticket change [ea4acd10d7] (rid 219597) by chrstphrchvz on 2023-10-17 09:53:47:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2460234.91235418"
- closer changed to: "chrstphrchvz"
- icomment: "This was fixed in [e75f319dc8cf]. Thanks, Jan!"
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"