projects
/
gpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ab941d
)
[PATCH] fixed #2474
author
jeanlf
<jeanlf@gpac.io>
Mon, 22 May 2023 15:37:24 +0000
(17:37 +0200)
committer
Aron Xu
<aron@debian.org>
Tue, 23 May 2023 11:53:25 +0000
(12:53 +0100)
Gbp-Pq: Name CVE-2023-2840.patch
src/isomedia/movie_fragments.c
patch
|
blob
|
history
diff --git
a/src/isomedia/movie_fragments.c
b/src/isomedia/movie_fragments.c
index 8485d7273dfbcabb3e63946443d6b74cc03b98b7..3bf290ecec36b6ae5f1a02eaf00421c059f2b6a7 100644
(file)
--- a/
src/isomedia/movie_fragments.c
+++ b/
src/isomedia/movie_fragments.c
@@
-2704,7
+2704,8
@@
GF_Err gf_isom_fragment_add_sample(GF_ISOFile *movie, GF_ISOTrackID TrackID, con
//rewrite OD frames
if (traf->trex->track->Media->handler->handlerType == GF_ISOM_MEDIA_OD) {
//this may fail if dependencies are not well done ...
- Media_ParseODFrame(traf->trex->track->Media, sample, &od_sample);
+ GF_Err e = Media_ParseODFrame(traf->trex->track->Media, sample, &od_sample);
+ if (!od_sample) return e;
sample = od_sample;
}