[Freeswitch-svn] [commit] r13302 - freeswitch/trunk/src

FreeSWITCH SVN mikej at freeswitch.org
Thu May 14 07:58:58 PDT 2009


Author: mikej
Date: Thu May 14 09:58:58 2009
New Revision: 13302

Log:
FSBUILD-159

Modified:
   freeswitch/trunk/src/switch_ivr.c

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Thu May 14 09:58:58 2009
@@ -725,6 +725,8 @@
 					switch_byte_t *sendbuf = NULL;
 					uint32_t sendlen = 0;
 
+					switch_assert(read_frame);
+
 					if (switch_test_flag(read_frame, SFF_CNG)) {
 						sendlen = bpf;
 						switch_assert(sendlen <= SWITCH_RECOMMENDED_BUFFER_SIZE);



More information about the Freeswitch-svn mailing list