From 46ff80d294b01ff3e780090b981027dbea6a2425 Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Tue, 23 Apr 2024 11:09:06 -0700 Subject: [PATCH] test: verify that we can read a file with a data descriptor --- src/read.rs | 12 +++++++++++- tests/data/data_descriptor.zip | Bin 0 -> 198 bytes 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 tests/data/data_descriptor.zip diff --git a/src/read.rs b/src/read.rs index bca18dbd..dac4df58 100644 --- a/src/read.rs +++ b/src/read.rs @@ -1265,7 +1265,7 @@ pub fn read_zipfile_from_stream<'a, R: Read>(reader: &'a mut R) -> ZipResultWg|>ED)Dga5FHn_^Zo_ z0<|(QeD*kd@?<#2dHqwK51AMOyxBP(Kb^XP4=BR}!~x!nOmfT!E0E