Skip to content

Conversation

@ChristophKaser
Copy link

There is a bug in the ascii85 encoding when the buffer to be encoded ends with null bytes and padding is applied.
The issue is that the last block will be !!!!, which is then (wrongly) replaced by z, which causes the wrong substring to be used (due to the padding).

I have added a test case for this situation.

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