add memset to prevent race

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6052 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-10-25 17:36:06 +00:00
parent f13b77c820
commit 2afe124ff6
1 changed files with 1 additions and 1 deletions

View File

@ -1632,7 +1632,7 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, char
file_path = switch_mprintf("%s%smsg_%s.%s", dir_path, SWITCH_PATH_SEPARATOR, uuid, profile->file_ext);
greet:
memset(buf, 0, sizeof(buf));
args.input_callback = cancel_on_dtmf;
args.buf = buf;
args.buflen = sizeof(buf);