Thread: 5.3.0r
View Single Post
Old 11-24-2003, 01:52 AM  
neoxed
Too much time...
 
Join Date: May 2003
Posts: 1,326
Default Bug in iTCL command iputs causes a loop

Something i found while coding...

make the file ../scripts/loop.itcl

Code:
iputs -nobuffer "lets make a loop =O"
iputs something to loop"
[Scripts]
loop = TCL ..\scripts\loop.itcl

Then type "site loop"
Quote:
site loop
200-lets make a loop =O
Connection lost: localhost
At this point, ioFTPD is running at 100% cpu usage.

When using iputs you should enclose the message in quotations, but it seems if you mix a quotation it causes a loop. Shouldn't the ITCL command just fail and leave an entry in SystemError.log
neoxed is offline   Reply With Quote