[commit] r4207 - freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml
Author: mikej Date: Mon Feb 12 14:55:12 2007 New Revision: 4207 Modified: freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c Log: avoid array out of bounds. Modified: freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c ============================================================================== --- freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c (original) +++ freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c Mon Feb 12 14:55:12 2007 @@ -203,7 +203,7 @@ 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;
participants (1)
-
Freeswitch SVN