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

Check input string before double conversion in non negative checks #37

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

romanodanilo
Copy link
Contributor

Description

Check input string before double conversion in non negative checks

This PR follows the test on public openscenario example where reading the value "1,2" was crashing the checker execution

Now it skips the checks as the value sign cannot be interpreted if the double string is not well formed

How was the PR tested?

  1. Unit-test with sample data. All unit tests passed.
    Notes

Copy link
Contributor

@hoangtungdinh hoangtungdinh left a comment

Choose a reason for hiding this comment

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

Thanks @romanodanilo

@hoangtungdinh hoangtungdinh merged commit 9a7d059 into develop Jul 29, 2024
7 checks passed
@hoangtungdinh hoangtungdinh deleted the danilo/fix_double_conversion branch July 29, 2024 12:21
hoangtungdinh pushed a commit that referenced this pull request Jul 30, 2024
hoangtungdinh pushed a commit that referenced this pull request Aug 1, 2024
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