We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Documentation for decode(), which also implicitly covers Branca::decode(), states that:
decode()
Branca::decode()
If the input is not in Base62 format, it returns a BrancaError::InvalidBase62Token Result.
BrancaError::InvalidBase62Token
Prior to v0.10.0 this was not the case, instead a panic would occur:
v0.10.0
branca/src/lib.rs
Line 403 in 2fd4908
This could leave any validating instance vulnerable to potential DoS, when parsing untrusted data and unexpected panics could occur.
This behavior was corrected in 7da3274:
Line 427 in 289cf60
The text was updated successfully, but these errors were encountered:
I will file an advisory with RustSec for this issue, but will leave the decision of yanking affected versions up to @return.
Sorry, something went wrong.
No branches or pull requests
Documentation for
decode()
, which also implicitly coversBranca::decode()
, states that:Prior to
v0.10.0
this was not the case, instead a panic would occur:branca/src/lib.rs
Line 403 in 2fd4908
This could leave any validating instance vulnerable to potential DoS, when parsing untrusted data and unexpected panics could occur.
This behavior was corrected in 7da3274:
branca/src/lib.rs
Line 427 in 289cf60
The text was updated successfully, but these errors were encountered: