|
2023-04-14
| ||
| 16:36 | • Closed ticket [d670f25f52]: Tcl core internal conversion to Tcl_Size not complet... artifact: d14d1314d1 user: pointsman | |
|
2023-04-09
| ||
| 11:58 | • Ticket [d670f25f52]: 3 changes artifact: 53b7b59c80 user: pointsman | |
| 08:29 | • Ticket [d670f25f52]: 3 changes artifact: 41890bd481 user: apnadkarni | |
| 00:33 | • New ticket [d670f25f52]. artifact: 09abb404ba user: pointsman | |
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.