Skip to content
Snippets Groups Projects
Commit 9d5017a2 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Merge commit '9d3b752f'


* commit '9d3b752f':
  graphparser: Check av_get_token() memory error

Merged-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parents a4cd057b 9d3b752f
Branches
Tags
No related merge requests found
...@@ -62,6 +62,8 @@ static char *parse_link_name(const char **buf, void *log_ctx) ...@@ -62,6 +62,8 @@ static char *parse_link_name(const char **buf, void *log_ctx)
(*buf)++; (*buf)++;
name = av_get_token(buf, "]"); name = av_get_token(buf, "]");
if (!name)
goto fail;
if (!name[0]) { if (!name[0]) {
av_log(log_ctx, AV_LOG_ERROR, av_log(log_ctx, AV_LOG_ERROR,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment