projects
/
gpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
532a7c8
)
[PATCH] fixed #1719
author
jeanlf
<jeanlf@gpac.io>
Mon, 29 Mar 2021 07:21:51 +0000
(09:21 +0200)
committer
Sebastian Ramacher
<sramacher@debian.org>
Wed, 1 Sep 2021 19:50:08 +0000
(20:50 +0100)
Gbp-Pq: Name CVE-2021-30015.patch
src/filters/reframe_av1.c
patch
|
blob
|
history
diff --git
a/src/filters/reframe_av1.c
b/src/filters/reframe_av1.c
index dd4cff4997624a0004e73bf73cc946feb5727432..67eaa743ce28036bb1a75f1858e8a663fd517284 100644
(file)
--- a/
src/filters/reframe_av1.c
+++ b/
src/filters/reframe_av1.c
@@
-718,6
+718,9
@@
static GF_Err av1dmx_parse_flush_sample(GF_Filter *filter, GF_AV1DmxCtx *ctx)
GF_FilterPacket *pck;
u8 *output;
+ if (!ctx->opid)
+ return GF_NON_COMPLIANT_BITSTREAM;
+
gf_bs_get_content_no_truncate(ctx->state.bs, &ctx->state.frame_obus, &pck_size, &ctx->state.frame_obus_alloc);
if (!pck_size) {