[PATCH] fixed #1895
authorjeanlf <jeanlf@gpac.io>
Mon, 30 Aug 2021 14:24:05 +0000 (16:24 +0200)
committerAron Xu <aron@debian.org>
Tue, 23 May 2023 11:53:25 +0000 (12:53 +0100)
Gbp-Pq: Name CVE-2021-40571.patch

src/odf/descriptors.c

index 18ab1914dfd26dec833deeaab93fb58ccaa9571c..3ebdc7c7f6e1617f275d8a11559cf5c220a5c93d 100644 (file)
@@ -1327,6 +1327,7 @@ GF_AV1Config *gf_odf_av1_cfg_read_bs_size(GF_BitStream *bs, u32 size)
                size -= (u32) obu_size;
        }
        gf_av1_reset_state(& state, GF_TRUE);
+       gf_bs_align(bs);
        return cfg;
 #else
        return NULL;