projects
/
gpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11dd1ea
)
[PATCH] fixed #1955
author
jeanlf
<jeanlf@gpac.io>
Fri, 10 Dec 2021 08:10:49 +0000
(09:10 +0100)
committer
Aron Xu
<aron@debian.org>
Tue, 23 May 2023 11:53:25 +0000
(12:53 +0100)
Gbp-Pq: Name CVE-2021-45291.patch
src/scene_manager/scene_dump.c
patch
|
blob
|
history
diff --git
a/src/scene_manager/scene_dump.c
b/src/scene_manager/scene_dump.c
index 0e9f377a8a22bac86feb28b6e995c4565a964a02..ee7ef075df5055ac827343fe9bd28d4f0ea913ef 100644
(file)
--- a/
src/scene_manager/scene_dump.c
+++ b/
src/scene_manager/scene_dump.c
@@
-240,6
+240,7
@@
static void gf_dump_setup(GF_SceneDumper *sdump, GF_Descriptor *root_od)
for (i=0; i<count; i++) {
GF_LASERConfig lsrcfg;
GF_ESD *esd = (GF_ESD *)gf_list_get(iod->ESDescriptors, i);
+ if (!esd || !esd->decoderConfig) continue;
if (esd->decoderConfig->streamType != GF_STREAM_SCENE) continue;
if (esd->decoderConfig->objectTypeIndication != 0x09) continue;
if (!esd->decoderConfig->decoderSpecificInfo || !esd->decoderConfig->decoderSpecificInfo->data) continue;