From 21012610d232c94c03414ad17df54bd370598a5f Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 19 Dec 2008 15:08:00 +0000 Subject: [PATCH] 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: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@165891 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_chanspy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 0a0972b418..54960281f1 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -543,7 +543,7 @@ static int common_exec(struct ast_channel *chan, const 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;