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

Avoid generating malformed padding packets #1816

Merged
merged 2 commits into from
May 25, 2022

Conversation

lodoyun
Copy link
Contributor

@lodoyun lodoyun commented May 24, 2022

Description
The result for the calculation for the last padding packet in a burst could result below 0 when the remaining padding bytes are less than the header size in bytes.
This could create problems down the line.

[] It needs and includes Unit Tests

Changes in Client or Server public APIs

[] It includes documentation for these changes in /doc.

@lodoyun lodoyun merged commit f9fca4e into lynckia:master May 25, 2022
@lodoyun lodoyun deleted the fix/padding_packet_size branch May 25, 2022 08:31
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.

1 participant