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

Split value range validation checks out of node implementation constructors #278

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

asmaloney
Copy link
Owner

This means we don't have to add more arguments to constructors like we did with the float node implementation (which was also changed).

When reading, we only call the validation if we actually read in a value for Integer, ScaledInteger, and Float nodes (see E57XmlParser.cpp).

Fixes #275

…uctors

This means we don't have to add more arguments to constructors like we did with the float node implementation (which was also changed).

When reading, we only call the validation if we actually read in a value for Integer, ScaledInteger, and Float nodes (see E57XmlParser.cpp).

Fixes #275
@asmaloney asmaloney merged commit f9cc0d2 into master Jan 11, 2024
23 checks passed
@asmaloney asmaloney deleted the value-validation branch January 11, 2024 16:41
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.

Fix potential invalid range exceptions when reading integer nodes
1 participant