remram44 / yoppi

An automatic FTP indexer written in Python. Inspired by Yoshi Indexer (written in PHP).
GNU General Public License v3.0
6 stars 2 forks source link

Don't loop forever #13

Closed remram44 closed 12 years ago

remram44 commented 12 years ago

A specially-crafted server of just one with loops (i.e. bound filesystems or links) could introduce recursion, thus allowing the indexer to loop forever.

Loops should be detected. Anyhow, a limit on the number of files we can find on a server has to be enforced.

madjar commented 12 years ago

Loop detection is a tedious thing, but I think max recursion depth should be enough.