diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-04-01 12:46:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-01 00:41:28 +0200 |
commit | dccf8c591a5bdee82ceb2ea84a9d4b47525c72b5 (patch) | |
tree | be4859bccff0d554cd0598bd26a5779164ae4232 /libavcodec/huffyuvenc.c | |
parent | bc24cf32f37cefe275d399824d5f802f7bc9ba73 (diff) | |
download | ffmpeg-dccf8c591a5bdee82ceb2ea84a9d4b47525c72b5.tar.gz |
avformat/matroskadec: avoid integer overflows in SAR computation
This ignores >64bit
Alternatively we could support that if it occurs in reality
Fixes: negation of -9223372036854775808
Fixes: integer overflows
Fixes: 46072/clusterfuzz-testcase-minimized-ffmpeg_dem_MATROSKA_fuzzer-5029840966778880
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit e6cad01122c6dea0435d042d68a56045a214492d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/huffyuvenc.c')
0 files changed, 0 insertions, 0 deletions