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
1.6.0
Joshua Colp 18 years ago
parent ce29e46767
commit b21b5f5574

@ -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;

Loading…
Cancel
Save