From patchwork Fri Oct 14 13:38:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/5] rtmpproto: Lengthen the filename buffer when receiving streams X-Patchwork-Submitter: =?utf-8?q?Martin_Storsj=C3=B6?= X-Patchwork-Id: 61705 Message-Id: <20161014133843.11941-2-martin@martin.st> To: libav-devel@libav.org Date: Fri, 14 Oct 2016 16:38:40 +0300 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= List-Id: libav development Some applications such as Adobe FME append lots of parameters here, making it easily overflow the current limit. --- libavformat/rtmpproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 6402425..8817744 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -1891,7 +1891,7 @@ static int send_invoke_response(URLContext *s, RTMPPacket *pkt) { RTMPContext *rt = s->priv_data; double seqnum; - char filename[64]; + char filename[128]; char command[64]; int stringlen; char *pchar;