.
D 2000-10-26T01:10:00
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s4262\sRFE\nVersion:\s8.3\nSubmitDate:\s'2000-02-28'\nLastModified:\s'2000-03-30'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sLinux\nOSVersion:\sLinux\nFixedDate:\s'2000-03-30'\nFixedInVersion:\s8.3.1\nClosedDate:\s'2000-10-25'\n\n\nName:\n\nmo\n\n\n\nCVS:\n\ntoday\s(Feb\s28)\n\n\n\nDesiredBehavior:\n\nCould\syou\sadd\sthis\spatch?\sIt\sfixes\sa\scomment\sand\sadds\ssome\smore\sdescription\n\nto\sa\sreally\sstrange\scrasher\sbug\sthat\scan\shappen\sif\sbad\sarguments\sare\n\npassed\sto\sTcl_CreateObjCommand().\sNo\sactual\scode\sis\schanged\sby\sthis\spatch.\n\n\n\nPatch:\n\nIndex:\sgeneric/tclBasic.c\n\n===================================================================\n\nRCS\sfile:\s/cvsroot/tcl/generic/tclBasic.c,v\n\nretrieving\srevision\s1.24\n\ndiff\s-u\s-r1.24\stclBasic.c\n\n---\stclBasic.c2000/01/21\s02:25:251.24\n\n+++\stclBasic.c2000/02/28\s21:24:49\n\n@@\s-2025,8\s+2025,8\s@@\n\n\s\s\s\s\sTcl_Interp\s*interp;/*\sInterpreter\sin\swhich\sto\slook\n\n\s\s*\sfor\scommand.\s*/\n\n\s\s\s\s\schar\s*cmdName;/*\sName\sof\sdesired\scommand.\s*/\n\n-\s\s\s\sTcl_CmdInfo\s*infoPtr;/*\sWhere\sto\sstore\sinformation\sabout\n\n-\s*\scommand.\s*/\n\n+\s\s\s\sTcl_CmdInfo\s*infoPtr;/*\sWhere\sto\sfind\sinformation\sto\n\n+\s*\sstore\sin\sthe\scommand.\s*/\n\n\s{\n\n\s\s\s\s\sTcl_Command\scmd;\n\n\s\s\s\s\sCommand\s*cmdPtr;\n\n@@\s-2313,6\s+2313,16\s@@\n\n\s\s*\screated\swhen\sa\scommand\swas\simported\sinto\sa\snamespace,\sthis\sclient\n\n\s\s*\sdata\swill\sbe\sa\spointer\sto\sa\sImportedCmdData\sstructure\sdescribing\n\n\s\s*\sthe\s"real"\scommand\sthat\sthis\simported\scommand\srefers\sto.\n\n+\s*/\n\n+\s\n\n+/*\n\n+\s*\sIf\syou\sare\sgetting\sa\scrash\sduring\sthe\scall\sto\sdeleteProc\sand\n\n+\s*\scmdPtr->deleteProc\sis\sa\spointer\sto\sthe\sfunction\sfree(),\sthe\n\n+\s*\smost\slikely\scause\sis\sthat\syour\sextension\sallocated\smemory\n\n+\s*\sfor\sthe\sclientData\sargument\sto\sTcl_CreateObjCommand()\swith\n\n+\s*\sthe\sckalloc()\smacro\sand\syou\sare\snow\strying\sto\sdeallocate\n\n+\s*\sthis\smemory\swith\sfree()\sinstead\sof\sckfree().\sYou\sshould\n\n+\s*\spass\sa\spointer\sto\syour\sown\smethod\sthat\scalls\sckfree().\n\n\s\s*/\n\n\s\n\n\s(*cmdPtr->deleteProc)(cmdPtr->deleteData);\n\n\n\nPatchFiles:\n\ngeneric/tclBasic.c\n\n\n\n\n\nFixed\sin\s8.3.1.\s\n--\s03/30/2000\shobbs
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Minor\scomment\sfixup,\sand\sadditional\scomment\sto\shelp\sdebug\sfr
J type Bug
K 219058ffffffffffffffffffffffffffffffffff
U nobody
Z 689afbe3cfeb48281fb99dc7d732ccb3