|
2001-07-19
| ||
| 23:52 | • Closed ticket [442664ffff]: Tcl_GetsObjCmd corrupts freed object plus 9 othe... artifact: 9a9ed2e1a6 user: dgp | |
| 06:11 | • New ticket [442664ffff]. artifact: 6c1bfbb525 user: nobody | |
Tcl_GetsObjCmd corrupts freed object
Closed / Duplicate442664ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-07-19 06:11:49
It appears to me that Tcl_GetsObjCmd has the potential to corrupt a freed object when objc == 3. This is because it retrieves resultPtr and then subsequently calls Tcl_ObjSetVar2, which invalidates the resultPtr object. I will attach a patch which I believe to be correct.
dgpplain2001-07-19 23:52:35
Logged In: YES user_id=80530 Duplicate of 442665.
Log in (anonymous is fine) to add a comment.