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

OER: fix empty length decoding, no zero padding allowed #274

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

Nicceboy
Copy link
Contributor

There was a logic bug when parsing zero padding and there was no length.

That was a cause for null string in #272 instead of None.

But after consulting the standard again, I think zero padding is not allowed even in OER in this case and whole function can be removed.
Zeros are allowed in long format.

@XAMPPRocky
Copy link
Collaborator

This now needs to be rebased to resolve conflicts.

@Nicceboy
Copy link
Contributor Author

Rebased

@XAMPPRocky
Copy link
Collaborator

Thank you for your PR!

@XAMPPRocky XAMPPRocky merged commit 0e7e82b into librasn:main Jun 21, 2024
65 checks passed
@github-actions github-actions bot mentioned this pull request Jun 21, 2024
@Nicceboy Nicceboy deleted the oer-zero-length-fix branch June 25, 2024 19:16
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.

None yet

2 participants