projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d4c579
)
There is the potential to copy uninitialized memory into the mixmonitor->post_process
author
Mark Michelson
<mmichelson@digium.com>
Tue, 13 Nov 2007 01:19:53 +0000
(
01:19
+0000)
committer
Mark Michelson
<mmichelson@digium.com>
Tue, 13 Nov 2007 01:19:53 +0000
(
01:19
+0000)
string. This fix prevents that.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89207
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_mixmonitor.c
patch
|
blob
|
history
diff --git
a/apps/app_mixmonitor.c
b/apps/app_mixmonitor.c
index
020386a
..
cfe40b0
100644
(file)
--- 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;