From: jeanlf Date: Mon, 13 Dec 2021 10:23:01 +0000 (+0100) Subject: [PATCH] fixed #1966 X-Git-Tag: archive/raspbian/1.0.1+dfsg1-4+rpi1+deb11u3^2~56 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=872dcfdfd2ed1596b366f3c919dcd784cf5fce92;p=gpac.git [PATCH] fixed #1966 Gbp-Pq: Name CVE-2021-45760.patch --- diff --git a/src/scene_manager/scene_dump.c b/src/scene_manager/scene_dump.c index ee7ef07..90b194f 100644 --- a/src/scene_manager/scene_dump.c +++ b/src/scene_manager/scene_dump.c @@ -3222,7 +3222,9 @@ static void dump_od_to_saf(GF_SceneDumper *dumper, GF_AUContext *au, u32 indent) gf_fprintf(dumper->trace, "ESID); - gf_fprintf(dumper->trace, " streamType=\"%d\" objectTypeIndication=\"%d\" timeStampResolution=\"%d\"", esd->decoderConfig->streamType, esd->decoderConfig->objectTypeIndication, au->owner->timeScale); + if (esd->decoderConfig) { + gf_fprintf(dumper->trace, " streamType=\"%d\" objectTypeIndication=\"%d\" timeStampResolution=\"%d\"", esd->decoderConfig->streamType, esd->decoderConfig->objectTypeIndication, au->owner->timeScale); + } if (au->timing) gf_fprintf(dumper->trace, " time=\""LLD"\"", au->timing); if (mux && mux->file_name) gf_fprintf(dumper->trace, " source=\"%s\"", mux->file_name); gf_fprintf(dumper->trace, "/>\n");