diff options
author | George Joseph <gjoseph@digium.com> | 2017-03-29 14:39:15 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-03-29 14:39:15 -0500 |
commit | 8e0d8cdf08e882f0b5c76f989eaf491860f8bd61 (patch) | |
tree | ea2bff7b7bc9b91a5b39a1e37850a1edb1d96a79 | |
parent | 354c69699c033ee9cd05bbfa4bf438c64a9555f0 (diff) | |
parent | a9529cbb210b7f1d280de42c74b9e3bb79e2af86 (diff) |
Merge "Add DTLS sanity check." into 13
-rw-r--r-- | res/res_pjsip_sdp_rtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c index 52ae65cc7..1bcda800f 100644 --- a/res/res_pjsip_sdp_rtp.c +++ b/res/res_pjsip_sdp_rtp.c @@ -767,7 +767,7 @@ static void apply_dtls_attrib(struct ast_sip_session_media *session_media, 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; } |