.
D 2012-07-16T15:54:24
J assignee dkf
J cmimetype text/plain
J comment Where\sdo\sI\sbegin\swith\sthis\sone?\n\ntclUtil.c:\sIn\sfunction\s'UpdateStringOfEndOffset':\ntclUtil.c:3432:\swarning:\sarray\ssize\s(4)\ssmaller\sthan\sbound\slength\s(5)\ntclUtil.c:3432:\swarning:\sarray\ssize\s(4)\ssmaller\sthan\sbound\slength\s(5)\n\nLooking\sat\scommit\s[50bdab4682]\swe\scan\ssee\sa\svariety\sof\sfun\sways\sto\splay\swith\sstrings,\sat\sleast\sone\sof\swhich\sis\snot\sreally\scorrect:\nchar\sbuffer[TCL_INTEGER_SPACE\s+\ssizeof("end")\s+\s1];\n...\nmemcpy(buffer,\s"end",\ssizeof("end")\s+\s1);\n\nAnd\sother\sinteresting\sthings\slike:\n#define\sTCL_CLOCK_PREFIX_LEN\s14\s/*\s==\sstrlen("::tcl::clock::")\s*/\nmemcpy(cmdName,\s"::tcl::clock::",\sTCL_CLOCK_PREFIX_LEN);\n\nAlso,\sthe\scommit\smentions\s"More\s..."\sBut\sI\shaven't\sfound\sother\soccurrences\sof\sthese\schanges.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter stwo
J subsystem 69.\sOther
J title String\sconstants,\sstrlen\sand\ssizeof,\soh\smy
J type Bug
K 3544658fffffffffffffffffffffffffffffffff
U stwo
Z 9b22716e504a2077d5284ec1398b33f0