Skip to content

Commit

Permalink
fixed #2120
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Feb 16, 2022
1 parent b40fcf5 commit f0a41d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/isomedia/isom_read.c
Expand Up @@ -4316,7 +4316,7 @@ GF_Err gf_isom_apple_enum_tag(GF_ISOFile *mov, u32 idx, GF_ISOiTunesTag *out_tag
}
break;
case GF_ITAG_INT64:
if (dbox->dataSize>3) {
if (dbox->dataSize>7) {
u64 v = dbox->data[0];
v<<=8;
v |= dbox->data[1];
Expand All @@ -4337,7 +4337,7 @@ GF_Err gf_isom_apple_enum_tag(GF_ISOFile *mov, u32 idx, GF_ISOiTunesTag *out_tag
break;
case GF_ITAG_FRAC6:
case GF_ITAG_FRAC8:
if (dbox->dataSize>3) {
if (dbox->dataSize>5) {
u32 v = dbox->data[2];
v<<=8;
v |= dbox->data[3];
Expand Down

0 comments on commit f0a41d1

Please sign in to comment.