From 451ee5b1d409bc3ed73f54ade75fec4c017b3416 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Wed, 27 Feb 2008 17:41:40 +0000 Subject: [PATCH] Bump up the buffer by 2. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@104665 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;