Skip to content

Fix crash during export#2477

Merged
monorkin merged 3 commits intomainfrom
fix-crash-during-export
Feb 3, 2026
Merged

Fix crash during export#2477
monorkin merged 3 commits intomainfrom
fix-crash-during-export

Conversation

@monorkin
Copy link
Contributor

@monorkin monorkin commented Feb 3, 2026

No description provided.

ZipKit creates a placeholder record when add_file is called, this record is then filled with the content that's passxed to write. But if the blob's file doesn't exist then an error is rased and the placeholder is never filled. This results in a ZIP that has a place in its catalog for the blob, but no contant for it, which makes it invalid.
@monorkin monorkin merged commit 636b109 into main Feb 3, 2026
13 checks passed
@monorkin monorkin deleted the fix-crash-during-export branch February 3, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant