Merge commit '0bacfa8d37710b904897e7cbeb8d6f96fbf75e2e'
* commit '0bacfa8d37710b904897e7cbeb8d6f96fbf75e2e': rtmpproto: Check the buffer sizes when copying app/playpath strings Conflicts: libavformat/rtmpproto.c See: 0c2a6dabced53b4df57aedf47f0c1b8233035fed See: 02ac3398eb52679301028c2fd3ebad1b6261b4da 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…
x
Reference in New Issue
Block a user