[svn-commits] jrose: branch 10 r344609 - in /branches/10: ./ main/pbx.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Nov 11 09:33:12 CST 2011
Author: jrose
Date: Fri Nov 11 09:33:09 2011
New Revision: 344609
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=344609
Log:
Fix a segmentation fault when using an extension with CID matching and no CID.
Attempting to call an extension which used Caller ID matching with a channel that
has an empty caller id string would result in a segmentation fault.
(closes issue ASTERISK-18392
Reported By: Ales Zelenik
........
Merged revisions 344608 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
branches/10/ (props changed)
branches/10/main/pbx.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/pbx.c?view=diff&rev=344609&r1=344608&r2=344609
==============================================================================
--- branches/10/main/pbx.c (original)
+++ branches/10/main/pbx.c Fri Nov 11 09:33:09 2011
@@ -2614,7 +2614,7 @@
prof_id = ast_add_profile("ext_match", 0);
}
ast_mark(prof_id, 1);
- i = _extension_match_core(pattern, data, mode);
+ i = _extension_match_core(ast_strlen_zero(pattern) ? "" : pattern, ast_strlen_zero(data) ? "" : data, mode);
ast_mark(prof_id, 0);
return i;
}
More information about the svn-commits
mailing list