avoid array out of bounds.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4207 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
43e50048ca
commit
88fda78ee8
|
@ -203,7 +203,7 @@ static switch_caller_extension_t *dialplan_hunt(switch_core_session_t *session,
|
||||||
switch_stream_handle_t stream = {0};
|
switch_stream_handle_t stream = {0};
|
||||||
switch_size_t encode_len = 1024, new_len = 0;
|
switch_size_t encode_len = 1024, new_len = 0;
|
||||||
char *encode_buf = NULL;
|
char *encode_buf = NULL;
|
||||||
char *prof[11] = {0}, *prof_names[11] = {0}, *e = NULL;
|
char *prof[12] = {0}, *prof_names[12] = {0}, *e = NULL;
|
||||||
switch_hash_index_t *hi;
|
switch_hash_index_t *hi;
|
||||||
uint32_t x = 0;
|
uint32_t x = 0;
|
||||||
char *alt_path = (char *) arg;
|
char *alt_path = (char *) arg;
|
||||||
|
|
Loading…
Reference in New Issue