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

return EOF when reading first byte of an ASN.1 packet #35

Merged
merged 3 commits into from
Apr 5, 2023

Conversation

LeGEC
Copy link
Contributor

@LeGEC LeGEC commented Feb 2, 2021

proposed evolution for #34

LeGEC added 3 commits February 2, 2021 23:34
* remove UnexpectedEOF from readByte()
* explicitly turn EOF to UnexpectedEOF at each call site
"empty buffer" now returns EOF

fixes go-asn1-ber#34
@LeGEC
Copy link
Contributor Author

LeGEC commented Apr 27, 2021

Hello

Any chance to get this pull request reviewed ?

@LeGEC
Copy link
Contributor Author

LeGEC commented Nov 10, 2022

Hello again

Any news on the possibility to review this Pull Request ?

I think the scope of the modifications is pretty tight, and the unit tests should cover the cases we want to check

@johnweldon
Copy link
Contributor

My apologies - this PR looks very good; thank you!

@johnweldon johnweldon merged commit 6b4d4c0 into go-asn1-ber:master Apr 5, 2023
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