Skip to content

fix overflow in minmea_scan#75

Open
matthieu-c-tagheuer wants to merge 1 commit into
kosma:masterfrom
matthieu-c-tagheuer:overflow-fix
Open

fix overflow in minmea_scan#75
matthieu-c-tagheuer wants to merge 1 commit into
kosma:masterfrom
matthieu-c-tagheuer:overflow-fix

Conversation

@matthieu-c-tagheuer

Copy link
Copy Markdown

see #56

@KJ7LNW

KJ7LNW commented Feb 20, 2024

Copy link
Copy Markdown

+1. looks like an easy fix. Not sure if UART noise could end up triggering this or not, but stability is important. @kosma, can this be merged?

@chmorgan chmorgan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@matthieu-c-tagheuer @KJ7LNW it would be easier to see the root cause with a new test that causes the problem but it works because minimea is doing YYY to avoid doing bad things. I can see the check but it's unclear why scale shouldn't be larger than max 32 int / 10.

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