summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDale Curtis <[email protected]>2018-08-30 15:18:25 -0700
committerMichael Niedermayer <[email protected]>2018-11-01 00:52:46 +0100
commit1acec9bbf55b9d53c20e8d2f147458262abdc28f (patch)
tree3cba476b955f79e386738d13a95e21a8f58d986f /doc
parent7266a6d23c8943d76cf1e056671c9a8bd9902069 (diff)
avformat/mov: Error on too large stsd entry counts.
Entries are always at least 8 bytes per the parsing code, so if we see an impossible entry count avoid massive allocations. This is similar to an existing check in mov_read_stsc(). Since ff_mov_read_stsd_entries() does eof checks, an alternative approach could be to clamp the entry count to atom.size / 8. Signed-off-by: Dale Curtis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 320b631a99a9f759fd1d5460fd4e285d184b8186) Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions