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/trunk@165890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant 2008-12-19 15:05:09 +00:00
parent 79fe1aa0c6
commit 37d8f255e4
1 changed files with 1 additions and 1 deletions

View File

@ -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;