diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-07-02 12:30:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-07-31 20:35:07 +0200 |
commit | 1aad8937f73f9c8cc337e3173402f47175d077e7 (patch) | |
tree | 467bb84164be5d538e3ede9e49ffca5a02cfc55f /libavcodec/mips/mpegvideo_mips.h | |
parent | bf778af1493b0814696307432763246fb53c75e7 (diff) | |
download | ffmpeg-1aad8937f73f9c8cc337e3173402f47175d077e7.tar.gz |
avcodec/apedec: Make coeffsA/B uint32_t, this avoids several cases of undefined behavior
Changing the type to an unsigned one to avoid many casts was suggested
This may be inadequate for fixing the UB on ILP64
Fixes: signed integer overflow: -1418162611 * 383 cannot be represented in type 'int'
Fixes: 15547/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5691384901664768
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mips/mpegvideo_mips.h')
0 files changed, 0 insertions, 0 deletions