Commit 996fffbb authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '0bacfa8d'

* commit '0bacfa8d':
  rtmpproto: Check the buffer sizes when copying app/playpath strings

Conflicts:
	libavformat/rtmpproto.c

See: 0c2a6dab
See: 02ac3398Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 126927c5 0bacfa8d
......@@ -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)) {
......
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