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

Validate length before turning into an Int. #1375

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

thomasvl
Copy link
Collaborator

@thomasvl thomasvl commented Feb 14, 2023

This is very much an edge case, but something I noticed while working on some objc things.

@thomasvl
Copy link
Collaborator Author

Delimited isn't covered in fuzz testing, and generally decoding options aren't covered in fuzz testing. I think I've got an idea how to add the options without breaking the existing cases, I'll try to find time for that at some point.

Copy link
Member

@FranzBusch FranzBusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@thomasvl thomasvl merged commit ccc0cc7 into apple:main Feb 14, 2023
@thomasvl thomasvl deleted the long_delimited branch February 14, 2023 17:05
thomasvl added a commit to thomasvl/swift-protobuf that referenced this pull request Feb 14, 2023
thomasvl added a commit that referenced this pull request Feb 14, 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.

3 participants