Sigil-Ebook / flightcrew

Automatically exported from code.google.com/p/flightcrew
GNU General Public License v3.0
34 stars 11 forks source link

Infinite Loop in Zipios #54

Closed mssalvatore closed 5 years ago

mssalvatore commented 5 years ago

FlightCrew can be sent into an infinite loop if provided with a malformed ZIP/EPUB file.

To reproduce, run flightcrew-cli --input-file hang.zip using the attached hang.zip

This issue occurs in the Zipios v1.5.9 library embedded in flightcrew. The Zipios project has released a patch that can be applied to flightcrew to resolve this issue. https://sourceforge.net/p/zipios/code-git/ci/96e26640573410709bb863b8916a8216f4c6a546/tree/infinite_loop.patch

dougmassay commented 5 years ago

Addressed with #55 , thanks.