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

Add a fail out if raw field numbers are too long. #1647

Merged
merged 1 commit into from
May 2, 2024

Conversation

thomasvl
Copy link
Collaborator

@thomasvl thomasvl commented May 2, 2024

Follow up from the comment on adding unknown field skipping.

Since there is a max field length, we can fail out if the field number is too many digits.

Added tests to also cover this.

Follow up from the comment on adding unknown field skipping.

Since there is a max field length, we can fail out if the field number is too
many digits.

Added tests to also cover this.
@thomasvl thomasvl requested a review from tbkka May 2, 2024 13:34
@thomasvl thomasvl merged commit 0d5414d into apple:main May 2, 2024
10 of 11 checks passed
@thomasvl thomasvl deleted the field_num_limits branch May 2, 2024 16:28
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