From b21b5f55745948f607caddc765c34294c707a178 Mon Sep 17 00:00:00 2001 From: Joshua Colp <jcolp@digium.com> Date: Wed, 27 Feb 2008 17:45:55 +0000 Subject: [PATCH] Merged revisions 104665 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r104665 | file | 2008-02-27 13:41:40 -0400 (Wed, 27 Feb 2008) | 2 lines Bump up the buffer by 2. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104687 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/file.c b/main/file.c index 7385b9bc28..7aa5031369 100644 --- a/main/file.c +++ b/main/file.c @@ -546,7 +546,7 @@ struct ast_filestream *ast_openstream_full(struct ast_channel *chan, const char } if (preflang == NULL) preflang = ""; - buflen = strlen(preflang) + strlen(filename) + 2; + buflen = strlen(preflang) + strlen(filename) + 4; buf = alloca(buflen); if (buf == NULL) return NULL; -- GitLab