diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-19 15:05:09 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-19 15:05:09 +0000 |
commit | 66e07d339af9db32398e437a2e175542b9d5d7cd (patch) | |
tree | 307c153aa03c7474f611d551475406aa08844f3c /apps/app_chanspy.c | |
parent | 83801fcf369c468cfe0c7759ddc3d6e381fb0606 (diff) |
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/trunk@165890 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_chanspy.c')
-rw-r--r-- | apps/app_chanspy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index ccde2a6fa..f537875bc 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -760,7 +760,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; |