Skip to content

[core] Added checks to prevent rogue CMD MSG to sneak thru#3323

Open
ethouris wants to merge 1 commit into
Haivision:masterfrom
ethouris:dev-fix-rogue-input-check
Open

[core] Added checks to prevent rogue CMD MSG to sneak thru#3323
ethouris wants to merge 1 commit into
Haivision:masterfrom
ethouris:dev-fix-rogue-input-check

Conversation

@ethouris
Copy link
Copy Markdown
Collaborator

  1. Added a check to ensure that every command message is aligned to 4 bytes and is at least 4 bytes long.
  2. Removed excessive checks in particular messages where it was not necessary.
  3. Updated test case with removal of cases that are prevented from upside.
  4. Added missing minimum check for ACK message beside the LITE ACK case.

@ethouris ethouris added Type: Maintenance Work required to maintain or clean up the code [core] Area: Changes in SRT library core labels May 19, 2026
@ethouris ethouris added this to the v1.5.6 milestone May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[core] Area: Changes in SRT library core Type: Maintenance Work required to maintain or clean up the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant