mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user