mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Merge commit 'b90adb0aba073f9c1b4abca852119947393ced4c'
* commit 'b90adb0aba073f9c1b4abca852119947393ced4c': rtsp: Make sure we don't write too many transport entries into a fixed-size array Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
10a28e8a08
@ -979,6 +979,8 @@ static void rtsp_parse_transport(RTSPMessageHeader *reply, const char *p)
|
|||||||
p++;
|
p++;
|
||||||
|
|
||||||
reply->nb_transports++;
|
reply->nb_transports++;
|
||||||
|
if (reply->nb_transports >= RTSP_MAX_TRANSPORTS)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user