summaryrefslogtreecommitdiff
path: root/apps/app_mixmonitor.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2007-11-13 01:19:53 +0000
committerMark Michelson <mmichelson@digium.com>2007-11-13 01:19:53 +0000
commit13c49f6cce63825b43f71e525eb443e6af76ce9c (patch)
tree47395bd6a745dfb4091088fb8bece85124624a32 /apps/app_mixmonitor.c
parent1d4c579422e5b286f4038a1180e0999cecfb25fa (diff)
There is the potential to copy uninitialized memory into the mixmonitor->post_process
string. This fix prevents that. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_mixmonitor.c')
-rw-r--r--apps/app_mixmonitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c
index 020386a0d..cfe40b01f 100644
--- a/apps/app_mixmonitor.c
+++ b/apps/app_mixmonitor.c
@@ -220,7 +220,7 @@ static void launch_monitor_thread(struct ast_channel *chan, const char *filename
{
pthread_t thread;
struct mixmonitor *mixmonitor;
- char postprocess2[1024];
+ char postprocess2[1024] = "";
size_t len;
len = sizeof(*mixmonitor) + strlen(chan->name) + strlen(filename) + 2;