schnaader / fairytale

encode.ru community archiver
GNU Lesser General Public License v3.0
31 stars 13 forks source link

Recursive parsing on spoof deflate streams #1

Closed loxxous closed 6 years ago

loxxous commented 6 years ago

The parser in its current state will be fooled by a file like this recurse.gz and cause an infinite loop. It's decompressed form is its compressed form, hence it'll produce an unlimited depth parse which will never end and eventually fill the ram or worse; the disk.