Please sign in to comment.
Handle data descriptor record
OpenOffice-created zip archives sometimes use the "data descriptor record" to store checksums and lengths. getLocalFile now checks the general purpose bit flags to see if there is a data descriptor record; if there is, it ignores the compressed size field and instead reads data until the data descriptor record is encountered. This patch should fix problems reading ODS and other OpenOffice created zip archives. Thanks to Joel Lehtone for calling the problem to my attention.
- Loading branch information...