summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2013-08-01 23:38:00 +0000
committerJoshua Colp <jcolp@digium.com>2013-08-01 23:38:00 +0000
commit63a229e3695514bbb15cd5ee4674b6b5bb580f0b (patch)
treef093e98eaf5ddfea005c9b60d2e64f21a232b2dc /res
parent23e86edf6f9c13f3281ea330b5bc1ce088e0a7e0 (diff)
Fix a crash due to performing full URI validation on a contact which only contains '*'.
(closes issue AST-1198) Reported by: John Bigelow git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r--res/res_pjsip_registrar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_pjsip_registrar.c b/res/res_pjsip_registrar.c
index b30771f0f..3613ab427 100644
--- a/res/res_pjsip_registrar.c
+++ b/res/res_pjsip_registrar.c
@@ -99,6 +99,7 @@ static int registrar_validate_contacts(const pjsip_rx_data *rdata, struct ao2_co
pjsip_endpt_release_pool(ast_sip_get_pjsip_endpoint(), details.pool);
return -1;
}
+ continue;
} else if (previous && previous->star) {
/* If there is a previous contact and it is a '*' this is a deal breaker */
pjsip_endpt_release_pool(ast_sip_get_pjsip_endpoint(), details.pool);