aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorDale Curtis <dalecurtis@chromium.org>2018-08-30 15:18:25 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2018-11-18 02:20:44 +0100
commita72d42b80ff4a9220cb20b2231d55ada0d6b0b3b (patch)
treed97d35103bc0cf31a1fa417680cfeca427f1100f /libavcodec/ra144.c
parent368e7a0994222442a46be577f38aedc18f97aeac (diff)
downloadffmpeg-a72d42b80ff4a9220cb20b2231d55ada0d6b0b3b.tar.gz
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 <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 320b631a99a9f759fd1d5460fd4e285d184b8186) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/ra144.c')
0 files changed, 0 insertions, 0 deletions