[Asterisk-code-review] Add DTLS sanity check. (asterisk[13])
Richard Mudgett
asteriskteam at digium.com
Mon Mar 27 16:42:35 CDT 2017
Richard Mudgett has uploaded a new change for review. ( https://gerrit.asterisk.org/5338 )
Change subject: Add DTLS sanity check.
......................................................................
Add DTLS sanity check.
Change-Id: Ib32612cf6c7ce9213a11b9cba82f630f8cd3564b
---
M res/res_pjsip_sdp_rtp.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/38/5338/1
diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c
index 52ae65c..1bcda80 100644
--- a/res/res_pjsip_sdp_rtp.c
+++ b/res/res_pjsip_sdp_rtp.c
@@ -767,7 +767,7 @@
struct ast_rtp_engine_dtls *dtls = ast_rtp_instance_get_dtls(session_media->rtp);
pj_str_t *value;
- if (!attr->value.ptr) {
+ if (!attr->value.ptr || !dtls) {
return;
}
--
To view, visit https://gerrit.asterisk.org/5338
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib32612cf6c7ce9213a11b9cba82f630f8cd3564b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-code-review
mailing list