: <i>concatening strings is broken when the "bytes" field of a Tcl_Obj contains invalid data and the type is not tclStringType</i> plus 6 other changes
by
.
D 2023-04-21T22:14:47.562
J assignee pooryorick
J icomment Fixed\sin\s[b699959d62].\s\sI\slooked\sinto\strying\sto\smake\sthe\sexisting\scode\sfor\sTclStringCat\swork,\sbut\sit\seventually\sbecame\sclear\sthat\sit\swould\shave\sto\smostly\sbecome\sa\sclone\sof\sTcl_AppendObjToObj()\sin\sorder\sto\swork\scorrectly.\s\sThere\sare\sa\scouple\sadded\sbenefits\sto\sthis\sfix:\s\sFirst,\sit\sreduces\sthe\snumber\sof\scode\spaths\sthat\sperform\sconcatenation.\s\sSecond,\sall\scallers\sof\sTcl_AppendObjToObj\swill\sbenefit\sfrom\sthe\sreduction\sin\sgeneration\sof\sstring\srepresentations.
J login pooryorick
J mimetype text/x-fossil-wiki
J resolution Fixed
J severity Important
J status Pending
K b3628609ad73a105f0e51435e0e0ac5b8205fad7
U pooryorick
Z 666fd92937435ddd591fe2e3ade34259