diff options
author | David Vossel <dvossel@digium.com> | 2009-03-19 20:30:39 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2009-03-19 20:30:39 +0000 |
commit | 9d3527bddfea1aaa520090b663f64c5eebe87d75 (patch) | |
tree | bfe69fbdaeb29e969aba52d6d5974a905a327c1b /apps/app_dial.c | |
parent | 95f24283ca733cbd7c6db1c02dad838660584574 (diff) |
Merged revisions 183386 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r183386 | dvossel | 2009-03-19 14:40:07 -0500 (Thu, 19 Mar 2009) | 6 lines
Cleaning up a few things in detect disconnect patch
Initialized ast_call_feature in detect_disconnect to avoid accessing uninitialized memory. Cleaned up /param tags in features.h. No longer send dynamic features in ast_feature_detect.
issue #11583
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@183436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 56ba3de53..8f6a49ba3 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1107,7 +1107,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, static int detect_disconnect(struct ast_channel *chan, char code, struct ast_str *featurecode) { struct ast_flags features = { AST_FEATURE_DISCONNECT }; /* only concerned with disconnect feature */ - struct ast_call_feature feature; + struct ast_call_feature feature = { 0, }; int res; ast_str_append(&featurecode, 1, "%c", code); |