Browse Source

graphparser: Check av_get_token() memory error

CC: libav-stable@libav.org
Bug-Id: CID 1267891
tags/n2.6
Vittorio Giovara 10 years ago
parent
commit
9d3b752fce
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavfilter/graphparser.c

+ 2
- 0
libavfilter/graphparser.c View File

@@ -62,6 +62,8 @@ static char *parse_link_name(const char **buf, void *log_ctx)
(*buf)++;

name = av_get_token(buf, "]");
if (!name)
goto fail;

if (!name[0]) {
av_log(log_ctx, AV_LOG_ERROR,


Loading…
Cancel
Save