.
D 2004-02-01T23:41:26
J assignee andreas_kupries
J cmimetype text/plain
J comment In\sunix/tclUnixChan.c,\sTcpGetOptionProc,\noptions\s-peername\sand\s-sockname.\nif\sthe\ssize\sof\sthe\shostname\sreturned\sby\sthe\ssystem\ncauses\sTcl\sto\sallocate\smemory\sfor\sTcl_DString\s'ds',\nthat\smemory\swill\snever\sbe\sfreed.\n\nI\shave\stested\sthis\swith:\nwhile\s{1}\s{fconfigure\s$sock\s-peername}\nhostname\s<=\s195\schars\s-\sok\nhostname\s>\s195\schars\s-\smemory\sleak\s\n\nPatch\sincluded\sfor\sTcl-8.4.5\n\nStu\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter stwo
J subsystem 25.\sChannel\sSystem
J title Potential\smem\sleak\sin\sTcpGetOptionProc\sif\shost\sname\stoo\slong
J type Bug
K 888777ffffffffffffffffffffffffffffffffff
U stwo
Z 6867bf69fbc10da086a6523be8f13e8a