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

Fix a crash when opening files that contain fields with no numbers #3487

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

mcy
Copy link
Member

@mcy mcy commented Nov 21, 2024

The crash is a nil dereference when creating a tag symbol, if the tag happens to be nil. This can happen if the field is missing a tag number (and under other circumstances).

@mcy mcy requested a review from doriable November 21, 2024 21:24
Copy link
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedNov 21, 2024, 9:25 PM

@mcy mcy merged commit b93d0e4 into main Nov 25, 2024
12 checks passed
@mcy mcy deleted the mcy/tag-crash branch November 25, 2024 18:04
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