[svn-commits] jrose: branch 13 r422665 - in /branches/13: ./ main/cli.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Sep 5 12:55:38 CDT 2014


Author: jrose
Date: Fri Sep  5 12:55:35 2014
New Revision: 422665

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=422665
Log:
Call IDs: Fix appearance of call ID in core show channels when NULL

NULL call IDs were meant to appear as '(none)' but instead were showing
the contents of an uninitialized character buffer.

ASTERISK-24223
Review: https://reviewboard.asterisk.org/r/3979/
........

Merged revisions 422664 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    branches/13/   (props changed)
    branches/13/main/cli.c

Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: branches/13/main/cli.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/main/cli.c?view=diff&rev=422665&r1=422664&r2=422665
==============================================================================
--- branches/13/main/cli.c (original)
+++ branches/13/main/cli.c Fri Sep  5 12:55:35 2014
@@ -1579,6 +1579,7 @@
 	ast_translate_path_to_str(ast_channel_readtrans(chan), &read_transpath);
 
 	bridge = ast_channel_get_bridge(chan);
+	callid_buf[0] = '\0';
 	callid = ast_channel_callid(chan);
 	if (callid) {
 		ast_callid_strnprint(callid_buf, sizeof(callid_buf), callid);




More information about the svn-commits mailing list