From: Joshua Colp Date: Wed, 27 Feb 2008 17:41:40 +0000 (+0000) Subject: Bump up the buffer by 2. X-Git-Tag: 1.4.19~128 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=451ee5b1d409bc3ed73f54ade75fec4c017b3416;p=thirdparty%2Fasterisk.git Bump up the buffer by 2. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@104665 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/file.c b/main/file.c index 187209dc6b..2645b0bbab 100644 --- a/main/file.c +++ b/main/file.c @@ -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;