Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
deepch committed Jan 8, 2024
2 parents 975d994 + eaab841 commit 06a7f70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions format/mp4/mp4io/mp4io.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ func ReadFileAtoms(r io.ReadSeeker) (atoms []Atom, err error) {
return
}
size := pio.U32BE(taghdr[0:])
if size > 5242880 {
err = parseErr("len", 5242880, err)
return
}
tag := Tag(pio.U32BE(taghdr[4:]))

var atom Atom
Expand Down

0 comments on commit 06a7f70

Please sign in to comment.