diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-04-16 00:41:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-06-27 17:50:47 +0200 |
commit | 3f950b866a839041d587bd5b91d25a35d85408b2 (patch) | |
tree | 920668e2822f40cfdd49b2050b87941b85691efa /compat/float/float.h | |
parent | d5ba641ff4dccaf2bd9b324397f23845d7521da5 (diff) | |
download | ffmpeg-3f950b866a839041d587bd5b91d25a35d85408b2.tar.gz |
avcodec/jpeg2000: Check stepsize before using it
Fixes: value 1.87633e+10 is outside the range of representable values of type 'int'
Fixes: Undefined behavior
Fixes: 14246/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5758393601490944
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 06ef186fa1b7329c6fe6723372a72464c998059b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'compat/float/float.h')
0 files changed, 0 insertions, 0 deletions