Module: libav
Branch: release/12
Commit: b4f65c050c881b4e5aa90222f995500b0ca92fd1

Author:    Martin Storsjö <mar...@martin.st>
Committer: Anton Khirnov <an...@khirnov.net>
Date:      Thu Oct 13 15:25:33 2016 +0300

rtmpproto: Lengthen the filename buffer when receiving streams

Some applications such as Adobe FME append lots of parameters
here, making it easily overflow the current limit.

Signed-off-by: Martin Storsjö <mar...@martin.st>
(cherry picked from commit d6ded94036e43a04889f4ff2813a7f7dd60b82fe)
Signed-off-by: Anton Khirnov <an...@khirnov.net>

---

 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;

_______________________________________________
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to