-
Notifications
You must be signed in to change notification settings - Fork 118
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
Precise length checking in decode_slice
#210
Comments
Any chance this gets fixed? |
You're welcome to propose a PR. |
What's going on with pull #227? Is it stalled? It seems like it fixes a lot of issues. Let me know if I should start fresh or continue from that pull request. |
I don't know the status. Presumably the author got busy with real life, etc. Small PRs are more likely to be reviewed and merged promptly since they require smaller blocks of time to review. |
Note that this is appears to be a regression. Code used to work fine with base64 0.13 now returns an incorrect |
The changes from 0.20 to 0.21 introduced a now long-standing regression that resulted in an inability to safely decode to an exact-sized output buffer. See marshallpierce/rust-base64#210
Hm, that's not good. I'll see if I can find time to address this myself. |
Fix released in 0.22.0. |
Thanks! 🙏 |
It would be good to have the length error only emitted when we know it to be required.
The text was updated successfully, but these errors were encountered: