<i>crash in string object manipulation</i> status still Open with 4 other changes
by
.
D 2002-11-12T05:10:19
J icomment Logged\sIn:\sYES\s\nuser_id=32170\n\nHad\sa\scloser\slook\sat\sthe\scode.\s\sThe\sbasic\sproblem\sis\sthis:\n\nObjects\swith\sa\sUnicode\sinternal\srepresentation\scan\shave\ntheir\sstring\srepresentation\sinvalidated\s(as\swhen\smore\nUnicode\sbytes\sare\sappended\sto\sthe\sobject),\sso\sthat\n'objPtr->bytes\s==\sNULL'.\n\nIf,\sat\sthat\spoint,\seither\sTcl_SetObjLength\sor\nTcl_AttemptSetObjLength\sis\scalled,\sthe\sobject\sis\sin\sa\sbad\nstate.\sNeither\sof\sthose\sfunctions\sknows\swhat\sthey\sare\sdoing\nin\sthat\scase\s(in\sfact,\sthe\sfirst\sthing\sthey\sdo\sis\sinvalidate\nthe\sUnicode\srepresentation\swhich\sis\sterribly\swasteful!),\sand\nthey\send\sof\splacing\sthe\sobject\sin\sa\sstate\sfrom\swhich\sis\ncannot\srecover\s(both\sinternal\sand\sstring\srep\sare\sgone)..\n\nI\sdon't\shave\senough\sexpertise\sin\sthis\sarea\sto\sgo\smuch\nfurther,\sso\sI'd\sappreciate\sany\shelp.\n\n
J login vincentdarley
J mimetype text/plain
J username vincentdarley
K 635200ffffffffffffffffffffffffffffffffff
U vincentdarley
Z 857022e5f05879a8f63b5406e2699d48