FSBUILD-159

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13302 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-05-14 14:58:58 +00:00
parent 344e2db18b
commit 6aa139e59e
1 changed files with 2 additions and 0 deletions

View File

@ -725,6 +725,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_park(switch_core_session_t *session,
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);