mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '0bacfa8d37710b904897e7cbeb8d6f96fbf75e2e'
* commit '0bacfa8d37710b904897e7cbeb8d6f96fbf75e2e': rtmpproto: Check the buffer sizes when copying app/playpath strings Conflicts: libavformat/rtmpproto.c See:0c2a6dabce
See:02ac3398eb
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
996fffbbb3
|
@ -2487,7 +2487,8 @@ reconnect:
|
|||
// Strip any further query parameters from fname
|
||||
amp = strchr(fname, '&');
|
||||
if (amp) {
|
||||
av_strlcpy(fname_buffer, fname, FFMIN(amp - fname + 1, sizeof(fname_buffer)));
|
||||
av_strlcpy(fname_buffer, fname, FFMIN(amp - fname + 1,
|
||||
sizeof(fname_buffer)));
|
||||
fname = fname_buffer;
|
||||
}
|
||||
} else if (!strncmp(path, "/ondemand/", 10)) {
|
||||
|
|
Loading…
Reference in New Issue