From: jeanlf Date: Mon, 29 Mar 2021 07:21:51 +0000 (+0200) Subject: [PATCH] fixed #1719 X-Git-Tag: archive/raspbian/1.0.1+dfsg1-4+rpi1+deb11u1~2^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e2112229c9ddda95b8517368944a680187dfeba9;p=gpac.git [PATCH] fixed #1719 Gbp-Pq: Name CVE-2021-30015.patch --- diff --git a/src/filters/reframe_av1.c b/src/filters/reframe_av1.c index dd4cff4..67eaa74 100644 --- 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) {