]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
avoid array out of bounds.
authorMichael Jerris <mike@jerris.com>
Mon, 12 Feb 2007 19:55:12 +0000 (19:55 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 12 Feb 2007 19:55:12 +0000 (19:55 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4207 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c

index cd32d50a0830d2be4ac1023c851347cdef089d9b..bc18734ee7c6c711278259541fa6bb169a88c131 100644 (file)
@@ -203,7 +203,7 @@ static switch_caller_extension_t *dialplan_hunt(switch_core_session_t *session,
     switch_stream_handle_t stream = {0};
     switch_size_t encode_len = 1024, new_len = 0;
     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;
     uint32_t x = 0;
     char *alt_path = (char *) arg;