[icecast-dev] Possibly memory leak & DoS

Ricardo Galli gallir at uib.es
Sun Jan 19 12:25:53 PST 2003



I am not sure, spent all the day looking the code and couldn't find the 
problem, but the problem exists:

For each connection _without_ a source (a 404 error), about 100 bytes are 
leaked. It's easy to test:

for i in `seq 10000 `; do echo -n -e $i'\r'; \
wget -q http://HOST:8000/any_uri -O /dev/null; done; echo

After running it, you'll probably see (with "ps axl") that the program 
consumes about 1 MB more. The results are repeatable, just run it again.

Please, check if you have the same problem, I don't trust glibc2.3 very 
much. But _____if_____ it's a bug, then it is a honeypot for script 
kiddies.

Regards,


-- 
  ricardo galli       GPG id C8114D34

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Icecast-dev mailing list