-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Unexpected IndexError exception on malformed input #194
Comments
Hi, |
I would expect an exception provided by asn1crypto. |
https://github.com/wbond/asn1crypto/blob/master/asn1crypto/core.py#L159 I expect (really not sure) that all parser errors will be some |
|
whoops :-) |
I think we can improve the parse functions to be sure to raise a ValueError |
When running the following code with the latest version of asn1crypto on the attached input in an unexpected
IndexError
exception:test.txt
The text was updated successfully, but these errors were encountered: