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

Fix flight1parse processing exception #600

Merged
merged 4 commits into from
Jan 6, 2024

Conversation

minlp
Copy link

@minlp minlp commented Dec 6, 2023

Description

Fix flight1parse processing exception

Reference issue

Fixes #...
pion/webrtc#2629

Copy link

codecov bot commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ba72fba) 77.76% compared to head (46f9979) 77.91%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #600      +/-   ##
==========================================
+ Coverage   77.76%   77.91%   +0.15%     
==========================================
  Files         101      101              
  Lines        6439     6444       +5     
==========================================
+ Hits         5007     5021      +14     
+ Misses       1056     1050       -6     
+ Partials      376      373       -3     
Flag Coverage Δ
go 77.94% <100.00%> (+0.15%) ⬆️
wasm 63.27% <100.00%> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@adriancable adriancable self-requested a review December 20, 2023 01:11
Copy link

@adriancable adriancable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks reasonable to me.

@adriancable
Copy link

This looks good to me, although I would like another pair of eyes on it as a sanity check before merging. @cnderrauber / @davidzhao / @Sean-Der ?

Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just one question

out[t] = rawHandshake.Message
}
return seq, out, true
return seq, out, ok
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should out be nil in case it's not found through the loop?

Copy link
Member

@cnderrauber cnderrauber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@adriancable
Copy link

@minlp - can you take a look at @davidzhao's comment and push a change to your fork if needed? Then I think we can get this merged.

@minlp
Copy link
Author

minlp commented Jan 2, 2024

@minlp - can you take a look at @davidzhao's comment and push a change to your fork if needed? Then I think we can get this merged.

I have already updated the code on the fix_dtls_flight1parse_except branch.@adriancable

@adriancable
Copy link

@minlp - ok great. Please squash the commit (you can retain the original title, “Fix flight1parse processing exception) and then assuming all checks are passed I will merge. Thank you!

Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@adriancable adriancable merged commit bb54a30 into pion:master Jan 6, 2024
14 checks passed
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.

4 participants