[svn-commits] trunk - r8133 /trunk/res/res_features.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue Jan 17 11:20:33 MST 2006
Author: mattf
Date: Tue Jan 17 12:20:33 2006
New Revision: 8133
URL: http://svn.digium.com/view/asterisk?rev=8133&view=rev
Log:
Check to see if arg is NULL before passing (#6094)
Modified:
trunk/res/res_features.c
Modified: trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_features.c?rev=8133&r1=8132&r2=8133&view=diff
==============================================================================
--- trunk/res/res_features.c (original)
+++ trunk/res/res_features.c Tue Jan 17 12:20:33 2006
@@ -1272,7 +1272,7 @@
src = chan;
else if ((monitor_exec = pbx_builtin_getvar_helper(peer, "AUTO_MONITOR")))
src = peer;
- if (src) {
+ if (monitor_app && src) {
char *tmp = ast_strdupa(monitor_exec);
if (tmp) {
pbx_exec(src, monitor_app, tmp, 1);
More information about the svn-commits
mailing list