[asterisk-commits] file: trunk r396048 - /trunk/res/res_pjsip_registrar.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 1 18:38:02 CDT 2013
Author: file
Date: Thu Aug 1 18:38:00 2013
New Revision: 396048
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=396048
Log:
Fix a crash due to performing full URI validation on a contact which only contains '*'.
(closes issue AST-1198)
Reported by: John Bigelow
Modified:
trunk/res/res_pjsip_registrar.c
Modified: trunk/res/res_pjsip_registrar.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip_registrar.c?view=diff&rev=396048&r1=396047&r2=396048
==============================================================================
--- trunk/res/res_pjsip_registrar.c (original)
+++ trunk/res/res_pjsip_registrar.c Thu Aug 1 18:38:00 2013
@@ -99,6 +99,7 @@
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);
More information about the asterisk-commits
mailing list