mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +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)
|
if (preflang == NULL)
|
||||||
preflang = "";
|
preflang = "";
|
||||||
buflen = strlen(preflang) + strlen(filename) + 2;
|
buflen = strlen(preflang) + strlen(filename) + 4;
|
||||||
buf = alloca(buflen);
|
buf = alloca(buflen);
|
||||||
if (buf == NULL)
|
if (buf == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user