|
2023-05-07
| ||
| 02:39 | • New ticket [3837178c25] Tcl_DStringSetObjLength(): TIP 660 out-of-bounds write</... artifact: 01c37693a7 user: chrstphrchvz | |
|
2009-04-04
| ||
| 02:06 | • Ticket [2613599fff] Tcl_DStrings lack length overflow protections status sti... artifact: 2453daf03a user: dgp | |
|
2009-02-18
| ||
| 18:50 | • New ticket [2613599fff]. artifact: 62f970dd9b user: dgp | |
Tcl_DStrings lack length overflow protections
Open2613599fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2009-02-18 18:50:15
see summary
dgpplain2009-04-04 02:06:38
An undocumented feature of Tcl_DStringSetLength() is to truncate all negative length requests as if they were zero length requests. Seems mildly dangerous to change that behavior for sake of those callers which might have come to rely on it. Documentation should continue (and perhaps more clearly) to demand non-negative length arguments for the supported interface.
Log in (anonymous is fine) to add a comment.