[asterisk-commits] russell: branch 1.6.0 r108510 - in /branches/1.6.0: ./ apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Mar 13 15:36:12 CDT 2008
Author: russell
Date: Thu Mar 13 15:36:11 2008
New Revision: 108510
URL: http://svn.digium.com/view/asterisk?view=rev&rev=108510
Log:
Merged revisions 108508 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r108508 | russell | 2008-03-13 15:35:28 -0500 (Thu, 13 Mar 2008) | 2 lines
Fix a place where configuration values could cause an overflow of a buffer.
........
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/apps/app_voicemail.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/apps/app_voicemail.c?view=diff&rev=108510&r1=108509&r2=108510
==============================================================================
--- branches/1.6.0/apps/app_voicemail.c (original)
+++ branches/1.6.0/apps/app_voicemail.c Thu Mar 13 15:36:11 2008
@@ -5013,7 +5013,7 @@
if (box == NEW_FOLDER || box == OLD_FOLDER)
snprintf(spec, len, "%s%s", tmp, use_folder? imapfolder: "INBOX");
else if (box == GREETINGS_FOLDER)
- sprintf(spec, "%s%s", tmp, greetingfolder);
+ snprintf(spec, len, "%s%s", tmp, greetingfolder);
else
snprintf(spec, len, "%s%s%c%s", tmp, imapfolder, delimiter, mbox(box));
}
More information about the asterisk-commits
mailing list