]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Initialize array holding MixMonitor exec options
authorMatthew Jordan <mjordan@digium.com>
Tue, 24 Sep 2013 18:58:46 +0000 (18:58 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 24 Sep 2013 18:58:46 +0000 (18:58 +0000)
commit576b9b982f443d2fbf7e9687e377751c7b9789f7
tree140ea0754622e2fe120fb3984f0cf2efb7a025e2
parentc0576c7816d514bc7a7b52ad4ae401e34c7c168b
app_queue: Initialize array holding MixMonitor exec options

If the channel variable MONITOR_EXEC is set, app_queue will pass the specified
execution parameters to the MixMonitor application when a queue is recorded.
If that channel variable is not set, the buffer that holds the escaped value
was not being initialized to NULL, and so would be passed to the MixMonitor
application with garbage. Hilarity ensued as app_mixmonitor attempted to
execute gobeldy-gook.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@399681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c