Tcl core internal conversion to Tcl_Size not completed
Closed / Fixedd670f25f52932e585747eed1fb6dd4652c365b1dCreated 4 years agoUpdated 4 years ago
Descriptionplain2023-04-09 00:33:35
At two places the core still calls Tcl_GetStringFromObj() with an int length argument. Which means it is easy to write scripts that trigger Tcl_Panic(). Example: file tempdir [string repeat abc 1000000000] The branch disabletcl8api may help to easily identify the spots.
apnadkarnimarkdown2023-04-09 08:29:47
I was indeed waiting for that dissabletcl8api option for this very purpose. However, personally I would prefer to wait on the outcome of TIP 660 before fixing these issues.
/Ashok
pointsmanplain2023-04-09 11:58:52
That's exactly the reason why I only noted this in a ticket but did not actually fixed it.
pointsmanplain2023-04-14 16:36:37
Fixed by Jan with [b921949acdb6ad11]
Log in (anonymous is fine) to add a comment.