Skip to content
Tcl Source Code Artifact [09efc28e38]
Login

Artifact [09efc28e38]

Artifact 09efc28e38c80579f04ee295678fb794053cfc87:

Ticket change [09efc28e38] - Ticket [979640ffffffffff|979640ffff] <i>Buffer overruns mixing C and Tcl environment changes</i> status still Open with 4 other changes by stevebold on 2004-12-17 19:38:15.
D 2004-12-17T19:38:15
J icomment Logged\sIn:\sYES\s\nuser_id=810219\n\nDefining\sUSE_PUTENV\sdoesn't\swork\sso\swell\son\sUNIX,\ssince\sit\s\nprevents\nscripts\sfrom\sunsetting\senvironment\svariables.\n\nI\shave\simplemented\sa\sbetter\sfix\sthat\suses\sputenv()\swhen\s\nsetting\senvironment\nvariables\sand\sdirect\senviron[]\saccess\swhen\smodifying\sthem.\n\nThis\sfixes\sthe\sbuffer\soverun\sproblem\sand\sallows\sunsetting.\s\nThe\sfix\ndoes\snot\schange\sthe\sWindows\sbehaviour,\swhere\sputenv()\scan\s\nsafely\nbe\sused\sfor\ssetting\sand\sunsetting\senvironment\svariables.\n\nThe\sfix\sis\ssubmitted\sas\s979640.patch\sand\sattached\sto\sthis\s\nbug\sreport.\nThe\spatch\swas\sderived\sfrom\s8.5a2.\sWith\sit,\sall\stests\son\s\nSolaris\spass.\nOn\sWindows\sI\ssee\stest\sfailures\son\sexpr.test\sand\swinDde.test,\nbut\sthese\soccur\swith\sor\swithout\sthe\spatch.\n\nPlease\sconsider\sincorporating\sthis\sinto\s8.5\sor\slet\sme\nknow\swhat\sfurther\swork\sis\sneeded\sto\sachieve\sa\svalid\sfix\nfor\sthis\sissue.\n\n
J login stevebold
J mimetype text/plain
J username stevebold
K 979640ffffffffffffffffffffffffffffffffff
U stevebold
Z f0341e29ca2d409509b3106f7e437405