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

sbas decode_sbstype6: avoid oob read from iodf[] #236

Merged

Conversation

ourairquality
Copy link

No expert in this area, but there appears a possibility of an oob read from iodf[] that might be best guarded against. See also tomojitakasu#747

Just guarding indexing into iodf[] in decode_sbstype6() rather than limiting sbssat->nsat in decode_sbstype1().

Seems to concur with Annex 10 3.5.4.1 of the Convention on International Civil Aviation "The [PRN] mask shall set up to 51 of the 210 PRN mask values"

Just guarding indexing into iodf[] in decode_sbstype6() rather than
limiting sbssat->nsat in decode_sbstype1().

Seems to concur with Annex 10 3.5.4.1 of the Convention on
International Civil Aviation "The [PRN] mask shall set up to 51 of the
210 PRN mask values"
@rtklibexplorer rtklibexplorer merged commit 94ad853 into rtklibexplorer:demo5 May 13, 2024
@ourairquality ourairquality deleted the sbstype6-iodf-oob-guard branch May 14, 2024 00:30
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