diff options
author | Joshua Colp <jcolp@digium.com> | 2008-02-27 17:45:55 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2008-02-27 17:45:55 +0000 |
commit | b21b5f55745948f607caddc765c34294c707a178 (patch) | |
tree | dc75bd17091230ef1c89b75f582a2a6ba3b17f04 | |
parent | ce29e467670c9c844bdd4cfa055c8f3942f09fa7 (diff) |
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
-rw-r--r-- | main/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c index 7385b9bc2..7aa503136 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; |