[Freeswitch-svn] [commit] r5032 - freeswitch/trunk/src/mod/languages/mod_spidermonkey

Freeswitch SVN mikej at freeswitch.org
Sat Apr 28 10:48:19 EDT 2007


Author: mikej
Date: Sat Apr 28 10:48:18 2007
New Revision: 5032

Modified:
   freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c

Log:
limit callback recursion to a happy number for all.  FSCORE-6

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	Sat Apr 28 10:48:18 2007
@@ -623,7 +623,7 @@
 	return Event;
 }
 
-#define MAX_STACK_DEPTH 12
+#define MAX_STACK_DEPTH 2
 
 static switch_status_t js_common_callback(switch_core_session_t *session, void *input, switch_input_type_t itype, void *buf, unsigned int buflen)
 {



More information about the Freeswitch-svn mailing list