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
Hi, I'm going over all the dependencies in my dependency-tree with a fuzzer, and found this panic in syn:
thread 'main' panicked at 'Unrecognized literal: 6E--5458', /home/capitol/.cargo/registry/src/github.jparrowsec.cn-1ecc6299db9ec823/syn-1.0.41/src/lit.rs:955:13
6E--5458
It can be reproduced with this program:
use syn::Expr; fn main() { let s = "6E--5458"; let _ = syn::parse_str::<Expr>(s); }
I would have expected it to return an Error instead.
The text was updated successfully, but these errors were encountered:
E
Thank you! I've published syn 1.0.42 with a fix. This issue involved some bugs in proc-macro2 as well so you'll need to update both.
Sorry, something went wrong.
No branches or pull requests
Hi, I'm going over all the dependencies in my dependency-tree with a fuzzer, and found this panic in syn:
thread 'main' panicked at 'Unrecognized literal:
6E--5458
', /home/capitol/.cargo/registry/src/github.jparrowsec.cn-1ecc6299db9ec823/syn-1.0.41/src/lit.rs:955:13It can be reproduced with this program:
I would have expected it to return an Error instead.
The text was updated successfully, but these errors were encountered: