Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
savoirfairelinux
jami-daemon
Commits
c7fe1e29
Commit
c7fe1e29
authored
Apr 18, 2012
by
Tristan Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* #9847: fixed segfault on bad call invite
parent
f8a15842
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
daemon/src/sip/sipvoiplink.cpp
daemon/src/sip/sipvoiplink.cpp
+6
-0
No files found.
daemon/src/sip/sipvoiplink.cpp
View file @
c7fe1e29
...
...
@@ -311,6 +311,12 @@ pj_bool_t transaction_request_cb(pjsip_rx_data *rdata)
PJ_ASSERT_RETURN
(
pjsip_dlg_set_transport
(
dialog
,
tp
)
==
PJ_SUCCESS
,
1
);
if
(
!
call
->
inv
)
{
ERROR
(
"SIPVoIPLink: Call invite is not initialized"
);
delete
call
;
return
false
;
}
call
->
inv
->
mod_data
[
mod_ua_
.
id
]
=
call
;
// Check whether Replaces header is present in the request and process accordingly.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment