Skip to content

Conversation

yomnes0
Copy link
Collaborator

@yomnes0 yomnes0 commented Jan 9, 2024

Added a check in srt_setsockopt so that it returns SRT_EINVPARAM when optlen is -1 (see #2845)
Added an unit test to verify this behaviour

@yomnes0 yomnes0 marked this pull request as ready for review January 11, 2024 17:42
@maxsharabayko maxsharabayko added Type: Maintenance Work required to maintain or clean up the code [core] Area: Changes in SRT library core labels Jan 12, 2024
@yomnes0 yomnes0 requested a review from maxsharabayko January 25, 2024 10:10
@codecov-commenter
Copy link

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (88c6214) 67.04% compared to head (36c41a2) 67.34%.
Report is 9 commits behind head on master.

Files Patch % Lines
srtcore/socketconfig.cpp 0.00% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2849      +/-   ##
==========================================
+ Coverage   67.04%   67.34%   +0.29%     
==========================================
  Files         102      103       +1     
  Lines       20368    20459      +91     
==========================================
+ Hits        13656    13778     +122     
+ Misses       6712     6681      -31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@maxsharabayko maxsharabayko merged commit 3dba3f4 into Haivision:master Jan 25, 2024
@yomnes0 yomnes0 deleted the optlen branch March 7, 2024 17:19
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.

4 participants