Skip to content

Conversation

@mrksngl
Copy link
Member

@mrksngl mrksngl commented Dec 10, 2025

The first line of the condition should exclude any downlink formats that are certainly not extended squitters.

However, x < 17 && x > 19 is semantically equivalent to false, so the if condition was effectively reduced to the remaining 2 conditions on format 18 and 19.
Specifically, it let wrong formats pass.

@fixje fixje merged commit 47e9e32 into main Dec 11, 2025
2 checks passed
@fixje
Copy link
Contributor

fixje commented Dec 11, 2025

Thank you for the contribution!

@fixje fixje deleted the fix-extended-squitter-check branch December 11, 2025 13: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.

3 participants