memset str on cache_db_sql2str

This commit is contained in:
Anthony Minessale 2011-03-25 17:05:13 -05:00
parent 159efea47c
commit b8d93de097
1 changed files with 2 additions and 0 deletions

View File

@ -606,6 +606,8 @@ SWITCH_DECLARE(char *) switch_cache_db_execute_sql2str(switch_cache_db_handle_t
if (io_mutex) switch_mutex_lock(io_mutex);
memset(str, 0, len);
switch (dbh->type) {
case SCDB_TYPE_CORE_DB:
{