Skip to content
This repository was archived by the owner on May 15, 2022. It is now read-only.

Comments

FZipFile.setContent#6

Open
emtege wants to merge 1 commit intoclaus:masterfrom
emtege:master
Open

FZipFile.setContent#6
emtege wants to merge 1 commit intoclaus:masterfrom
emtege:master

Conversation

@emtege
Copy link

@emtege emtege commented May 6, 2011

I have noticed a strange behavior when trying to substitute the content-property of FZipFile:
After applying the new ByteArray, the file represented a mix of the old and new data. I looked at the sources and realized, if the new content has a length smaller than the old, the remaining bytes from the old ByteArray will be kept because they are never cleared.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants