Bump up the buffer by 2.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@104665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2008-02-27 17:41:40 +00:00
parent 750067bd1a
commit 451ee5b1d4

View File

@@ -566,7 +566,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;