mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
ffserver: fix NULL dereference with quoted Stream name.
This commit is contained in:
parent
a9ba9268d7
commit
26afdbcfc0
@ -4270,7 +4270,7 @@ static int parse_ffconfig(const char *filename)
|
||||
stream = av_mallocz(sizeof(FFStream));
|
||||
get_arg(stream->filename, sizeof(stream->filename), &p);
|
||||
q = strrchr(stream->filename, '>');
|
||||
if (*q)
|
||||
if (q)
|
||||
*q = '\0';
|
||||
|
||||
for (s = first_stream; s; s = s->next) {
|
||||
|
Loading…
Reference in New Issue
Block a user