Skip to content
Snippets Groups Projects
Commit 13c49f6c authored by Mark Michelson's avatar Mark Michelson
Browse files

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
parent 1d4c5794
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment