[asterisk-commits] dvossel: branch 1.6.1 r232271 - in /branches/1.6.1: ./ funcs/func_groupcount.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 2 09:44:00 CST 2009
Author: dvossel
Date: Wed Dec 2 09:43:56 2009
New Revision: 232271
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=232271
Log:
Merged revisions 232269 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r232269 | dvossel | 2009-12-02 09:42:54 -0600 (Wed, 02 Dec 2009) | 15 lines
Merged revisions 232268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r232268 | dvossel | 2009-12-02 09:41:36 -0600 (Wed, 02 Dec 2009) | 9 lines
fixes segfault in func_groupcount
closes issue #16337)
Reported by: Parantido
Patches:
issue_16337.diff uploaded by dvossel (license 671)
Tested by: Parantido, dvossel
........
................
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/funcs/func_groupcount.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/funcs/func_groupcount.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/funcs/func_groupcount.c?view=diff&rev=232271&r1=232270&r2=232271
==============================================================================
--- branches/1.6.1/funcs/func_groupcount.c (original)
+++ branches/1.6.1/funcs/func_groupcount.c Wed Dec 2 09:43:56 2009
@@ -143,6 +143,10 @@
char *data, const char *value)
{
char grpcat[256];
+
+ if (!value) {
+ return -1;
+ }
if (!ast_strlen_zero(data)) {
snprintf(grpcat, sizeof(grpcat), "%s@%s", value, data);
More information about the asterisk-commits
mailing list