Overview
| Artifact ID: | fb54e3e1aff9bae059d9abdfabfbd14fe30cc839 |
|---|---|
| Ticket: | 1410553fffffffffffffffffffffffffffffffff
String numchars and object length can be desynchronised |
| User & Date: | pspjuth on 2006-01-20 20:58:11 |
Changes
- icomment:
Logged In: YES user_id=98900 The fault is in Tcl_GetRange. objPtr->length is not valid unless there is a string rep and Tcl_GetRange do not check if objPtr->bytes != NULL first. It would probably work with: if (objPtr->bytes != NULL && stringPtr->numChars == objPtr->length) { - login: "pspjuth"
- mimetype: "text/plain"
- username: "pspjuth"