rubyzip/test/data
Robert Haines 9c3f8254c7 Fix reading zip64 files with max length file comment.
If a zip file has a comment that is 65,535 characters long - which is a
valid length and the maximum allowable length - the initial read of the
archive fails to find the Zip64 End of Central Directory Locator and
therefore cannot read the rest of the file.

This commit fixes this by making sure that we look far enough back into
the file from the end to find this locator, and then use the
information in it to find the Zip64 End of Central Directory Record.

Test added to catch regressions.

Fixes #509.
2022-01-17 18:02:39 +00:00
..
globTest add glob support in ZipFile and ZipFileSystem, refactor existing ZipEntrySet#glob to accept block and be more memory efficient with results. 2012-05-18 21:57:19 +00:00
path_traversal Allow tilde in zip entry names 2019-03-22 16:30:25 +02:00
.gitattributes Preserve eol linefeed for text test data files 2021-06-06 14:44:20 +01:00
100000-files.zip Add a 100,000 file zip to test `count_entries`. 2021-11-20 20:02:47 +00:00
WarnInvalidDate.zip add test to check warn_invalid_date but without verification 2014-12-02 10:39:35 +03:00
file1.txt Changed directory structure 2005-02-15 21:10:20 +00:00
file1.txt.corrupt.deflatedData Encapsulate Zlib errors within DecompressionError 2020-01-26 15:34:13 +01:00
file1.txt.deflatedData Changed directory structure 2005-02-15 21:10:20 +00:00
file2.txt Changed directory structure 2005-02-15 21:10:20 +00:00
globTest.zip add glob support in ZipFile and ZipFileSystem, refactor existing ZipEntrySet#glob to accept block and be more memory efficient with results. 2012-05-18 21:57:19 +00:00
gpbit3stored.zip Detect and raise GPFBit3Error in `InputStream.get_next_entry`. 2021-06-27 21:43:03 +01:00
invalid-split.zip Raise an error on reading a split archive with `InputStream`. 2021-06-26 12:39:08 +01:00
local_extra_field.zip Add a failing test for reading local extra fields. 2020-09-20 14:41:24 +01:00
max_length_file_comment.zip Fix reading zip files with max length file comment. 2021-11-19 19:35:36 +00:00
mimetype Zip::Entry::DEFLATED was forced on every file 2014-04-23 08:42:09 +02:00
notzippedruby.rb Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00
ntfs.zip NTFS Extra Field (0x000a) support 2014-09-11 23:04:23 -07:00
oddExtraField.zip Fix exception due to calling empty? on nil. 2015-09-30 03:57:21 -04:00
osx-archive.zip Ensure `InputStream` raises `GPFBit3Error` for OSX Archive files. 2021-06-25 17:53:18 +01:00
rubycode.zip Bump version to 1.2.2 2018-08-27 09:07:21 +01:00
rubycode2.zip Changed directory structure 2005-02-15 21:10:20 +00:00
test.xls Fix TypeError: can't dup NilClass from EntrySet#dup 2015-12-19 11:26:20 +02:00
testDirectory.bin Changed directory structure 2005-02-15 21:10:20 +00:00
zip64-sample.zip Zip64 read-only support. Fix #81 2013-08-26 23:26:14 +03:00
zip64_max_length_file_comment.zip Fix reading zip64 files with max length file comment. 2022-01-17 18:02:39 +00:00
zipWithBzip2Compression.zip Add test for unsupported decompression, e.g bzip2 2020-01-26 15:34:17 +01:00
zipWithDirs.zip Changed directory structure 2005-02-15 21:10:20 +00:00
zipWithEncryption.zip Update encrypted fixtures to remove data descriptors. 2021-06-27 15:54:08 +01:00
zipWithStoredCompression.zip Make decryption generic for all compression methods 2020-01-26 15:34:17 +01:00
zipWithStoredCompressionAndEncryption.zip Update encrypted fixtures to remove data descriptors. 2021-06-27 15:54:08 +01:00