[svn-commits] mmichelson: trunk r89207 - /trunk/apps/app_mixmonitor.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Nov 12 19:19:54 CST 2007
Author: mmichelson
Date: Mon Nov 12 19:19:53 2007
New Revision: 89207
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89207
Log:
There is the potential to copy uninitialized memory into the mixmonitor->post_process
string. This fix prevents that.
Modified:
trunk/apps/app_mixmonitor.c
Modified: trunk/apps/app_mixmonitor.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_mixmonitor.c?view=diff&rev=89207&r1=89206&r2=89207
==============================================================================
--- trunk/apps/app_mixmonitor.c (original)
+++ trunk/apps/app_mixmonitor.c Mon Nov 12 19:19:53 2007
@@ -220,7 +220,7 @@
{
pthread_t thread;
struct mixmonitor *mixmonitor;
- char postprocess2[1024];
+ char postprocess2[1024] = "";
size_t len;
len = sizeof(*mixmonitor) + strlen(chan->name) + strlen(filename) + 2;
More information about the svn-commits
mailing list