From 82e18770bc374d764c605872201f4d03cccfa17c Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Fri, 6 Feb 2004 05:52:03 +0000
Subject: [PATCH] Increase buffer size (1005)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 res/res_monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/res/res_monitor.c b/res/res_monitor.c
index d64b46d57e..22e365d086 100755
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -204,7 +204,7 @@ int ast_monitor_stop( struct ast_channel *chan, int need_lock )
 			}
 		}
 		if (chan->monitor->joinfiles && strlen(chan->monitor->filename_base)) {
-			char tmp[255];
+			char tmp[1024];
 			char *format = !strcasecmp(chan->monitor->format,"wav49") ? "WAV" : chan->monitor->format;
 			char *name = chan->monitor->filename_base;
 			int directory = strchr(name, '/') ? 1 : 0;
-- 
GitLab