Eggdev: long-standing filt crash?

stdarg stdarg at yahoo.com
Fri Feb 6 16:40:18 CST 2004


The latest valgrind output led me to fix a bug with filt handling in dcc_chat.
I'm not sure how long the bug has been around. Here's how you can see if your
bot is affected:

.tcl proc blah {idx text} { return [string repeat "moooo" 10000] }
.tcl bind filt - hello blah
hello

What happened was the return value of the filt bind was strcpy'd back into the
original *buf argument, with no length checking or anything. Oh well.

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html



More information about the Eggdev mailing list