[2/5] rtmpproto: Lengthen the filename buffer when receiving streams

Message ID 20161014133843.11941-2-martin@martin.st
State Committed
Commit d6ded94036e43a04889f4ff2813a7f7dd60b82fe
Headers show

Commit Message

Martin Storsjö Oct. 14, 2016, 1:38 p.m.
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(-)

Patch

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;