---
title: "Discussion on \"Dart archive: ZipDecoder accepts a corrupt zip unless you pass verify, and checks it late\" | Hashnode"
description: "Discussion on \"Dart archive: ZipDecoder accepts a corrupt zip unless you pass verify, and checks it late\". A damaged backup passed validation, then threw after the user's photos were deleted. Why ZipDecoder checks CRCs on first read, and the safe order."
url: "https://hashnode.com/posts/dart-archive-zipdecoder-verify-corrupt-zip/6b0ecd432ae48137fb76dc4a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Dart archive: ZipDecoder accepts a corrupt zip unless you pass verify, and checks it late](https://mohamedgado.hashnode.dev/dart-archive-zipdecoder-verify-corrupt-zip?utm_source=hashnode&utm_medium=feed)

A damaged backup passed validation, then threw after the user's photos were deleted. Why ZipDecoder checks CRCs on first read, and the safe order.

11h ago · 4 min read · mohamedgado.hashnode.dev  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#dart](https://hashnode.com/tag/dart)
-   [#android](https://hashnode.com/tag/android)

## Written by

[Mohamed Gado](https://hashnode.com/@mohamedgado)

@mohamedgado · Tanta, Egypt

  
[View profile](https://hashnode.com/@mohamedgado)

Staff Software Engineer · React, Next.js, React Native · Building Masareef, Rafiq & Nafis

Staff Software Engineer, 6+ years. I build React, Next.js, React Native and TypeScript apps for fintech and Arabic users, including Masareef, Rafiq and Nafis. Originals live at mohamedgado.com/writing.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
