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: Add check for existing array before reading #2042

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marsv024
Copy link

When parsing a proto and handling oneofs there is no check if the array actually exists before reading it, causing the code to throw errors some times.

This change add a check if the oneoffsArray exist before trying to read it.

Seems to be the samme issue as described in: #1958

When parsing a proto and handling oneofs there is no check if the
array actually exists before reading it, causing the code to throw
errors some times.

This change add a check if the oneoffsArray exist before trying to
read it.
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.

1 participant