ffmpeg | branch: master | Timo Rothenpieler <t...@rothenpieler.org> | Thu Dec 12 20:53:51 2024 +0100| [e3836d1d05289993381f8beb8b3ef285a4be143a] | committer: Timo Rothenpieler
avformat/rtmpproto: reserve enough space for statusmsg > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e3836d1d05289993381f8beb8b3ef285a4be143a --- libavformat/rtmpproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index bb974390d3..a34020b092 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -2004,7 +2004,7 @@ static int send_invoke_response(URLContext *s, RTMPPacket *pkt) pp = spkt.data; ff_amf_write_string(&pp, "onFCPublish"); } else if (!strcmp(command, "publish")) { - char statusmsg[128]; + char statusmsg[sizeof(filename) + 32]; snprintf(statusmsg, sizeof(statusmsg), "%s is now published", filename); ret = write_begin(s); if (ret < 0) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".