graphparser: Check av_get_token() memory error

CC: libav-stable@libav.org
Bug-Id: CID 1267891
pull/113/head^2
Vittorio Giovara 10 years ago
parent 5dc47a2bd5
commit 9d3b752fce
  1. 2
      libavfilter/graphparser.c

@ -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