rtmpproto: Lengthen the filename buffer when receiving streams
authorMartin Storsjö <martin@martin.st>
Thu, 13 Oct 2016 12:25:33 +0000 (15:25 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 14 Oct 2016 20:11:12 +0000 (23:11 +0300)
Some applications such as Adobe FME append lots of parameters
here, making it easily overflow the current limit.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpproto.c

index 6402425..8817744 100644 (file)
@@ -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;