Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[base64] decoding input-buffers that have '\0' #12

Merged
merged 6 commits into from
Aug 26, 2021

Conversation

daminetreg
Copy link
Member

We had an issue in the decode64 function that didn't correctly decode back to buffer with the exact same number of nullptr.

@daminetreg daminetreg self-assigned this Aug 18, 2021
@daminetreg
Copy link
Member Author

Hey @pysco68 now ready for review 👍

test/base64.cpp Show resolved Hide resolved
xxhr/util.hpp Outdated Show resolved Hide resolved
Copy link
Member Author

@daminetreg daminetreg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • count before transform_width It, to avoid creating 2 copies and simplify code. Thanks

Copy link

@pysco68 pysco68 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pysco68 pysco68 merged commit ad85c4e into master Aug 26, 2021
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.

2 participants