Commit c894818d authored by Ghislain MARY's avatar Ghislain MARY

Fix too small buffer and initialize it correctly.

parent 08d4af9a
......@@ -165,7 +165,7 @@ RtpSession * create_duplex_rtpsession(int loc_rtp_port, int loc_rtcp_port, bool_
void media_stream_start_ticker(MediaStream *stream) {
MSTickerParams params = {0};
char name[16];
char name[32] = {0};
if (stream->sessions.ticker) return;
snprintf(name, sizeof(name) - 1, "%s MSTicker", media_stream_type_str(stream));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment