Closed GoogleCodeExporter closed 9 years ago
I'll look into it, but parse needs to be called before any decompression for
every decompressor, so that is entirely normal.
Original comment by paracel...@gmail.com
on 11 Aug 2013 at 9:08
That's inconvenient :/
Just storing the description dictionaries seems to be enough for zip/rar. What
I do in my program is parse lots of files (more than I can have open at the
same time due to file descriptor limitations), and keep the description dicts.
Then at a later time I open the archive file again and decompress a containe
file.
Anyway, the other problems are mainly related with missing calling free for
memory malloced.
Original comment by gerh...@disneyresearch.com
on 11 Aug 2013 at 9:42
That usage works for a few parsers, but it is not guaranteed to work. You
should probably use a whitelist of formats for which it works. Some formats
require more information to be extracted from the file format than can be
stored in the entry dicts.
Original comment by paracel...@gmail.com
on 11 Aug 2013 at 9:57
Fixed the missing free.
Original comment by paracel...@gmail.com
on 6 Sep 2013 at 2:01
Original issue reported on code.google.com by
gerh...@disneyresearch.com
on 11 Aug 2013 at 8:54