1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Merge commit '9d3b752fceb0f2a42cac7c2a1109b0629823c99f'

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

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-02-17 20:48:05 +01:00
commit 9d5017a20c

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,