aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-19 15:08:59 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-19 15:08:59 +0000
commit212041b7fb0e26a8875bba13fe2447f5c8cc15a7 (patch)
tree1850c4f821a0d7df4c5eeea396977a0fdc38e877 /apps
parenta1393284b24d9e60f9aff90f1fceacebf31fe8e1 (diff)
Merged revisions 165890 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r165890 | russell | 2008-12-19 09:05:09 -0600 (Fri, 19 Dec 2008) | 17 lines 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) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@165892 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_chanspy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c
index b9b7e5b58..f05a22ac0 100644
--- a/apps/app_chanspy.c
+++ b/apps/app_chanspy.c
@@ -644,7 +644,7 @@ static int common_exec(struct ast_channel *chan, struct ast_flags *flags,
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;