OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc47a2
)
graphparser: Check av_get_token() memory error
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Wed, 4 Feb 2015 14:20:58 +0000
(14:20 +0000)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Tue, 17 Feb 2015 16:27:41 +0000
(11:27 -0500)
CC: libav-stable@libav.org
Bug-Id: CID
1267891
libavfilter/graphparser.c
patch
|
blob
|
history
diff --git
a/libavfilter/graphparser.c
b/libavfilter/graphparser.c
index
e20dd62
..
d79215b
100644
(file)
--- a/
libavfilter/graphparser.c
+++ b/
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,