Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Check the fragcounter in donwlink FragDecoderProcess #1614

Open
ekleezg opened this issue Jun 19, 2024 · 0 comments
Open

Check the fragcounter in donwlink FragDecoderProcess #1614

ekleezg opened this issue Jun 19, 2024 · 0 comments

Comments

@ekleezg
Copy link

ekleezg commented Jun 19, 2024

The fragCounter is data coming from the packet, but without validation, it can cause an out-of-bounds (OOB) issue in the following code in FragDecoderProcess.

FragDecoder.FragNbMissingIndex[fragCounter - 1] = 0;

The maximum number of fragments is defined as FRAG_MAX_NB which is 21.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant