Merge commit '9d3b752fceb0f2a42cac7c2a1109b0629823c99f'
* commit '9d3b752fceb0f2a42cac7c2a1109b0629823c99f': graphparser: Check av_get_token() memory error Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
9d5017a20c
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user