Skip to content
Tcl Source Code Artifact [a13bf543cf]
Login

Artifact [a13bf543cf]

Artifact a13bf543cf52872ab22e8b6848f7e1c1482ed581:

Manifest of check-in [a13bf543cf] - When using Tcl_SetObjLength() calls to grow and shrink the objPtr->bytes buffer, care must be taken that the value cannot possibly become pure Unicode. Calling Tcl_AppendToObj() has the possibility of making such a conversion. Bug found while valgrinding the trunk. by dgp on 2012-05-21 16:56:27.
B caff0b1e8741bc09a96e3813536f7bbc8a0a8f77
C When\susing\sTcl_SetObjLength()\scalls\sto\sgrow\sand\sshrink\sthe\sobjPtr->bytes\sbuffer,\ncare\smust\sbe\staken\sthat\sthe\svalue\scannot\spossibly\sbecome\spure\sUnicode.\s\sCalling\nTcl_AppendToObj()\shas\sthe\spossibility\sof\smaking\ssuch\sa\sconversion.\s\sBug\sfound\nwhile\svalgrinding\sthe\strunk.
D 2012-05-21T16:56:27.838
F ChangeLog 8e5fed0b39f67d9537de2d77d7df513b45c092f6
F generic/tclFileName.c 4be27ba6f3a7cb0207edc817eb838bbdc627d11c
F generic/tclPathObj.c 812f40676fda99b32e4ef216bd07772ca064b791
F tests/socket.test fa5615039eae0564ca0adce304d5742e572ba66b
P 57970151cd5414fb1b6419985a4851be7658a7a1 28e43f3b9cdf9f73d13066022ab7380487210a81
R 4fe330e8479b9b4fb87f251545ecf2e8
U dgp
Z ce5f9bf4c6711015ee29ff84babb7ddf