Dependências: zip 9 e ruzstd 0.9 (RUSTSEC-2026-0368, RUSTSEC-2026-0344 e afins)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-10-19 11:57:14 -03:00
1 parent beb83fef92
commit 143e4ff083
5 files changed
+24 -50

No files matched your search

+6 -2
View File
@@ -298,10 +298,14 @@ impl Aff4Source {
let mut entries = HashMap::new();
for i in 0..zip.len() {
let f = zip.by_index_raw(i).map_err(|e| Error::msg(e.to_string()))?;
let name = f.name().map_err(zerr)?.into_owned();
let data_start = f
.data_start()
.ok_or_else(|| Error::msg(format!("AFF4: entrada sem início de dados: {name}")))?;
entries.insert(
f.name().to_string(),
name,
Loc {
data_start: f.data_start(),
data_start,
size: f.compressed_size(),
},
);