Commit graph

369 commits

Author SHA1 Message Date
Chris Hennick
56f9ee9ab0
Bug fix 2023-05-14 09:25:14 -07:00
Chris Hennick
dbf39339de
Wrap extra data in Rc so FileOptions and ZipFileData can be cloned faster 2023-05-14 09:20:15 -07:00
Chris Hennick
bb49f1c414
Revert "Wrap extra data in Cow so FileOptions can be cloned faster"
This reverts commit 5a477c2b3e.
2023-05-14 08:55:50 -07:00
Chris Hennick
5a477c2b3e
Wrap extra data in Cow so FileOptions can be cloned faster 2023-05-14 08:41:28 -07:00
Chris Hennick
21ff795071
Additional sanity checks on ZIP64 footer 2023-05-14 08:28:52 -07:00
Chris Hennick
ff4dee28d7
Bug fix 2023-05-13 15:38:09 -07:00
Chris Hennick
e89fa95721
Copy most attributes in deep_copy_file, and document the one we can't 2023-05-13 15:06:22 -07:00
Chris Hennick
3c0ccf48ff
Explicitly allow zero loop iterations 2023-05-13 14:55:51 -07:00
Chris Hennick
65535ffc48
Eliminate a magic number 2023-05-13 14:50:39 -07:00
Chris Hennick
bc86898cdd
Strengthen fuzzing: allow very large alignments 2023-05-13 14:47:47 -07:00
Chris Hennick
0ae9dab6ab
Bug fixes 2023-05-13 14:44:46 -07:00
Chris Hennick
ba4d6548ed
Refactor FileOptions generation using arbitrary_loop 2023-05-13 14:40:23 -07:00
Chris Hennick
a2ed77abd3
Bug fixes 2023-05-13 14:29:00 -07:00
Chris Hennick
6e4d60e0ca
Bug fixes for Arbitrary impl 2023-05-13 14:16:58 -07:00
Chris Hennick
c79f734a11
Bug fix 2023-05-13 14:11:43 -07:00
Chris Hennick
15c7958df2
Bug fix 2023-05-13 14:10:34 -07:00
Chris Hennick
e86efb24b0
Refactor: don't need to return Ok if add_extra_data failed 2023-05-13 14:05:32 -07:00
Chris Hennick
d53d2d61b6
Bug fix in Arbitrary impl 2023-05-13 14:04:17 -07:00
Chris Hennick
429b5dfa0b
Reformat 2023-05-13 14:03:02 -07:00
Chris Hennick
4faebb4468
Overhaul extra-data interface 2023-05-13 13:59:14 -07:00
Chris Hennick
92c45cf8dd
WIP: Use ZipExtraDataField 2023-05-13 11:03:35 -07:00
Chris Hennick
80f836a661
Use a struct for extra data 2023-05-13 11:02:08 -07:00
Chris Hennick
c90a8fd3cf
Reformat 2023-05-12 08:40:06 -07:00
Chris Hennick
7bc245d7aa
Restore old write test cases 2023-05-12 08:38:12 -07:00
Chris Hennick
546693a6c7
Test allowing ZIP64 magic with the sanity checks 2023-05-12 08:36:33 -07:00
Chris Hennick
5a11cbeaee
Bug fix 2023-05-11 21:02:51 -07:00
Chris Hennick
93a5be27ff
Bug fix 2023-05-11 20:49:42 -07:00
Chris Hennick
bf867c5012
Bug fix: skip invalid filenames during write fuzz 2023-05-11 19:25:32 -07:00
Chris Hennick
dc351196e2
Bug fix: don't allow writing files with certain ZIP64 magic strings in their names 2023-05-11 18:52:41 -07:00
Chris Hennick
2ad4c20681
Reformat and fix Clippy warning 2023-05-11 09:35:12 -07:00
Chris Hennick
8c6816fb33
Bug fixes: file can't be ZIP64 if CDR start is after CDR end 2023-05-11 09:33:06 -07:00
Chris Hennick
ab302b20b7
Reformat 2023-05-10 13:04:54 -07:00
Chris Hennick
7c39dbd4c2
Bug fix 2023-05-10 13:01:01 -07:00
Chris Hennick
82cd28af3c
Reformat 2023-05-10 12:55:20 -07:00
Chris Hennick
9efec6b61f
Fix merge 2023-05-10 12:53:30 -07:00
Chris Hennick
5bb40012d2
WIP: Fix upstream merge 2023-05-08 19:37:55 -07:00
Chris Hennick
89989e02a3
Reformat 2023-05-08 18:54:35 -07:00
Chris Hennick
67bfe53d65
Merge upstream version 0.6.5 2023-05-08 18:54:10 -07:00
Marli Frost
2eeb47ce56 add support for writing files with PKWARE encryption 2023-05-06 15:48:52 +01:00
Chris Hennick
6e7ff280e9
Revert "Perform an extra sanity check on ZIP64 detection"
This reverts commit 475b55df1d.
2023-05-04 20:34:44 -07:00
Chris Hennick
475b55df1d
Perform an extra sanity check on ZIP64 detection 2023-05-04 20:29:26 -07:00
Chris Hennick
44d179355c
Reformat 2023-05-04 16:35:04 -07:00
Chris Hennick
b1ac3912db
Test opening for append and creating another copy 2023-05-04 16:22:19 -07:00
Chris Hennick
6003a2cce5
Bug fix 2023-05-04 12:46:46 -07:00
Chris Hennick
b8d393a628
Bug fix 2023-05-04 12:43:28 -07:00
Chris Hennick
5e0b216320
Bug fix 2023-05-04 12:34:31 -07:00
Chris Hennick
697578b38d
Add assertions for state flags in finish_file 2023-05-04 12:26:10 -07:00
Chris Hennick
ea25dbd954
Bug fix 2023-05-04 12:23:14 -07:00
Chris Hennick
425a05e1c8
Revert "Bug fix"
This reverts commit 6e67bfcda5.
2023-05-04 12:14:30 -07:00
Chris Hennick
6e67bfcda5
Bug fix 2023-05-04 12:13:19 -07:00