Commit 626d7ef2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

RTSP: fix off-by-one buffer overflow

Close #14820
parent ba6e587a
......@@ -284,7 +284,7 @@ static int rtsp_get_answers( rtsp_client_t *rtsp )
int rtsp_send_ok( rtsp_client_t *rtsp )
{
char cseq[16];
char cseq[17];
rtsp_put( rtsp, "RTSP/1.0 200 OK" );
sprintf( cseq, "CSeq: %u", rtsp->p_private->cseq );
......
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