Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
39635c7e
Commit
39635c7e
authored
5 years ago
by
Sébastien Blin
Browse files
Options
Downloads
Patches
Plain Diff
ice: avoid segfault when ice session doesn't exist anymore
Change-Id: Ib4ede6e0c9eb8d1985d2f0273c98cbfd0433b0ba
parent
a4723c45
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/src/pjproject/rfc6544.patch
+3
-3
3 additions, 3 deletions
contrib/src/pjproject/rfc6544.patch
with
3 additions
and
3 deletions
contrib/src/pjproject/rfc6544.patch
+
3
−
3
View file @
39635c7e
...
...
@@ -1376,7 +1376,7 @@ index c51dba771..b96390613 100644
c->state == PJ_ICE_SESS_CHECK_STATE_WAITING)
{
diff --git a/pjnath/src/pjnath/ice_strans.c b/pjnath/src/pjnath/ice_strans.c
index 54ef8ba69..
21be04bfe
100644
index 54ef8ba69..
f2d0aa5ed
100644
--- a/pjnath/src/pjnath/ice_strans.c
+++ b/pjnath/src/pjnath/ice_strans.c
@@ -69,6 +69,7 @@
enum tp_type
...
...
@@ -2140,14 +2140,14 @@ index 54ef8ba69..21be04bfe 100644
+ return;
+ }
+ data = (sock_user_data *)pj_stun_sock_get_user_data(stun_sock);
+ if (data
== NULL
) {
+ if (
!
data) {
+ /* We have disassociated ourselves from the STUN socket */
+ return;
+ }
+
+ comp = data->comp;
+ ice_st = comp->ice_st;
+ if (ice_st
== NULL
) {
+ if (
!
ice_st
|| !ice_st->ice
) {
+ // Incorrect ICE
+ return;
+ }
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment