[svn-commits] russell: trunk r165890 - in /trunk: ./ apps/app_chanspy.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Dec 19 09:05:10 CST 2008


Author: russell
Date: Fri Dec 19 09:05:09 2008
New Revision: 165890

URL: http://svn.digium.com/view/asterisk?view=rev&rev=165890
Log:
Merged revisions 165889 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r165889 | russell | 2008-12-19 09:03:02 -0600 (Fri, 19 Dec 2008) | 9 lines

Ensure that the chanspy datastore is fully initialized.

This patch resolved some random crash issues observed by a user on a BSD system

(closes issue #14111)
Reported by: ys
Patches:
      app_chanspy.c.diff uploaded by ys (license 281)

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_chanspy.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_chanspy.c?view=diff&rev=165890&r1=165889&r2=165890
==============================================================================
--- trunk/apps/app_chanspy.c (original)
+++ trunk/apps/app_chanspy.c Fri Dec 19 09:05:09 2008
@@ -760,7 +760,7 @@
 	char *ptr;
 	int num;
 	int num_spyed_upon = 1;
-	struct chanspy_ds chanspy_ds;
+	struct chanspy_ds chanspy_ds = { 0, };
 
 	if (ast_test_flag(flags, OPTION_EXIT)) {
 		const char *c;




More information about the svn-commits mailing list